blob: 170fa89b83cd0d5257f5a0d48301cb31c5c08a53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import QtQuick 1.1
import Ubuntu.Components 0.1
import Ubuntu.Components.ListItems 0.1 as ListItem
Item {
property variant menu
width: parent.width
height: contents.height
Column {
id: contents
width: parent.width
ListItem.Header {
text: menu.label
}
Repeater {
model: menu ? menu.linkSection : undefined
MenuFactory {
width: contents.width
menu: model
}
}
ListItem.Divider { }
}
}
|