Frame QML Type
논리적 컨트롤 그룹을 위한 시각적 프레임. 더 보기...
상세 설명
프레임은 시각적 프레임 내에서 논리적 컨트롤 그룹을 함께 레이아웃하는 데 사용됩니다. 프레임은 자체 레이아웃을 제공하지 않으며, 예를 들어 RowLayout 또는 ColumnLayout 을 생성하여 콘텐츠를 배치해야 합니다.
프레임의 자식으로 선언된 항목은 자동으로 프레임의 contentItem 에 부모가 됩니다. 동적으로 생성된 항목은 명시적으로 contentItem에 부모를 지정해야 합니다.
프레임 내에서 하나의 항목만 사용되는 경우 포함된 항목의 암시적 크기에 맞게 크기가 조정됩니다. 따라서 레이아웃과 함께 사용하기에 특히 적합합니다.
Frame { ColumnLayout { anchors.fill: parent CheckBox { text: qsTr("E-mail") } CheckBox { text: qsTr("Calendar") } CheckBox { text: qsTr("Contacts") } } }
© 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.