PyDMDateTimeEdit
- class pydm.widgets.datetime.PyDMDateTimeEdit(parent=None, init_channel=None)[source]
Bases:
QDateTimeEdit
,PyDMWritableWidget
,TimeBase
- blockPastDate
Error out if user tries to set value to a date older than current.
- relative
Whether the value in milliseconds is relative to current date or if it is milliseconds since epoch.
- returnPressed
A QDateTimeEdit with support for setting the text via a PyDM Channel, or through the PyDM Rules system.
- Parameters:
parent (QWidget) – The parent widget for the Label
init_channel (str, optional) – The channel to be used by the widget.
- timeBase
Whether to use milliseconds or seconds as time base for the widget
Note
See QDateTimeEdit Documentation for all inherited properties and methods.