Qt 위젯 갤러리
Qt는 위젯 스타일과 테마를 지원하므로 응용 프로그램을 기본 데스크톱 환경에 맞출 수 있습니다.
위젯 예제는 특정 스타일을 사용하도록 구성했을 때 Qt에서 사용할 수 있는 위젯 중 일부가 어떻게 표시되는지 보여줍니다. 각 스타일은 해당 플랫폼에서만 사용할 수 있으며 플랫폼 테마에 통합되어 기본 모양과 느낌을 제공합니다. 따라서 최종 모양은 활성 테마에 따라 달라집니다.
Windows 스타일("windows")은 QWindowsStyle에서 제공합니다.
Windows Vista 스타일("windowsvista")은 QWindowsVistaStyle에서 제공합니다.
macOS 스타일("macOS")은 QMacStyle에서 제공합니다.
Fusion 스타일("fusion")은 QFusionStyle에서 제공합니다.
스타일 예제에는 다음 위젯이 표시됩니다:
- QCheckBox (1) 텍스트 레이블이 있는 체크상자를 제공합니다.
- QRadioButton (2) 텍스트 또는 픽스맵 레이블이 있는 라디오 버튼을 제공합니다.
- QPushButton (3)은 명령 버튼을 제공합니다.
- QTabWidget (4) 탭 위젯 스택을 제공합니다.
- QTableWidget (5) 클래식 항목 기반 표 보기를 제공합니다.
- QScrollBar (6)은 세로 또는 가로 스크롤 막대를 제공합니다.
- QProgressBar (7)은 가로 진행률 표시줄을 제공합니다.
- QDateTimeEdit (8)은 날짜 및 시간 편집용 위젯을 제공합니다.
- QSlider (9)는 수직 또는 수평 슬라이더를 제공합니다.
- QDial (10)은 속도계 또는 포텐셔미터와 같은 둥근 범위 컨트롤을 제공합니다.
캘린더 위젯 예시에서는 Windows 10 및 macOS에서 실행되는 몇 가지 추가 위젯을 표시합니다:
Windows 10의 캘린더 위젯 예제
macOS의 캘린더 위젯 예제
- QGroupBox (1)은 제목이 있는 그룹 상자 프레임을 제공합니다.
- QCalendarWidget (2) 날짜를 선택하는 데 사용할 수 있는 월별 캘린더 위젯을 제공합니다.
- QLabel (3) 텍스트 또는 이미지 표시를 제공합니다.
- QDateEdit (4) 날짜 편집을 위한 위젯을 제공합니다.
- QComboBox (5) 버튼과 팝업 목록이 결합된 위젯을 제공합니다.
© 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.