1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
5 \page qtquickcontrols-separators.html
6 \title Separator Controls
7 \ingroup qtquickcontrols-guidelines
8 \brief Guidelines for separator controls
10 Qt Quick Controls offers a selection of separators.
12 \annotatedlist qtquickcontrols-separators
14 Each type of separator has its own specific use case. The following
15 sections offer guidelines for choosing the appropriate type of separator,
16 depending on the use case.
18 \section1 MenuSeparator Control
20 \image qtquickcontrols-menuseparator.png
22 \l MenuSeparator should be used to separate items (typically MenuItem
23 controls) in a Menu. Grouping related menu items together makes it easier
24 for the user to interact with the menu. For example, a typical desktop
25 user interface might have \c Undo and \c Redo items in one group, and
26 \c Cut, \c Copy and \c Paste in another.
28 \section1 ToolSeparator Control
30 \image qtquickcontrols-toolseparator.png
32 \l ToolSeparator should be used to separate items (typically ToolButton
33 controls) in a ToolBar. It can be used in horizontal or vertical toolbars.
35 \section1 Related Information
37 \li \l {Qt Quick Controls Guidelines}