Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtquickcontrols-separators.qdoc
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5 \page qtquickcontrols-separators.html
6 \title Separator Controls
7 \ingroup qtquickcontrols-guidelines
8 \brief Guidelines for separator controls
9
10 Qt Quick Controls offers a selection of separators.
11
12 \annotatedlist qtquickcontrols-separators
13
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.
17
18 \section1 MenuSeparator Control
19
20 \image qtquickcontrols-menuseparator.png
21
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.
27
28 \section1 ToolSeparator Control
29
30 \image qtquickcontrols-toolseparator.png
31
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.
34
35 \section1 Related Information
36 \list
37 \li \l {Qt Quick Controls Guidelines}
38 \endlist
39*/