セパレータコントロール

Qt Quick コントロールは、セパレータの選択を提供します。

MenuSeparator

メニュー内の項目グループを隣接する項目から分離します。

ToolSeparator

ツールバーのアイテムグループを隣接するアイテムから分離する

セパレータにはそれぞれ固有の使用例があります。以下のセクションでは、ユースケースに応じて適切なセパレータのタイプを選択するためのガイドラインを提供します。

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.