레이아웃 예시

가로, 격자 및 양식 레이아웃 유형을 보여주는 대화 상자

Qt는 위젯 관리를 위해 레이아웃 기반의 접근 방식을 사용합니다. 위젯은 간단한 레이아웃 규칙에 따라 창 내에서 최적의 위치에 배치되어 일관된 외관과 느낌을 제공합니다. 사용자 정의 레이아웃을 사용하면 자식 위젯의 위치와 크기를 더욱 세밀하게 제어할 수 있습니다.

이 Qt 예제들은 레이아웃 내에서 위젯을 배치하는 다양한 방법을 보여줍니다.

'레이아웃 관리'항목도 참조하십시오 .

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