The QTimeEdit class provides a widget for editing times based on the QDateTimeEdit widget. More...
| Header: | #include <QTimeEdit>
|
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Widgets)target_link_libraries(mytarget PRIVATE Qt6::Widgets)
|
| qmake: | QT += widgets
|
| Inherits: | QDateTimeEdit |
| QTimeEdit(QWidget *parent = nullptr) | |
| QTimeEdit(QTime time, QWidget *parent = nullptr) | |
| virtual | ~QTimeEdit() |
Many of the properties and functions provided by QTimeEdit are implemented in QDateTimeEdit. These are the relevant properties of this class:
See also QDateEdit and QDateTimeEdit.
[explicit] QTimeEdit::QTimeEdit(QWidget *parent = nullptr)
Constructs an empty time editor with a parent.
[explicit] QTimeEdit::QTimeEdit(QTime time, QWidget *parent = nullptr)
Constructs an empty time editor with a parent. The time is set to time.
[virtual noexcept] QTimeEdit::~QTimeEdit()
Destructor.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qtimeedit.html