|
117 | 117 | <item>
|
118 | 118 | <widget class="QTabWidget" name="mDiagramPropertiesTabWidget">
|
119 | 119 | <property name="currentIndex">
|
120 |
| - <number>2</number> |
| 120 | + <number>0</number> |
121 | 121 | </property>
|
122 | 122 | <widget class="QWidget" name="tab">
|
123 | 123 | <attribute name="title">
|
|
126 | 126 | <layout class="QGridLayout" name="gridLayout_8">
|
127 | 127 | <item row="0" column="0" rowspan="2">
|
128 | 128 | <layout class="QGridLayout" name="gridLayout">
|
129 |
| - <item row="2" column="1"> |
| 129 | + <item row="3" column="1"> |
130 | 130 | <widget class="QLabel" name="mBackgroundColorLabel">
|
131 | 131 | <property name="text">
|
132 | 132 | <string>Background color</string>
|
133 | 133 | </property>
|
134 | 134 | </widget>
|
135 | 135 | </item>
|
136 |
| - <item row="3" column="1"> |
| 136 | + <item row="4" column="1"> |
137 | 137 | <widget class="QLabel" name="mPenColorLabel">
|
138 | 138 | <property name="text">
|
139 | 139 | <string>Line color</string>
|
140 | 140 | </property>
|
141 | 141 | </widget>
|
142 | 142 | </item>
|
143 |
| - <item row="3" column="2"> |
144 |
| - <widget class="QgsColorButton" name="mDiagramPenColorButton"> |
| 143 | + <item row="5" column="1"> |
| 144 | + <widget class="QLabel" name="mPenWidthLabel"> |
| 145 | + <property name="text"> |
| 146 | + <string>Line width</string> |
| 147 | + </property> |
| 148 | + </widget> |
| 149 | + </item> |
| 150 | + <item row="6" column="1"> |
| 151 | + <widget class="QPushButton" name="mDiagramFontButton"> |
145 | 152 | <property name="sizePolicy">
|
146 |
| - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
| 153 | + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
147 | 154 | <horstretch>0</horstretch>
|
148 | 155 | <verstretch>0</verstretch>
|
149 | 156 | </sizepolicy>
|
150 | 157 | </property>
|
| 158 | + <property name="text"> |
| 159 | + <string>Font...</string> |
| 160 | + </property> |
| 161 | + </widget> |
| 162 | + </item> |
| 163 | + <item row="1" column="1"> |
| 164 | + <widget class="QLabel" name="mBarWidthLabel"> |
| 165 | + <property name="text"> |
| 166 | + <string>Bar width</string> |
| 167 | + </property> |
| 168 | + </widget> |
| 169 | + </item> |
| 170 | + <item row="2" column="1"> |
| 171 | + <widget class="QLabel" name="mTransparencyLabel"> |
151 | 172 | <property name="minimumSize">
|
152 | 173 | <size>
|
153 |
| - <width>25</width> |
| 174 | + <width>130</width> |
154 | 175 | <height>0</height>
|
155 | 176 | </size>
|
156 | 177 | </property>
|
157 | 178 | <property name="text">
|
158 |
| - <string/> |
| 179 | + <string>Transparency 0%</string> |
159 | 180 | </property>
|
160 | 181 | </widget>
|
161 | 182 | </item>
|
162 |
| - <item row="2" column="2"> |
| 183 | + <item row="2" column="2" colspan="2"> |
| 184 | + <widget class="QSlider" name="mTransparencySlider"> |
| 185 | + <property name="minimumSize"> |
| 186 | + <size> |
| 187 | + <width>300</width> |
| 188 | + <height>0</height> |
| 189 | + </size> |
| 190 | + </property> |
| 191 | + <property name="maximum"> |
| 192 | + <number>100</number> |
| 193 | + </property> |
| 194 | + <property name="orientation"> |
| 195 | + <enum>Qt::Horizontal</enum> |
| 196 | + </property> |
| 197 | + </widget> |
| 198 | + </item> |
| 199 | + <item row="3" column="2"> |
163 | 200 | <widget class="QgsColorButton" name="mBackgroundColorButton">
|
164 | 201 | <property name="sizePolicy">
|
165 | 202 | <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
178 | 215 | </property>
|
179 | 216 | </widget>
|
180 | 217 | </item>
|
181 |
| - <item row="4" column="1"> |
182 |
| - <widget class="QLabel" name="mPenWidthLabel"> |
183 |
| - <property name="text"> |
184 |
| - <string>Line width</string> |
185 |
| - </property> |
186 |
| - </widget> |
| 218 | + <item row="1" column="2"> |
| 219 | + <widget class="QDoubleSpinBox" name="mBarWidthSpinBox"/> |
187 | 220 | </item>
|
188 | 221 | <item row="4" column="2">
|
189 |
| - <widget class="QDoubleSpinBox" name="mPenWidthSpinBox"> |
190 |
| - <property name="decimals"> |
191 |
| - <number>5</number> |
192 |
| - </property> |
193 |
| - <property name="maximum"> |
194 |
| - <double>99999.990000000005239</double> |
195 |
| - </property> |
196 |
| - </widget> |
197 |
| - </item> |
198 |
| - <item row="5" column="1"> |
199 |
| - <widget class="QPushButton" name="mDiagramFontButton"> |
| 222 | + <widget class="QgsColorButton" name="mDiagramPenColorButton"> |
200 | 223 | <property name="sizePolicy">
|
201 |
| - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
| 224 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
202 | 225 | <horstretch>0</horstretch>
|
203 | 226 | <verstretch>0</verstretch>
|
204 | 227 | </sizepolicy>
|
205 | 228 | </property>
|
| 229 | + <property name="minimumSize"> |
| 230 | + <size> |
| 231 | + <width>25</width> |
| 232 | + <height>0</height> |
| 233 | + </size> |
| 234 | + </property> |
206 | 235 | <property name="text">
|
207 |
| - <string>Font...</string> |
| 236 | + <string/> |
208 | 237 | </property>
|
209 | 238 | </widget>
|
210 | 239 | </item>
|
211 |
| - <item row="1" column="2"> |
212 |
| - <widget class="QDoubleSpinBox" name="mBarWidthSpinBox"/> |
213 |
| - </item> |
214 |
| - <item row="1" column="1"> |
215 |
| - <widget class="QLabel" name="mBarWidthLabel"> |
216 |
| - <property name="text"> |
217 |
| - <string>Bar width</string> |
| 240 | + <item row="5" column="2"> |
| 241 | + <widget class="QDoubleSpinBox" name="mPenWidthSpinBox"> |
| 242 | + <property name="decimals"> |
| 243 | + <number>5</number> |
| 244 | + </property> |
| 245 | + <property name="maximum"> |
| 246 | + <double>99999.990000000005239</double> |
218 | 247 | </property>
|
219 | 248 | </widget>
|
220 | 249 | </item>
|
|
0 commit comments