NDEVR
API Documentation
TimeSpanSelector

A widget that allows the user to select a time span by choosing a start date/time and either an end date/time or a duration in hours and minutes. More...

Public Member Functions

 TimeSpanSelector (QWidget *parent=nullptr)
 Constructs a TimeSpanSelector widget.
TimeSpan timeSpan () const
 Returns the currently selected time span.

Detailed Description

A widget that allows the user to select a time span by choosing a start date/time and either an end date/time or a duration in hours and minutes.


Definition at line 51 of file TimeSpanSelector.h.

Constructor & Destructor Documentation

◆ TimeSpanSelector()

TimeSpanSelector::TimeSpanSelector ( QWidget * parent = nullptr)

Constructs a TimeSpanSelector widget.

Parameters
[in]parentThe optional parent widget.

Member Function Documentation

◆ timeSpan()

TimeSpan TimeSpanSelector::timeSpan ( ) const

Returns the currently selected time span.

Returns
The TimeSpan defined by the current start and end or duration settings.

The documentation for this class was generated from the following file: