대화창

대화 상자는 주 창에서 작업을 계속하기 전에 사용자가 필요한 정보를 제공해야 하는 모달 방식이거나 모델리스 방식일 수 있습니다. 모델리스 대화 상자는 사용자가 응용 프로그램의 다른 창과 상호 작용하는 것을 방해하지 않습니다.

Qt는 파일, 글꼴, 색상 선택 등을 위한 일련의 기성 대화 상자를 제공합니다.

QColorDialog

색상 지정을 위한 대화 상자 위젯

QFileDialog

사용자가 파일이나 디렉터리를 선택할 수 있는 대화 상자

QFontDialog

글꼴을 선택하기 위한 대화 위젯

QInputDialog

사용자로부터 단일 값을 가져오는 간단한 편의 대화 상자

QMessageBox

사용자에게 정보를 제공하거나 사용자에게 질문하고 답변을 받기 위한 모달 대화 상자

QProgressDialog

느린 작업의 진행 상황에 대한 피드백

사용자 정의 대화 상자는 일반 위젯을 QDialog 에 구성하여 쉽게 만들 수 있습니다. 이 클래스는 사용자 정의 대화 상자를 만들기 위해 특별히 설계되었습니다:

QDialog

대화창의 기본 클래스

QDialogButtonBox

현재 위젯 스타일에 적합한 레이아웃으로 버튼을 표시하는 위젯

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