QDateEdit Class Reference [модуль QtGui]
The QDateEdit class provides a widget for editing dates based on the QDateTimeEdit widget. Далее...
#include <QDateEdit> Inherits QDateTimeEdit.
Свойства
Открытые функции
Дополнительные унаследованные члены
- 3 public slots inherited from QDateTimeEdit
- 4 public slots inherited from QAbstractSpinBox
- 19 открытых слотов, унаследованных от QWidget
- 1 открытый слот, унаследованный от QObject
- 3 signals inherited from QDateTimeEdit
- 1 signal inherited from QAbstractSpinBox
- 1 сигнал, унаследованный от QWidget
- 1 сигнал, унаследованный от QObject
- 4 статических открытых члена, унаследованных от QWidget
- 5 статических открытых членов, унаследованных от QObject
- 1 статический открытый член, унаследованный от QPaintDevice
- 3 protected functions inherited from QDateTimeEdit
- 4 protected functions inherited from QAbstractSpinBox
- 38 защищенных функций, унаследованных от QWidget
- 7 защищенных функций, унаследованных от QObject
- 1 защищённая функция, унаследованная от QPaintDevice
- 1 защищенный слот, унаследованный от QWidget
Подробное описание
The QDateEdit class provides a widget for editing dates based on the QDateTimeEdit widget.
Many of the properties and functions provided by QDateEdit are implemented in QDateTimeEdit. The following properties are most relevant to users of this class:
- date holds the date displayed by the widget.
- minimumDate defines the minimum (earliest) date that can be set by the user.
- maximumDate defines the maximum (latest) date that can be set by the user.
- displayFormat contains a string that is used to format the date displayed in the widget.
See also QTimeEdit and QDateTimeEdit.
Описание свойств
This property holds the QDate that is shown in the widget.
By default, this property contains a date referring to January 1, 2000.
Функции доступа:
- QDate date () const
- void setDate ( const QDate & date )
Описание функций-членов
QDateEdit::QDateEdit ( QWidget * parent = 0 )
Constructs an empty date editor with a parent.
QDateEdit::QDateEdit ( const QDate & date, QWidget * parent = 0 )
Constructs an empty date editor with a parent. The date is set to date.
|