MenuSeparator QML Type
MenuSeparator provides a separator for items inside a menu. More...
Import Statement: | import QtQuick.Controls 1.4 |
Properties
Detailed Description
Menu { text: "Edit" MenuItem { text: "Cut" shortcut: "Ctrl+X" onTriggered: ... } MenuItem { text: "Copy" shortcut: "Ctrl+C" onTriggered: ... } MenuItem { text: "Paste" shortcut: "Ctrl+V" onTriggered: ... } MenuSeparator { } MenuItem { text: "Do Nothing" shortcut: "Ctrl+E,Shift+Ctrl+X" enabled: false } }
Property Documentation
This property is read-only and constant, and its value is MenuItemType.Separator
.
© 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.