Class: QgsTimeZoneWidget¶
A widget for selection of available time zones.
The widget consists of a list of available time zones, along with a filter widget for searching through the available zones.
Added in version 4.4.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Base class for any widget that can be shown as an inline panel. |
|
Constructor
Methods
Sets the current time zone to select in the widget. |
|
Returns the selected time zone. |
Signals
Emitted when the selected time zone is changed. |
|
Emitted when a time zone is double-clicked in the widget. |
- class qgis.gui.QgsTimeZoneWidget[source]¶
Bases:
QgsPanelWidget- __init__(parent: QWidget | None = None)¶
Constructor for QgsTimeZoneWidget, with the specified
parentwidget.- Parameters:
parent (QWidget|None = None)
- setTimeZone(self, zone: QTimeZone)[source]¶
Sets the current time zone to select in the widget.
See also
- Parameters:
zone (QTimeZone)
- timeZone(self) QTimeZone[source]¶
Returns the selected time zone.
An invalid time zone will be returned if no item is selected.
See also
- Return type:
QTimeZone