aboutsummaryrefslogtreecommitdiff
path: root/examples/SubMenu.qml
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-09-05 16:15:39 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-09-05 16:15:39 -0300
commit0dfd3d4cd4214a732e4a5cda59fd4dfc082b8425 (patch)
treea4d1d4e876e31a1265581ee89c673eb66aaaae8d /examples/SubMenu.qml
downloadqmenumodel-0dfd3d4cd4214a732e4a5cda59fd4dfc082b8425.tar.gz
qmenumodel-0dfd3d4cd4214a732e4a5cda59fd4dfc082b8425.tar.bz2
qmenumodel-0dfd3d4cd4214a732e4a5cda59fd4dfc082b8425.zip
Initial import.
Diffstat (limited to 'examples/SubMenu.qml')
-rw-r--r--examples/SubMenu.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/SubMenu.qml b/examples/SubMenu.qml
new file mode 100644
index 0000000..7049c3b
--- /dev/null
+++ b/examples/SubMenu.qml
@@ -0,0 +1,14 @@
+import QtQuick 1.1
+import Ubuntu.Components 0.1
+import Ubuntu.Components.ListItems 0.1 as ListItem
+
+
+ListItem.Standard {
+ property variant menu
+
+ anchors.fill: parent
+ text: menu.label
+ progression: true
+
+ onClicked: { loadMainMenu (menu.linkSubMenu) }
+}