QDateEdit Class
QDateEdit 클래스는 QDateTimeEdit 위젯을 기반으로 날짜를 편집할 수 있는 위젯을 제공합니다. 더 보기...
헤더: | #include <QDateEdit> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Widgets) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
qmake: | QT += widgets |
상속합니다: | QDateTimeEdit |
공용 함수
QDateEdit(QWidget *parent = nullptr) | |
QDateEdit(QDate date, QWidget *parent = nullptr) | |
virtual | ~QDateEdit() |
자세한 설명
QDateEdit에서 제공하는 많은 프로퍼티와 함수는 QDateTimeEdit 에서 구현됩니다. 다음은 이 클래스의 관련 프로퍼티입니다:
- date 위젯에 표시되는 날짜를 보유합니다.
- minimumDate 사용자가 설정할 수 있는 최소(가장 이른) 날짜를 정의합니다.
- maximumDate 사용자가 설정할 수 있는 최대(최신) 날짜를 정의합니다.
- displayFormat 위젯에 표시되는 날짜의 형식을 지정하는 데 사용되는 문자열을 포함합니다.
QTimeEdit 및 QDateTimeEdit 을참조하세요 .
© 2025 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.