Changeset View
Changeset View
Standalone View
Standalone View
tests/components/toolbutton3.qml
- This file was added.
1 | import QtQuick 2.0 | ||||
---|---|---|---|---|---|
2 | | ||||
3 | import org.kde.plasma.components 3.0 as PlasmaComponents | ||||
4 | | ||||
5 | Rectangle | ||||
6 | { | ||||
7 | width: 500 | ||||
8 | height: 300 | ||||
9 | color: "white" | ||||
10 | | ||||
11 | Flow { | ||||
12 | anchors.fill: parent | ||||
13 | anchors.margins: 20 | ||||
14 | spacing: 20 | ||||
15 | | ||||
16 | PlasmaComponents.ToolButton { | ||||
17 | icon.name: "list-remove" | ||||
18 | text: "test" | ||||
19 | flat: true | ||||
20 | } | ||||
21 | PlasmaComponents.ToolButton { | ||||
22 | icon.name: "list-remove" | ||||
23 | flat: true | ||||
24 | } | ||||
25 | PlasmaComponents.ToolButton { | ||||
26 | text: "test" | ||||
27 | flat: true | ||||
28 | } | ||||
29 | PlasmaComponents.ToolButton { | ||||
30 | icon.name: "list-remove" | ||||
31 | text: "test" | ||||
32 | flat: false | ||||
33 | } | ||||
34 | PlasmaComponents.ToolButton { | ||||
35 | icon.name: "list-remove" | ||||
36 | flat: false | ||||
37 | } | ||||
38 | PlasmaComponents.ToolButton { | ||||
39 | text: "test" | ||||
40 | flat: false | ||||
41 | } | ||||
42 | } | ||||
43 | } | ||||
44 | |