セパレーター・コントロールズ
Qt Quick Controls は、セパレーターの選択を提供します。
メニュー内の項目グループを隣接する項目から分離する | |
ツールバーのアイテムグループを隣接するアイテムから分離する |
セパレータの各タイプには、それぞれ固有の使用例があります。以下のセクションでは、ユースケースに応じて適切なセパレータのタイプを選択するためのガイドラインを提供します。
メニューセパレータコントロール

MenuSeparator は、メニュー内のアイテム(通常、MenuItem コントロール)を区切るために使用します。関連するメニュー項目をグループ化することで、ユーザーがメニューを操作しやすくなります。例えば、一般的なデスクトップユーザインタフェースでは、Undo とRedo の項目を 1 つのグループに、Cut 、Copy 、Paste を別のグループにします。
ToolSeparator コントロール

ToolSeparator は、ToolBar 内の項目(通常はToolButton コントロール)を区切るために使用します。これは、水平または垂直のツールバーで使用できます。
関連情報
© 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.