Separator Controls

Guidelines for separator controls

Qt Quick Controls offers a selection of separators.

qml-qtquick-controls2-menuseparator.html

Separates a group of items in a menu from adjacent items.

qml-qtquick-controls2-toolseparator.html

Separates a group of items in a toolbar from adjacent items.

Each type of separator has its own specific use case. The following sections offer guidelines for choosing the appropriate type of separator, depending on the use case.

ToolSeparator Control

../_images/qtquickcontrols2-toolseparator.png

ToolSeparator should be used to separate items (typically ToolButton controls) in a ToolBar . It can be used in horizontal or vertical toolbars.