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