Qt Quick Controls - 갤러리
컨트롤 갤러리.
시작 화면 |
사이드 서랍 |
옵션 메뉴 |
갤러리 예제는 서랍 메뉴가 있는 간단한 애플리케이션으로, 모든 Qt Quick Controls. 각 메뉴 항목은 컨트롤의 그래픽 모양을 보여주고, 컨트롤과 상호 작용할 수 있으며, 어떤 상황에서 이 컨트롤을 사용하는 것이 편리한지 설명하는 페이지를 엽니다.
애플리케이션이 세로 모드일 때 서랍은 왼쪽 가장자리에서 스와이프하여 열 수 있는 대화형 사이드 패널입니다. 콘텐츠 위에 표시되며 모달 배경을 통해 사용자 상호 작용을 차단합니다. 애플리케이션이 가로 모드일 때는 서랍과 콘텐츠가 나란히 배치됩니다.
애플리케이션의 현재 방향은 설정에서 창의 너비와 높이 및 방향 모드 구성을 비교하여 결정됩니다:
readonly property bool portraitMode: !orientationCheckBox.checked || window.width < window.height
이 예제는 모든 기본 제공 Qt Quick Controls 스타일을 지원하므로 런타임 스타일 선택을 사용합니다.
예제 실행하기
에서 예제를 실행하려면 Qt Creator에서 Welcome 모드를 열고 Examples 에서 예제를 선택합니다. 자세한 내용은 예제 빌드 및 실행하기를 참조하세요.
© 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.