4.29. Time widget class

The Time class inherits QComboBox Qt class.

Widget's input value

A string representing a time in the format defined in format. If the value is the string now the current time is used.

Widget's attributes

This attribute holds the interval in seconds between two time slices. The default is 1800.
This attribute holds the time format. The default is "hh:mm". For syntax details, see the toString function of the QTime class in Qt documentation.
This attribute holds the separator between time elements (hours, minutes, etc...). The default is ":".
This attribute defines if a "Now" entry will be available in the time selection menu. The default is True.
This attribute holds the minimum time value.
This attribute holds the maximum time value.

Widget's output value

A string representing the selected time in the format defined in format.