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
- interval
- This attribute holds the interval in seconds between two time slices. The default is 1800.
- format
- 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.
- input_validation
- This attribute holds the separator between time elements (hours, minutes, etc...). The default is ":".
- show_now
- This attribute defines if a "Now" entry will be available in the time selection menu. The default is True.
- min
- This attribute holds the minimum time value.
- max
- This attribute holds the maximum time value.
Widget's output value
A string representing the selected time in the format defined in format.