セパレーター・コントロールズ
Qt Quick Controls は、セパレータの選択を提供します。
メニュー内の項目グループを隣接する項目から分離します。 | |
ツールバーの項目グループを隣接する項目から分離します。 |
セパレータの種類にはそれぞれ固有の使用例があります。以下のセクションでは、ユースケースに応じて適切なセパレータのタイプを選択するためのガイドラインを提供します。
メニューセパレータコントロール
MenuSeparator は、メニュー内のアイテム(通常、 コントロール)を区切るために使用します。関連するメニュー項目をグループ化することで、ユーザーがメニューを操作しやすくなります。たとえば、一般的なデスクトップユーザーインターフェースの場合、 と の項目が 1 つのグループに、 、 、 の項目が別のグループになります。MenuItem Undo
Redo
Cut
Copy
Paste
ToolSeparator コントロール
ToolSeparator は、 内の項目(通常は コントロール)を区切るために使用します。これは、水平または垂直のツールバーで使用できます。ToolBar ToolButton
関連情報
© 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.