Changeset View
Changeset View
Standalone View
Standalone View
plugins/paintops/tangentnormal/wdgtangenttiltoption.ui
Context not available. | |||||
6 | <rect> | 6 | <rect> | ||
---|---|---|---|---|---|
7 | <x>0</x> | 7 | <x>0</x> | ||
8 | <y>0</y> | 8 | <y>0</y> | ||
9 | <width>564</width> | 9 | <width>262</width> | ||
10 | <height>409</height> | 10 | <height>494</height> | ||
11 | </rect> | 11 | </rect> | ||
12 | </property> | 12 | </property> | ||
13 | <property name="sizePolicy"> | 13 | <property name="sizePolicy"> | ||
Context not available. | |||||
18 | </property> | 18 | </property> | ||
19 | <property name="minimumSize"> | 19 | <property name="minimumSize"> | ||
20 | <size> | 20 | <size> | ||
21 | <width>425</width> | 21 | <width>50</width> | ||
22 | <height>260</height> | 22 | <height>50</height> | ||
23 | </size> | 23 | </size> | ||
24 | </property> | 24 | </property> | ||
25 | <layout class="QVBoxLayout" name="verticalLayout"> | 25 | <layout class="QVBoxLayout" name="verticalLayout_3"> | ||
26 | <item> | 26 | <item> | ||
27 | <widget class="QLabel" name="label"> | 27 | <widget class="QLabel" name="label"> | ||
28 | <property name="text"> | 28 | <property name="text"> | ||
29 | <string extracomment="This is a type of normal map used in 3d rendering. Normal in this case reffers to the Normal in the law of Reflection by William Snellius">A Brush Engine for Drawing 3d Tangent Normal Maps</string> | 29 | <string extracomment="This is a type of normal map used in 3d rendering. Normal in this case reffers to the Normal in the law of Reflection by William Snellius">A Brush Engine for Drawing 3d Tangent Normal Maps</string> | ||
30 | </property> | 30 | </property> | ||
31 | <property name="wordWrap"> | ||||
32 | <bool>true</bool> | ||||
33 | </property> | ||||
31 | </widget> | 34 | </widget> | ||
32 | </item> | 35 | </item> | ||
33 | <item> | 36 | <item> | ||
Context not available. | |||||
40 | </property> | 43 | </property> | ||
41 | <layout class="QHBoxLayout" name="horizontalLayout"> | 44 | <layout class="QHBoxLayout" name="horizontalLayout"> | ||
42 | <item> | 45 | <item> | ||
43 | <layout class="QFormLayout" name="swizzlebox"> | 46 | <layout class="QVBoxLayout" name="verticalLayout_4"> | ||
44 | <property name="labelAlignment"> | 47 | <item> | ||
45 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | 48 | <widget class="QLabel" name="BlueLabel"> | ||
46 | </property> | | |||
47 | <item row="0" column="0"> | | |||
48 | <widget class="QLabel" name="RedLabel"> | | |||
49 | <property name="text"> | 49 | <property name="text"> | ||
50 | <string>Red:</string> | 50 | <string>Blue:</string> | ||
51 | </property> | | |||
52 | <property name="alignment"> | | |||
53 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | | |||
54 | </property> | 51 | </property> | ||
55 | </widget> | 52 | </widget> | ||
56 | </item> | 53 | </item> | ||
57 | <item row="1" column="1"> | 54 | <item> | ||
58 | <widget class="QComboBox" name="comboGreen"> | 55 | <widget class="QComboBox" name="comboBlue"> | ||
59 | <property name="currentIndex"> | 56 | <property name="currentIndex"> | ||
60 | <number>2</number> | 57 | <number>4</number> | ||
61 | </property> | 58 | </property> | ||
62 | <item> | 59 | <item> | ||
63 | <property name="text"> | 60 | <property name="text"> | ||
Context not available. | |||||
91 | </item> | 88 | </item> | ||
92 | </widget> | 89 | </widget> | ||
93 | </item> | 90 | </item> | ||
94 | <item row="1" column="0"> | 91 | <item> | ||
95 | <widget class="QLabel" name="GreenLabel"> | 92 | <widget class="QLabel" name="GreenLabel"> | ||
96 | <property name="text"> | 93 | <property name="text"> | ||
97 | <string>Green:</string> | 94 | <string>Green:</string> | ||
98 | </property> | 95 | </property> | ||
99 | </widget> | 96 | </widget> | ||
100 | </item> | 97 | </item> | ||
101 | <item row="0" column="1"> | 98 | <item> | ||
102 | <widget class="QComboBox" name="comboRed"> | 99 | <widget class="QComboBox" name="comboGreen"> | ||
100 | <property name="currentIndex"> | ||||
101 | <number>2</number> | ||||
102 | </property> | ||||
103 | <item> | 103 | <item> | ||
104 | <property name="text"> | 104 | <property name="text"> | ||
105 | <string extracomment="Positive horizontal axis">+ X</string> | 105 | <string extracomment="Positive horizontal axis">+ X</string> | ||
Context not available. | |||||
132 | </item> | 132 | </item> | ||
133 | </widget> | 133 | </widget> | ||
134 | </item> | 134 | </item> | ||
135 | <item row="2" column="0"> | 135 | <item> | ||
136 | <widget class="QLabel" name="BlueLabel"> | 136 | <widget class="QLabel" name="RedLabel"> | ||
137 | <property name="text"> | 137 | <property name="text"> | ||
138 | <string>Blue:</string> | 138 | <string>Red:</string> | ||
139 | </property> | ||||
140 | <property name="alignment"> | ||||
141 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||||
139 | </property> | 142 | </property> | ||
140 | </widget> | 143 | </widget> | ||
141 | </item> | 144 | </item> | ||
142 | <item row="2" column="1"> | 145 | <item> | ||
143 | <widget class="QComboBox" name="comboBlue"> | 146 | <widget class="QComboBox" name="comboRed"> | ||
144 | <property name="currentIndex"> | | |||
145 | <number>4</number> | | |||
146 | </property> | | |||
147 | <item> | 147 | <item> | ||
148 | <property name="text"> | 148 | <property name="text"> | ||
149 | <string extracomment="Positive horizontal axis">+ X</string> | 149 | <string extracomment="Positive horizontal axis">+ X</string> | ||
Context not available. | |||||
188 | </property> | 188 | </property> | ||
189 | <property name="minimumSize"> | 189 | <property name="minimumSize"> | ||
190 | <size> | 190 | <size> | ||
191 | <width>100</width> | 191 | <width>130</width> | ||
192 | <height>100</height> | 192 | <height>130</height> | ||
193 | </size> | ||||
194 | </property> | ||||
195 | <property name="maximumSize"> | ||||
196 | <size> | ||||
197 | <width>130</width> | ||||
198 | <height>130</height> | ||||
193 | </size> | 199 | </size> | ||
194 | </property> | 200 | </property> | ||
195 | <property name="frameShape"> | 201 | <property name="frameShape"> | ||
Context not available. | |||||
209 | </layout> | 215 | </layout> | ||
210 | </widget> | 216 | </widget> | ||
211 | </item> | 217 | </item> | ||
218 | <item> | ||||
219 | <widget class="KisDoubleSliderSpinBox" name="sliderElevationSensitivity" native="true"> | ||||
220 | <property name="sizePolicy"> | ||||
221 | <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> | ||||
222 | <horstretch>0</horstretch> | ||||
223 | <verstretch>0</verstretch> | ||||
224 | </sizepolicy> | ||||
225 | </property> | ||||
226 | <property name="minimumSize"> | ||||
227 | <size> | ||||
228 | <width>20</width> | ||||
229 | <height>20</height> | ||||
230 | </size> | ||||
231 | </property> | ||||
232 | </widget> | ||||
233 | </item> | ||||
212 | <item> | 234 | <item> | ||
213 | <widget class="QGroupBox" name="TiltOptions"> | 235 | <widget class="QGroupBox" name="TiltOptions"> | ||
214 | <property name="title"> | 236 | <property name="title"> | ||
Context not available. | |||||
216 | </property> | 238 | </property> | ||
217 | <layout class="QVBoxLayout" name="verticalLayout_2"> | 239 | <layout class="QVBoxLayout" name="verticalLayout_2"> | ||
218 | <item> | 240 | <item> | ||
219 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | 241 | <layout class="QVBoxLayout" name="verticalLayout"> | ||
220 | <item> | 242 | <item> | ||
221 | <widget class="QRadioButton" name="optionTilt"> | 243 | <widget class="QRadioButton" name="optionMix"> | ||
222 | <property name="toolTip"> | 244 | <property name="toolTip"> | ||
223 | <string><html><head/><body><p>Use the tilt of the tablet to determine the normals.</p></body></html></string> | 245 | <string><html><head/><body><p>Mix Tilt and Drawing angle to determine the X and Y-axes, while tilt-elevation is used for the Z-axis.</p></body></html></string> | ||
224 | </property> | 246 | </property> | ||
225 | <property name="text"> | 247 | <property name="text"> | ||
226 | <string>Tilt</string> | 248 | <string>Direction/Tilt Mix</string> | ||
227 | </property> | | |||
228 | <property name="checked"> | | |||
229 | <bool>true</bool> | | |||
230 | </property> | 249 | </property> | ||
231 | </widget> | 250 | </widget> | ||
232 | </item> | 251 | </item> | ||
233 | <item> | 252 | <item> | ||
234 | <widget class="QRadioButton" name="optionDirection"> | 253 | <widget class="QRadioButton" name="optionRotation"> | ||
235 | <property name="toolTip"> | 254 | <property name="toolTip"> | ||
236 | <string><html><head/><body><p>Use the drawing direction to determine the X and Y-axes, while tilt-elevation is used for the Z-axis.</p></body></html></string> | 255 | <string><html><head/><body><p>Use the rotation sensor available in certain pens to determine the X and Y-axes, while tilt-elevation is used for the Z-axis.</p></body></html></string> | ||
237 | </property> | 256 | </property> | ||
238 | <property name="text"> | 257 | <property name="text"> | ||
239 | <string>Direction</string> | 258 | <string>Rotation</string> | ||
240 | </property> | 259 | </property> | ||
241 | </widget> | 260 | </widget> | ||
242 | </item> | 261 | </item> | ||
243 | <item> | 262 | <item> | ||
244 | <widget class="QRadioButton" name="optionRotation"> | 263 | <widget class="QRadioButton" name="optionDirection"> | ||
245 | <property name="toolTip"> | 264 | <property name="toolTip"> | ||
246 | <string><html><head/><body><p>Use the rotation sensor available in certain pens to determine the X and Y-axes, while tilt-elevation is used for the Z-axis.</p></body></html></string> | 265 | <string><html><head/><body><p>Use the drawing direction to determine the X and Y-axes, while tilt-elevation is used for the Z-axis.</p></body></html></string> | ||
247 | </property> | 266 | </property> | ||
248 | <property name="text"> | 267 | <property name="text"> | ||
249 | <string>Rotation</string> | 268 | <string>Direction</string> | ||
250 | </property> | 269 | </property> | ||
251 | </widget> | 270 | </widget> | ||
252 | </item> | 271 | </item> | ||
253 | <item> | 272 | <item> | ||
254 | <widget class="QRadioButton" name="optionMix"> | 273 | <widget class="QRadioButton" name="optionTilt"> | ||
255 | <property name="toolTip"> | 274 | <property name="toolTip"> | ||
256 | <string><html><head/><body><p>Mix Tilt and Drawing angle to determine the X and Y-axes, while tilt-elevation is used for the Z-axis.</p></body></html></string> | 275 | <string><html><head/><body><p>Use the tilt of the tablet to determine the normals.</p></body></html></string> | ||
257 | </property> | 276 | </property> | ||
258 | <property name="text"> | 277 | <property name="text"> | ||
259 | <string>Direction/Tilt Mix</string> | 278 | <string>Tilt</string> | ||
279 | </property> | ||||
280 | <property name="checked"> | ||||
281 | <bool>true</bool> | ||||
260 | </property> | 282 | </property> | ||
261 | </widget> | 283 | </widget> | ||
262 | </item> | 284 | </item> | ||
Context not available. | |||||
264 | </item> | 286 | </item> | ||
265 | <item> | 287 | <item> | ||
266 | <layout class="QFormLayout" name="formLayout"> | 288 | <layout class="QFormLayout" name="formLayout"> | ||
267 | <item row="0" column="0"> | | |||
268 | <widget class="QLabel" name="L_elevation"> | | |||
269 | <property name="text"> | | |||
270 | <string>Elevation Sensitivity</string> | | |||
271 | </property> | | |||
272 | </widget> | | |||
273 | </item> | | |||
274 | <item row="0" column="1"> | | |||
275 | <widget class="KisDoubleSliderSpinBox" name="sliderElevationSensitivity" native="true"> | | |||
276 | <property name="sizePolicy"> | | |||
277 | <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> | | |||
278 | <horstretch>0</horstretch> | | |||
279 | <verstretch>0</verstretch> | | |||
280 | </sizepolicy> | | |||
281 | </property> | | |||
282 | </widget> | | |||
283 | </item> | | |||
284 | <item row="1" column="0"> | | |||
285 | <widget class="QLabel" name="L_mix"> | | |||
286 | <property name="text"> | | |||
287 | <string>Direction/Tilt Mix Value</string> | | |||
288 | </property> | | |||
289 | </widget> | | |||
290 | </item> | | |||
291 | <item row="1" column="1"> | 289 | <item row="1" column="1"> | ||
292 | <widget class="KisDoubleSliderSpinBox" name="sliderMixValue" native="true"> | 290 | <widget class="KisDoubleSliderSpinBox" name="sliderMixValue" native="true"> | ||
293 | <property name="sizePolicy"> | 291 | <property name="sizePolicy"> | ||
Context not available. | |||||
296 | <verstretch>0</verstretch> | 294 | <verstretch>0</verstretch> | ||
297 | </sizepolicy> | 295 | </sizepolicy> | ||
298 | </property> | 296 | </property> | ||
297 | <property name="minimumSize"> | ||||
298 | <size> | ||||
299 | <width>20</width> | ||||
300 | <height>20</height> | ||||
301 | </size> | ||||
302 | </property> | ||||
299 | </widget> | 303 | </widget> | ||
300 | </item> | 304 | </item> | ||
301 | </layout> | 305 | </layout> | ||
Context not available. | |||||
310 | </property> | 314 | </property> | ||
311 | <property name="sizeHint" stdset="0"> | 315 | <property name="sizeHint" stdset="0"> | ||
312 | <size> | 316 | <size> | ||
313 | <width>20</width> | 317 | <width>5</width> | ||
314 | <height>40</height> | 318 | <height>5</height> | ||
315 | </size> | 319 | </size> | ||
316 | </property> | 320 | </property> | ||
317 | </spacer> | 321 | </spacer> | ||
Context not available. | |||||
350 | </hint> | 354 | </hint> | ||
351 | </hints> | 355 | </hints> | ||
352 | </connection> | 356 | </connection> | ||
353 | <connection> | | |||
354 | <sender>optionMix</sender> | | |||
355 | <signal>toggled(bool)</signal> | | |||
356 | <receiver>L_mix</receiver> | | |||
357 | <slot>setVisible(bool)</slot> | | |||
358 | <hints> | | |||
359 | <hint type="sourcelabel"> | | |||
360 | <x>20</x> | | |||
361 | <y>20</y> | | |||
362 | </hint> | | |||
363 | <hint type="destinationlabel"> | | |||
364 | <x>20</x> | | |||
365 | <y>20</y> | | |||
366 | </hint> | | |||
367 | </hints> | | |||
368 | </connection> | | |||
369 | </connections> | 357 | </connections> | ||
370 | </ui> | 358 | </ui> | ||
Context not available. |