QML Basic Type: actionThe action type has all the properties of QAction. The properties are:
Actions are used like this: Item { MouseArea { onClicked: myaction.trigger() } State { name: "enabled"; when: myaction.enabled == true } Text { text: someaction.text } } See also QML Basic Types. |