author | unc0rr |
Sat, 22 Nov 2014 00:55:01 +0300 | |
branch | qmlfrontend |
changeset 10519 | af019fa70080 |
child 10608 | b85759f2ba18 |
permissions | -rw-r--r-- |
10519 | 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 |
} |