QML 프리뷰어 예제
QWidget::createWindowContainer()을 사용하여 Qt Widgets 애플리케이션과 QML을 혼합하는 방법을 보여줍니다.
이 예에서는 위젯 애플리케이션 내에 Qt Quick 을 임베드하는 방법과 Qt Widgets 과 Qt Quick 간에 서로 다른 UI 측면을 통합하는 방법을 보여줍니다. 여기에는 다음이 포함됩니다:
- 위젯 간 탭 포커스 및 Qt Quick
- 위젯과 위젯 사이의 드래그 앤 드롭 Qt Quick
- 임베드된 QML 파일에 정의된 바로 가기
- QQuickView 안에 임베드하기 QLayout
QWidget::createWindowContainer()도 참조하세요 .
© 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.