MenuGroup QML Type
Logical list of items for a menu. More...
Import Statement: | import Ubuntu.Components 1.3 |
Properties
- data : list<Object>
Signals
Methods
- addObject(Object object)
- removeObject(Object object)
Detailed Description
Example usage:
import QtQuick 2.4 import Ubuntu.Components 1.3 Menu { text: "Edit" MenuGroup { Action { text: "Undo" } Action { text: "Redo" } } MenuGroup { Action { text: "Cut" } ActionList { Action { text: "Copy" } Action { text: "Paste" } } } MenuGroup { Action { text: "Select All" } } }
Property Documentation
Signal Documentation
Signal called when the contents of the group change, including child content changes (eg. ActionList child add/remove)