@@ -1,157 +1,157 | |||
|
1 | 1 | /**************************************************************************** |
|
2 | 2 | ** |
|
3 | 3 | ** Copyright (C) 2014 Digia Plc |
|
4 | 4 | ** All rights reserved. |
|
5 | 5 | ** For any questions to Digia, please use contact form at http://qt.io |
|
6 | 6 | ** |
|
7 | 7 | ** This file is part of the Qt Charts module. |
|
8 | 8 | ** |
|
9 | 9 | ** Licensees holding valid commercial license for Qt may use this file in |
|
10 | 10 | ** accordance with the Qt License Agreement provided with the Software |
|
11 | 11 | ** or, alternatively, in accordance with the terms contained in a written |
|
12 | 12 | ** agreement between you and Digia. |
|
13 | 13 | ** |
|
14 | 14 | ** If you have questions regarding the use of this file, please use |
|
15 | 15 | ** contact form at http://qt.io |
|
16 | 16 | ** |
|
17 | 17 | ****************************************************************************/ |
|
18 | 18 | |
|
19 | 19 | import QtQuick 2.0 |
|
20 | 20 | import HelperWidgets 2.0 |
|
21 | 21 | import QtQuick.Layouts 1.0 |
|
22 | 22 | |
|
23 | 23 | Column { |
|
24 | 24 | anchors.left: parent.left |
|
25 | 25 | anchors.right: parent.right |
|
26 | 26 | |
|
27 | 27 | Section { |
|
28 | 28 | anchors.left: parent.left |
|
29 | 29 | anchors.right: parent.right |
|
30 | 30 | caption: qsTr("Title") |
|
31 | 31 | |
|
32 | 32 | SectionLayout { |
|
33 | 33 | rows: 1 |
|
34 | 34 | Label { |
|
35 | 35 | text: qsTr("title") |
|
36 | 36 | } |
|
37 | 37 | |
|
38 | 38 | SecondColumnLayout { |
|
39 | 39 | LineEdit { |
|
40 | 40 | backendValue: backendValues.title |
|
41 | 41 | Layout.fillWidth: true |
|
42 | 42 | } |
|
43 | 43 | ExpandingSpacer { |
|
44 | 44 | } |
|
45 | 45 | } |
|
46 | 46 | } |
|
47 | 47 | } |
|
48 | 48 | |
|
49 | 49 | Section { |
|
50 | 50 | anchors.left: parent.left |
|
51 | 51 | anchors.right: parent.right |
|
52 | 52 | caption: qsTr("Title Color") |
|
53 | 53 | |
|
54 | 54 | ColorEditor { |
|
55 | 55 | caption: qsTr("titleColor") |
|
56 | 56 | backendValue: backendValues.titleColor |
|
57 | 57 | supportGradient: false |
|
58 | 58 | } |
|
59 | 59 | } |
|
60 | 60 | |
|
61 | 61 | Section { |
|
62 | 62 | anchors.left: parent.left |
|
63 | 63 | anchors.right: parent.right |
|
64 | 64 | caption: qsTr("Background Color") |
|
65 | 65 | |
|
66 | 66 | ColorEditor { |
|
67 | 67 | caption: qsTr("backgroundColor") |
|
68 | 68 | backendValue: backendValues.backgroundColor |
|
69 | 69 | supportGradient: false |
|
70 | 70 | } |
|
71 | 71 | } |
|
72 | 72 | |
|
73 | 73 | Section { |
|
74 | 74 | anchors.left: parent.left |
|
75 | 75 | anchors.right: parent.right |
|
76 | 76 | caption: qsTr("Background") |
|
77 | 77 | |
|
78 | 78 | SectionLayout { |
|
79 | 79 | rows: 2 |
|
80 | 80 | Label { |
|
81 | 81 | text: qsTr("backgroundRoundness") |
|
82 |
tool |
|
|
82 | tooltip: qsTr("Diameter of the rounding circle at the corners") | |
|
83 | 83 | Layout.fillWidth: true |
|
84 | 84 | } |
|
85 | 85 | |
|
86 | 86 | SecondColumnLayout { |
|
87 | 87 | SpinBox { |
|
88 | 88 | backendValue: backendValues.backgroundRoundness |
|
89 | 89 | minimumValue: 0.1 |
|
90 | 90 | maximumValue: 100.0 |
|
91 | 91 | stepSize: 0.1 |
|
92 | 92 | decimals: 1 |
|
93 | 93 | Layout.fillWidth: true |
|
94 | 94 | } |
|
95 | 95 | } |
|
96 | 96 | |
|
97 | 97 | Label { |
|
98 | 98 | text: qsTr("dropShadowEnabled") |
|
99 |
tool |
|
|
99 | tooltip: qsTr("Enable border drop shadow") | |
|
100 | 100 | Layout.fillWidth: true |
|
101 | 101 | } |
|
102 | 102 | |
|
103 | 103 | SecondColumnLayout { |
|
104 | 104 | CheckBox { |
|
105 | 105 | backendValue: backendValues.dropShadowEnabled |
|
106 | 106 | Layout.fillWidth: true |
|
107 | 107 | } |
|
108 | 108 | } |
|
109 | 109 | } |
|
110 | 110 | } |
|
111 | 111 | |
|
112 | 112 | Section { |
|
113 | 113 | anchors.left: parent.left |
|
114 | 114 | anchors.right: parent.right |
|
115 | 115 | caption: qsTr("Fill Color") |
|
116 | 116 | |
|
117 | 117 | ColorEditor { |
|
118 | 118 | caption: qsTr("fillColor") |
|
119 | 119 | backendValue: backendValues.fillColor |
|
120 | 120 | supportGradient: false |
|
121 | 121 | } |
|
122 | 122 | } |
|
123 | 123 | |
|
124 | 124 | Section { |
|
125 | 125 | anchors.left: parent.left |
|
126 | 126 | anchors.right: parent.right |
|
127 | 127 | caption: qsTr("Plot Area Color") |
|
128 | 128 | |
|
129 | 129 | ColorEditor { |
|
130 | 130 | caption: qsTr("plotAreaColor") |
|
131 | 131 | backendValue: backendValues.plotAreaColor |
|
132 | 132 | supportGradient: false |
|
133 | 133 | } |
|
134 | 134 | } |
|
135 | 135 | |
|
136 | 136 | Section { |
|
137 | 137 | anchors.left: parent.left |
|
138 | 138 | anchors.right: parent.right |
|
139 | 139 | caption: qsTr("Localization") |
|
140 | 140 | |
|
141 | 141 | SectionLayout { |
|
142 | 142 | rows: 1 |
|
143 | 143 | Label { |
|
144 | 144 | text: qsTr("localizeNumbers") |
|
145 |
tool |
|
|
145 | tooltip: qsTr("Localize numbers") | |
|
146 | 146 | Layout.fillWidth: true |
|
147 | 147 | } |
|
148 | 148 | |
|
149 | 149 | SecondColumnLayout { |
|
150 | 150 | CheckBox { |
|
151 | 151 | backendValue: backendValues.localizeNumbers |
|
152 | 152 | Layout.fillWidth: true |
|
153 | 153 | } |
|
154 | 154 | } |
|
155 | 155 | } |
|
156 | 156 | } |
|
157 | 157 | } |
General Comments 0
You need to be logged in to leave comments.
Login now