ToolSeparator QML Type
툴바의 항목 그룹을 인접한 항목과 분리합니다. 더 보기...
Import Statement: | import QtQuick.Controls |
Inherits: |
속성
- horizontal : bool
- orientation : enumeration
- vertical : bool
상세 설명
도구 모음에서 항목 그룹을 선으로 구분하여 시각적으로 구분하는 데 사용되는 도구 분리기입니다. orientation 속성을 각각 Qt.Vertical
또는 Qt.Horizontal
로 설정하여 가로 또는 세로 도구 모음에서 사용할 수 있습니다.
ToolBar { RowLayout { anchors.fill: parent ToolButton { text: qsTr("Action 1") } ToolButton { text: qsTr("Action 2") } ToolSeparator {} ToolButton { text: qsTr("Action 3") } ToolButton { text: qsTr("Action 4") } ToolSeparator {} ToolButton { text: qsTr("Action 5") } ToolButton { text: qsTr("Action 6") } Item { Layout.fillWidth: true } } }
도구 구분자 및 구분자 컨트롤사용자 지정하기를참조하세요 .
속성 문서
horizontal : bool |
이 속성은 orientation 이 Qt.Horizontal
과 같은지 여부를 보유합니다.
ToolSeparator를 사용자 지정하는 데 유용합니다.
orientation 및 vertical도 참조하십시오 .
orientation : enumeration |
이 속성은 도구 구분 기호의 방향을 보유합니다.
가능한 값은 다음과 같습니다:
Constant | 설명 |
---|---|
Qt.Horizontal | 세로 도구 모음에는 가로 구분 기호가 사용됩니다. |
Qt.Vertical | 가로 도구 모음에는 세로 구분 기호가 사용됩니다. (기본값) |
vertical : bool |
이 속성은 orientation 이 Qt.Vertical
과 같은지 여부를 보유합니다.
이 속성은 도구 구분 기호를 사용자 지정하는 데 유용합니다.
orientation 및 horizontal 을참조하세요 .
© 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.