QGIS API Documentation 4.3.0-Master (149067ad0b9)
Loading...
Searching...
No Matches
QgsTimeZoneDialog Class Reference

A widget for selection of available time zones. More...

#include <qgsdatetimewithtimezonewidget.h>

Inheritance diagram for QgsTimeZoneDialog:

Public Slots

void setTimeZone (const QTimeZone &zone)
 Sets the current time zone to select in the dialog.

Public Member Functions

 QgsTimeZoneDialog (QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
 Constructor for QgsTimeZoneDialog.
QTimeZone timeZone () const
 Returns the selected time zone.

Detailed Description

A widget for selection of available time zones.

A dialog for selection of a time zone, along with a filter widget for searching through the available zones.

Since
QGIS 4.4

Definition at line 215 of file qgsdatetimewithtimezonewidget.h.

Constructor & Destructor Documentation

◆ QgsTimeZoneDialog()

QgsTimeZoneDialog::QgsTimeZoneDialog ( QWidget * parent = nullptr,
Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags )

Constructor for QgsTimeZoneDialog.

Definition at line 551 of file qgsdatetimewithtimezonewidget.cpp.

Member Function Documentation

◆ setTimeZone

void QgsTimeZoneDialog::setTimeZone ( const QTimeZone & zone)
slot

Sets the current time zone to select in the dialog.

See also
timeZone()

Definition at line 578 of file qgsdatetimewithtimezonewidget.cpp.

◆ timeZone()

QTimeZone QgsTimeZoneDialog::timeZone ( ) const

Returns the selected time zone.

An invalid time zone will be returned if no item is selected.

See also
setTimeZone()

Definition at line 573 of file qgsdatetimewithtimezonewidget.cpp.


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