aboutsummaryrefslogtreecommitdiff
path: root/examples/README
blob: 1ecac0e01069ffa3fe13cde6728b94342d8bb087 (plain)
1
2
3
4
5
6
7
8
9
10
11
This directory contains examples that demonstrate how to use the QMenuModel
QML binding in applications.

To export an example menu model on the bus, run 'exportmenu.py'.

To render this menu in a QML application, run 'render-menumodel.qml' in
qmlscene. You will need to inform qmlscene of the location of the QMenuModel
plugin if it’s not installed system-wide, e.g.:

    qmlscene -I libqmenumodel examples/render-menumodel.qml