이 페이지에서

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도 참조하십시오 .

멤버 함수 문서

[explicit] QDateEdit::QDateEdit(QWidget *parent = nullptr)

parent 를 사용하여 빈 날짜 편집기를 생성합니다.

[explicit] QDateEdit::QDateEdit(QDate date, QWidget *parent = nullptr)

parent 를 사용하여 빈 날짜 편집기를 생성합니다. 날짜는 date 로 설정됩니다.

[virtual noexcept] QDateEdit::~QDateEdit()

소멸자.

© 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.