~nick-dedekind/qmenumodel/QTBUG-32859

« back to all changes in this revision

Viewing changes to examples/SubMenu.qml

  • Committer: Renato Araujo Oliveira Filho
  • Date: 2012-09-05 19:15:39 UTC
  • Revision ID: renato.filho@canonical.com-20120905191539-rm2rs9sd1w19kz53
Initial import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 1.1
 
2
import Ubuntu.Components 0.1
 
3
import Ubuntu.Components.ListItems 0.1 as ListItem
 
4
 
 
5
 
 
6
ListItem.Standard {
 
7
    property variant menu
 
8
 
 
9
    anchors.fill: parent
 
10
    text: menu.label
 
11
    progression: true
 
12
 
 
13
    onClicked: { loadMainMenu (menu.linkSubMenu) }
 
14
}