aboutsummaryrefslogtreecommitdiff
path: root/examples/README
blob: 945da8bbaa5303a55c2d051243d61217eeaa4261 (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
qmlviewer. You will need to inform qmlviewer of the location of the QMenuModel
if it’s not installed system-wide, e.g.:

    qmlviewer -I src examples/render-menumodel.qml