Home · All Classes · All Functions · Overviews

QML Basic Type: action

The action type has all the properties of QAction. The properties are:

Actions are used like this:

 MouseArea { onClicked: MyItem.myaction.trigger() }
 State { name: "enabled"; when: MyItem.myaction.enabled == true }
 Text { text: MyItem.someaction.text }

See also QML Basic Types.


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.7.0