branch | qmlfrontend |
changeset 10519 | af019fa70080 |
child 10608 | b85759f2ba18 |
10517:844bd43db47a | 10519:af019fa70080 |
---|---|
1 import QtQuick 2.0 |
|
2 import QtQuick.Window 2.1 |
|
3 |
|
4 HWButton { |
|
5 property alias model: itemsList.model |
|
6 property alias delegate: itemsList.delegate |
|
7 |
|
8 Window { |
|
9 id: selection |
|
10 visibility: Window.Hidden |
|
11 |
|
12 ListView { |
|
13 id: itemsList |
|
14 x: 0 |
|
15 y: 64 |
|
16 anchors.fill: parent |
|
17 highlight: Rectangle { color: "#eaea00"; radius: 4 } |
|
18 focus: true |
|
19 } |
|
20 } |
|
21 |
|
22 onClicked: selection.visibility = Window.Windowed |
|
23 } |