Qt Quick Controls 2 offers a selection of separators.
Separates a group of items in a menu from adjacent items
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.
MenuSeparator should be used to separate items (typically MenuItem controls) in a Menu. Grouping related menu items together makes it easier for the user to interact with the menu. For example, a typical desktop user interface might have
Redo items in one group, and
Paste in another.
© 2017 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.