QTimeEdit Class Reference [модуль QtGui]
The QTimeEdit class provides a widget for editing times based on the QDateTimeEdit widget. Далее...
#include <QTimeEdit> 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 QTimeEdit class provides a widget for editing times based on the QDateTimeEdit widget.
Many of the properties and functions provided by QTimeEdit are implemented in QDateTimeEdit. The following properties are most relevant to users of this class:
- time holds the date displayed by the widget.
- minimumTime defines the minimum (earliest) time that can be set by the user.
- maximumTime defines the maximum (latest) time that can be set by the user.
- displayFormat contains a string that is used to format the time displayed in the widget.
See also QDateEdit and QDateTimeEdit.
Описание свойств
This property holds the QTime that is shown in the widget.
By default, this property contains a time of 00:00:00 and 0 milliseconds.
Функции доступа:
- QTime time () const
- void setTime ( const QTime & time )
Описание функций-членов
QTimeEdit::QTimeEdit ( QWidget * parent = 0 )
Constructs an empty time editor with a parent.
QTimeEdit::QTimeEdit ( const QTime & time, QWidget * parent = 0 )
Constructs an empty time editor with a parent. The time is set to time.
|