diff options
author | Olivier Tilloy <olivier.tilloy@canonical.com> | 2012-10-04 13:40:02 +0200 |
---|---|---|
committer | Olivier Tilloy <olivier.tilloy@canonical.com> | 2012-10-04 13:40:02 +0200 |
commit | 445945df9d3ee9fff836d1c76b6a1d7316668775 (patch) | |
tree | 41af2f9e23da03a772818d889e90e54ab3576382 /examples/README | |
parent | 37dd62592264d4e3faf7f46d3f1ae74ed57e70ae (diff) | |
download | qmenumodel-445945df9d3ee9fff836d1c76b6a1d7316668775.tar.gz qmenumodel-445945df9d3ee9fff836d1c76b6a1d7316668775.tar.bz2 qmenumodel-445945df9d3ee9fff836d1c76b6a1d7316668775.zip |
Add examples.
Diffstat (limited to 'examples/README')
-rw-r--r-- | examples/README | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/README b/examples/README new file mode 100644 index 0000000..945da8b --- /dev/null +++ b/examples/README @@ -0,0 +1,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 + |