|
QGIS API Documentation 4.3.0-Master (149067ad0b9)
|
A date time widget with time zone control. More...
#include <qgsdatetimewithtimezonewidget.h>

Public Slots | |
| void | setDateTime (const QDateTime &dateTime) |
| Sets the date time to show in the widget. | |
Signals | |
| void | dateTimeChanged (const QDateTime &dateTime) |
| Emitted whenever the date time shown in the widget is changed. | |
Public Member Functions | |
| QgsDateTimeWithTimeZoneWidget (QWidget *parent=nullptr) | |
| Constructor for QgsDateTimeWithTimeZoneWidget, with the specified parent widget. | |
| QDateTime | dateTime () const |
| Returns the date time shown in the widget, with corresponding time zone set. | |
| QgsDateTimeEdit * | dateTimeEdit () |
| Returns the date time edit portion of the widget. | |
| QString | dialogTitle () const |
| Returns the title for the time zone selector dialog window. | |
| void | setDialogTitle (const QString &title) |
| Sets the title for the time zone selector dialog window. | |
| QgsTimeZoneComboBox * | timeZoneComboBox () |
| Returns the time zone combo box portion of the widget. | |
A date time widget with time zone control.
Definition at line 391 of file qgsdatetimewithtimezonewidget.h.
|
explicit |
Constructor for QgsDateTimeWithTimeZoneWidget, with the specified parent widget.
Definition at line 587 of file qgsdatetimewithtimezonewidget.cpp.
| QDateTime QgsDateTimeWithTimeZoneWidget::dateTime | ( | ) | const |
Returns the date time shown in the widget, with corresponding time zone set.
Definition at line 633 of file qgsdatetimewithtimezonewidget.cpp.
|
signal |
Emitted whenever the date time shown in the widget is changed.
| QgsDateTimeEdit * QgsDateTimeWithTimeZoneWidget::dateTimeEdit | ( | ) |
Returns the date time edit portion of the widget.
Definition at line 613 of file qgsdatetimewithtimezonewidget.cpp.
| QString QgsDateTimeWithTimeZoneWidget::dialogTitle | ( | ) | const |
Returns the title for the time zone selector dialog window.
Definition at line 628 of file qgsdatetimewithtimezonewidget.cpp.
|
slot |
Sets the date time to show in the widget.
The time zone will be automatically set to match the time zone of this date time value.
Definition at line 640 of file qgsdatetimewithtimezonewidget.cpp.
| void QgsDateTimeWithTimeZoneWidget::setDialogTitle | ( | const QString & | title | ) |
Sets the title for the time zone selector dialog window.
Definition at line 623 of file qgsdatetimewithtimezonewidget.cpp.
| QgsTimeZoneComboBox * QgsDateTimeWithTimeZoneWidget::timeZoneComboBox | ( | ) |
Returns the time zone combo box portion of the widget.
Definition at line 618 of file qgsdatetimewithtimezonewidget.cpp.