The PySide.QtGui.QDateEdit class provides a widget for editing dates based on the PySide.QtGui.QDateTimeEdit widget.
Many of the properties and functions provided by PySide.QtGui.QDateEdit are implemented in PySide.QtGui.QDateTimeEdit . The following properties are most relevant to users of this class:
- PySide.QtGui.QDateTimeEdit.date() holds the date displayed by the widget.
- PySide.QtGui.QDateTimeEdit.minimumDate() defines the minimum (earliest) date that can be set by the user.
- PySide.QtGui.QDateTimeEdit.maximumDate() defines the maximum (latest) date that can be set by the user.
- PySide.QtGui.QDateTimeEdit.displayFormat() contains a string that is used to format the date displayed in the widget.
A date editing widget shown in the Windows XP widget style . A date editing widget shown in the Macintosh widget style . A date editing widget shown in the Plastique widget style .
Parameters: |
|
---|
Constructs an empty date editor with a parent .
Constructs an empty date editor with a parent . The date is set to date .