41 class TimeSpanSelectorUI;
68 QDateTime startDateTime()
const;
71 QDateTime endDateTime()
const;
74 qint64 durationSeconds()
const;
80 void startChanged(
const QDateTime&);
83 void endChanged(
const QDateTime&);
86 void spanChanged(
int);
89 enum class Mode { Span, End }
91 QDateTimeEdit* m_start;
95 QRadioButton* m_radioSpan;
96 QRadioButton* m_radioEnd;
TimeSpan timeSpan() const
Returns the currently selected time span.
TimeSpanSelector(QWidget *parent=nullptr)
Constructs a TimeSpanSelector widget.
Stores a time span, or difference between two times, with an optional start time.
The primary namespace for the NDEVR SDK.