1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>WdgTangentTiltOptions</class>
4 <widget class="QWidget" name="WdgTangentTiltOptions">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>564</width>
10    <height>409</height>
11   </rect>
12  </property>
13  <property name="sizePolicy">
14   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
15    <horstretch>255</horstretch>
16    <verstretch>255</verstretch>
17   </sizepolicy>
18  </property>
19  <property name="minimumSize">
20   <size>
21    <width>425</width>
22    <height>260</height>
23   </size>
24  </property>
25  <layout class="QVBoxLayout" name="verticalLayout">
26   <item>
27    <widget class="QLabel" name="label">
28     <property name="text">
29      <string extracomment="This is a type of normal map used in 3d rendering. Normal in this case refers to the Normal in the law of Reflection by William Snellius">A Brush Engine for Drawing 3d Tangent Normal Maps</string>
30     </property>
31    </widget>
32   </item>
33   <item>
34    <widget class="QGroupBox" name="TangentEncoding">
35     <property name="autoFillBackground">
36      <bool>false</bool>
37     </property>
38     <property name="title">
39      <string>Tangent Encoding</string>
40     </property>
41     <layout class="QHBoxLayout" name="horizontalLayout">
42      <item>
43       <layout class="QFormLayout" name="swizzlebox">
44        <property name="labelAlignment">
45         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
46        </property>
47        <item row="0" column="0">
48         <widget class="QLabel" name="RedLabel">
49          <property name="text">
50           <string>Red:</string>
51          </property>
52          <property name="alignment">
53           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
54          </property>
55         </widget>
56        </item>
57        <item row="1" column="1">
58         <widget class="QComboBox" name="comboGreen">
59          <property name="currentIndex">
60           <number>2</number>
61          </property>
62          <item>
63           <property name="text">
64            <string extracomment="Positive horizontal axis">+ X</string>
65           </property>
66          </item>
67          <item>
68           <property name="text">
69            <string extracomment="Negative horizontal axis">- X</string>
70           </property>
71          </item>
72          <item>
73           <property name="text">
74            <string extracomment="Positive vertical axis">+ Y</string>
75           </property>
76          </item>
77          <item>
78           <property name="text">
79            <string extracomment="Negative vertical axis">- Y</string>
80           </property>
81          </item>
82          <item>
83           <property name="text">
84            <string extracomment="Positive height axis">+ Z</string>
85           </property>
86          </item>
87          <item>
88           <property name="text">
89            <string extracomment="negative height axis">- Z</string>
90           </property>
91          </item>
92         </widget>
93        </item>
94        <item row="1" column="0">
95         <widget class="QLabel" name="GreenLabel">
96          <property name="text">
97           <string>Green:</string>
98          </property>
99         </widget>
100        </item>
101        <item row="0" column="1">
102         <widget class="QComboBox" name="comboRed">
103          <item>
104           <property name="text">
105            <string extracomment="Positive horizontal axis">+ X</string>
106           </property>
107          </item>
108          <item>
109           <property name="text">
110            <string extracomment="Negative horizontal axis">- X</string>
111           </property>
112          </item>
113          <item>
114           <property name="text">
115            <string extracomment="Positive vertical axis">+ Y</string>
116           </property>
117          </item>
118          <item>
119           <property name="text">
120            <string extracomment="Negative vertical axis">- Y</string>
121           </property>
122          </item>
123          <item>
124           <property name="text">
125            <string extracomment="Positive height axis">+ Z</string>
126           </property>
127          </item>
128          <item>
129           <property name="text">
130            <string extracomment="negative height axis">- Z</string>
131           </property>
132          </item>
133         </widget>
134        </item>
135        <item row="2" column="0">
136         <widget class="QLabel" name="BlueLabel">
137          <property name="text">
138           <string>Blue:</string>
139          </property>
140         </widget>
141        </item>
142        <item row="2" column="1">
143         <widget class="QComboBox" name="comboBlue">
144          <property name="currentIndex">
145           <number>4</number>
146          </property>
147          <item>
148           <property name="text">
149            <string extracomment="Positive horizontal axis">+ X</string>
150           </property>
151          </item>
152          <item>
153           <property name="text">
154            <string extracomment="Negative horizontal axis">- X</string>
155           </property>
156          </item>
157          <item>
158           <property name="text">
159            <string extracomment="Positive vertical axis">+ Y</string>
160           </property>
161          </item>
162          <item>
163           <property name="text">
164            <string extracomment="Negative vertical axis">- Y</string>
165           </property>
166          </item>
167          <item>
168           <property name="text">
169            <string extracomment="Positive height axis">+ Z</string>
170           </property>
171          </item>
172          <item>
173           <property name="text">
174            <string extracomment="negative height axis">- Z</string>
175           </property>
176          </item>
177         </widget>
178        </item>
179       </layout>
180      </item>
181      <item>
182       <widget class="KisNormalPreviewWidget" name="TangentTiltPreview">
183        <property name="sizePolicy">
184         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
185          <horstretch>0</horstretch>
186          <verstretch>0</verstretch>
187         </sizepolicy>
188        </property>
189        <property name="minimumSize">
190         <size>
191          <width>100</width>
192          <height>100</height>
193         </size>
194        </property>
195        <property name="frameShape">
196         <enum>QFrame::StyledPanel</enum>
197        </property>
198        <property name="frameShadow">
199         <enum>QFrame::Sunken</enum>
200        </property>
201        <property name="text">
202         <string notr="true" extracomment="this is a frame that could contain a preview of the swizzle chosen"/>
203        </property>
204        <property name="alignment">
205         <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
206        </property>
207       </widget>
208      </item>
209     </layout>
210    </widget>
211   </item>
212   <item>
213    <widget class="QGroupBox" name="TiltOptions">
214     <property name="title">
215      <string>Tilt Options</string>
216     </property>
217     <layout class="QVBoxLayout" name="verticalLayout_2">
218      <item>
219       <layout class="QHBoxLayout" name="horizontalLayout_2">
220        <item>
221         <widget class="QRadioButton" name="optionTilt">
222          <property name="toolTip">
223           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Use the tilt of the tablet to determine the normals.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
224          </property>
225          <property name="text">
226           <string>Tilt</string>
227          </property>
228          <property name="checked">
229           <bool>true</bool>
230          </property>
231         </widget>
232        </item>
233        <item>
234         <widget class="QRadioButton" name="optionDirection">
235          <property name="toolTip">
236           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Use the drawing direction to determine the X and Y-axes, while tilt-elevation is used for the Z-axis.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
237          </property>
238          <property name="text">
239           <string>Direction</string>
240          </property>
241         </widget>
242        </item>
243        <item>
244         <widget class="QRadioButton" name="optionRotation">
245          <property name="toolTip">
246           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Use the rotation sensor available in certain pens to determine the X and Y-axes, while tilt-elevation is used for the Z-axis.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
247          </property>
248          <property name="text">
249           <string>Rotation</string>
250          </property>
251         </widget>
252        </item>
253        <item>
254         <widget class="QRadioButton" name="optionMix">
255          <property name="toolTip">
256           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Mix Tilt and Drawing angle to determine the X and Y-axes, while tilt-elevation is used for the Z-axis.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
257          </property>
258          <property name="text">
259           <string>Direction/Tilt Mix</string>
260          </property>
261         </widget>
262        </item>
263       </layout>
264      </item>
265      <item>
266       <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">
292         <widget class="KisDoubleSliderSpinBox" name="sliderMixValue" native="true">
293          <property name="sizePolicy">
294           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
295            <horstretch>0</horstretch>
296            <verstretch>0</verstretch>
297           </sizepolicy>
298          </property>
299         </widget>
300        </item>
301       </layout>
302      </item>
303     </layout>
304    </widget>
305   </item>
306   <item>
307    <spacer name="verticalSpacer">
308     <property name="orientation">
309      <enum>Qt::Vertical</enum>
310     </property>
311     <property name="sizeHint" stdset="0">
312      <size>
313       <width>20</width>
314       <height>40</height>
315      </size>
316     </property>
317    </spacer>
318   </item>
319  </layout>
320 </widget>
321 <customwidgets>
322  <customwidget>
323   <class>KisDoubleSliderSpinBox</class>
324   <extends>QWidget</extends>
325   <header>kis_slider_spin_box.h</header>
326   <container>1</container>
327  </customwidget>
328  <customwidget>
329   <class>KisNormalPreviewWidget</class>
330   <extends>QLabel</extends>
331   <header>kis_normal_preview_widget.h</header>
332   <container>1</container>
333  </customwidget>
334 </customwidgets>
335 <resources/>
336 <connections>
337  <connection>
338   <sender>optionMix</sender>
339   <signal>toggled(bool)</signal>
340   <receiver>sliderMixValue</receiver>
341   <slot>setVisible(bool)</slot>
342   <hints>
343    <hint type="sourcelabel">
344     <x>20</x>
345     <y>20</y>
346    </hint>
347    <hint type="destinationlabel">
348     <x>20</x>
349     <y>20</y>
350    </hint>
351   </hints>
352  </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>
370</ui>
371