QTimeEdit Class
QTimeEdit クラスは、QDateTimeEdit ウィジェットをベースにした、時刻を編集するためのウィジェットを提供します。詳細...
| ヘッダー: | #include <QTimeEdit> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Widgets) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
| qmake: | QT += widgets |
| 継承元: | QDateTimeEdit |
パブリック関数
| QTimeEdit(QWidget *parent = nullptr) | |
| QTimeEdit(QTime time, QWidget *parent = nullptr) | |
| virtual | ~QTimeEdit() |
詳細な説明

QTimeEditが提供するプロパティや関数の多くは、QDateTimeEdit で実装されています。このクラスの関連するプロパティは以下の通りです:
- time ウィジェットに表示される時刻を保持します。
- minimumTime ユーザーが設定できる最小(最も早い)時刻を定義します。
- maximumTime ユーザーが設定できる最大(最も遅い)時刻を定義します。
- displayFormat ウィジェットに表示される時刻の書式設定に使用される文字列を格納します。
QDateEdit およびQDateTimeEditも参照してください 。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.