QDateEditclass provides a widget for editing dates based on theQDateTimeEdit小部件。 更多 …
![]()
Many of the properties and functions provided by
QDateEditare implemented inQDateTimeEdit。这些是此类的相关特性:
dateholds the date displayed by the widget.
minimumDatedefines the minimum (earliest) date that can be set by the user.
maximumDatedefines the maximum (latest) date that can be set by the user.
displayFormatcontains a string that is used to format the date displayed in the widget.另请参阅
QDateEdit
(
[
parent=None
]
)
¶
QDateEdit(date[, parent=None])
- param date
QDate- param parent
构造空日期编辑器采用
parent
.
构造空日期编辑器采用
parent
。日期设置为
date
.
PySide2.QtWidgets.QDateEdit.
userDateChanged
(
date
)
¶
date
–
QDate