blob: c2516e318aea1ecc5a047fa4205a301c1294bf6f (
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 libqmenumodel examples/render-menumodel.qml
|