Warning, /graphics/krita/plugins/paintops/tangentnormal/wdgtangenttiltoption.ui is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="utf-8"?> 0002 <ui version="4.0"> 0003 <author> 0004 SPDX-FileCopyrightText: none 0005 SPDX-License-Identifier: GPL-3.0-or-later 0006 </author> 0007 <class>WdgTangentTiltOptions</class> 0008 <widget class="QWidget" name="WdgTangentTiltOptions"> 0009 <property name="geometry"> 0010 <rect> 0011 <x>0</x> 0012 <y>0</y> 0013 <width>564</width> 0014 <height>409</height> 0015 </rect> 0016 </property> 0017 <property name="sizePolicy"> 0018 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 0019 <horstretch>255</horstretch> 0020 <verstretch>255</verstretch> 0021 </sizepolicy> 0022 </property> 0023 <property name="minimumSize"> 0024 <size> 0025 <width>425</width> 0026 <height>260</height> 0027 </size> 0028 </property> 0029 <layout class="QVBoxLayout" name="verticalLayout"> 0030 <item> 0031 <widget class="QLabel" name="label"> 0032 <property name="text"> 0033 <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> 0034 </property> 0035 </widget> 0036 </item> 0037 <item> 0038 <widget class="QGroupBox" name="TangentEncoding"> 0039 <property name="autoFillBackground"> 0040 <bool>false</bool> 0041 </property> 0042 <property name="title"> 0043 <string>Tangent Encoding</string> 0044 </property> 0045 <layout class="QHBoxLayout" name="horizontalLayout"> 0046 <item> 0047 <layout class="QFormLayout" name="swizzlebox"> 0048 <property name="labelAlignment"> 0049 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0050 </property> 0051 <item column="0" row="0"> 0052 <widget class="QLabel" name="RedLabel"> 0053 <property name="text"> 0054 <string>Red:</string> 0055 </property> 0056 <property name="alignment"> 0057 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0058 </property> 0059 </widget> 0060 </item> 0061 <item column="1" row="1"> 0062 <widget class="QComboBox" name="comboGreen"> 0063 <property name="currentIndex"> 0064 <number>2</number> 0065 </property> 0066 <item> 0067 <property name="text"> 0068 <string extracomment="Positive horizontal axis">+ X</string> 0069 </property> 0070 </item> 0071 <item> 0072 <property name="text"> 0073 <string extracomment="Negative horizontal axis">- X</string> 0074 </property> 0075 </item> 0076 <item> 0077 <property name="text"> 0078 <string extracomment="Positive vertical axis">+ Y</string> 0079 </property> 0080 </item> 0081 <item> 0082 <property name="text"> 0083 <string extracomment="Negative vertical axis">- Y</string> 0084 </property> 0085 </item> 0086 <item> 0087 <property name="text"> 0088 <string extracomment="Positive height axis">+ Z</string> 0089 </property> 0090 </item> 0091 <item> 0092 <property name="text"> 0093 <string extracomment="negative height axis">- Z</string> 0094 </property> 0095 </item> 0096 </widget> 0097 </item> 0098 <item column="0" row="1"> 0099 <widget class="QLabel" name="GreenLabel"> 0100 <property name="text"> 0101 <string>Green:</string> 0102 </property> 0103 </widget> 0104 </item> 0105 <item column="1" row="0"> 0106 <widget class="QComboBox" name="comboRed"> 0107 <item> 0108 <property name="text"> 0109 <string extracomment="Positive horizontal axis">+ X</string> 0110 </property> 0111 </item> 0112 <item> 0113 <property name="text"> 0114 <string extracomment="Negative horizontal axis">- X</string> 0115 </property> 0116 </item> 0117 <item> 0118 <property name="text"> 0119 <string extracomment="Positive vertical axis">+ Y</string> 0120 </property> 0121 </item> 0122 <item> 0123 <property name="text"> 0124 <string extracomment="Negative vertical axis">- Y</string> 0125 </property> 0126 </item> 0127 <item> 0128 <property name="text"> 0129 <string extracomment="Positive height axis">+ Z</string> 0130 </property> 0131 </item> 0132 <item> 0133 <property name="text"> 0134 <string extracomment="negative height axis">- Z</string> 0135 </property> 0136 </item> 0137 </widget> 0138 </item> 0139 <item column="0" row="2"> 0140 <widget class="QLabel" name="BlueLabel"> 0141 <property name="text"> 0142 <string>Blue:</string> 0143 </property> 0144 </widget> 0145 </item> 0146 <item column="1" row="2"> 0147 <widget class="QComboBox" name="comboBlue"> 0148 <property name="currentIndex"> 0149 <number>4</number> 0150 </property> 0151 <item> 0152 <property name="text"> 0153 <string extracomment="Positive horizontal axis">+ X</string> 0154 </property> 0155 </item> 0156 <item> 0157 <property name="text"> 0158 <string extracomment="Negative horizontal axis">- X</string> 0159 </property> 0160 </item> 0161 <item> 0162 <property name="text"> 0163 <string extracomment="Positive vertical axis">+ Y</string> 0164 </property> 0165 </item> 0166 <item> 0167 <property name="text"> 0168 <string extracomment="Negative vertical axis">- Y</string> 0169 </property> 0170 </item> 0171 <item> 0172 <property name="text"> 0173 <string extracomment="Positive height axis">+ Z</string> 0174 </property> 0175 </item> 0176 <item> 0177 <property name="text"> 0178 <string extracomment="negative height axis">- Z</string> 0179 </property> 0180 </item> 0181 </widget> 0182 </item> 0183 </layout> 0184 </item> 0185 <item> 0186 <widget class="KisNormalPreviewWidget" name="TangentTiltPreview"> 0187 <property name="sizePolicy"> 0188 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 0189 <horstretch>0</horstretch> 0190 <verstretch>0</verstretch> 0191 </sizepolicy> 0192 </property> 0193 <property name="minimumSize"> 0194 <size> 0195 <width>100</width> 0196 <height>100</height> 0197 </size> 0198 </property> 0199 <property name="frameShape"> 0200 <enum>QFrame::StyledPanel</enum> 0201 </property> 0202 <property name="frameShadow"> 0203 <enum>QFrame::Sunken</enum> 0204 </property> 0205 <property name="text"> 0206 <string extracomment="this is a frame that could contain a preview of the swizzle chosen" notr="true"/> 0207 </property> 0208 <property name="alignment"> 0209 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 0210 </property> 0211 </widget> 0212 </item> 0213 </layout> 0214 </widget> 0215 </item> 0216 <item> 0217 <widget class="QGroupBox" name="TiltOptions"> 0218 <property name="title"> 0219 <string>Tilt Options</string> 0220 </property> 0221 <layout class="QVBoxLayout" name="verticalLayout_2"> 0222 <item> 0223 <layout class="QHBoxLayout" name="horizontalLayout_2"> 0224 <item> 0225 <widget class="QRadioButton" name="optionTilt"> 0226 <property name="toolTip"> 0227 <string><html><head/><body><p>Use the tilt of the tablet to determine the normals.</p></body></html></string> 0228 </property> 0229 <property name="text"> 0230 <string comment="Tilt elevation">Tilt</string> 0231 </property> 0232 <property name="checked"> 0233 <bool>true</bool> 0234 </property> 0235 </widget> 0236 </item> 0237 <item> 0238 <widget class="QRadioButton" name="optionDirection"> 0239 <property name="toolTip"> 0240 <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> 0241 </property> 0242 <property name="text"> 0243 <string comment="Drawing Angle">Direction</string> 0244 </property> 0245 </widget> 0246 </item> 0247 <item> 0248 <widget class="QRadioButton" name="optionRotation"> 0249 <property name="toolTip"> 0250 <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> 0251 </property> 0252 <property name="text"> 0253 <string comment="Pen Rotation">Rotation</string> 0254 </property> 0255 </widget> 0256 </item> 0257 <item> 0258 <widget class="QRadioButton" name="optionMix"> 0259 <property name="toolTip"> 0260 <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> 0261 </property> 0262 <property name="text"> 0263 <string>Direction/Tilt Mix</string> 0264 </property> 0265 </widget> 0266 </item> 0267 </layout> 0268 </item> 0269 <item> 0270 <layout class="QFormLayout" name="formLayout"> 0271 <item column="0" row="0"> 0272 <widget class="QLabel" name="L_elevation"> 0273 <property name="text"> 0274 <string>Elevation Sensitivity</string> 0275 </property> 0276 </widget> 0277 </item> 0278 <item column="1" row="0"> 0279 <widget class="KisDoubleSliderSpinBox" name="sliderElevationSensitivity" native="true"> 0280 <property name="sizePolicy"> 0281 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 0282 <horstretch>0</horstretch> 0283 <verstretch>0</verstretch> 0284 </sizepolicy> 0285 </property> 0286 </widget> 0287 </item> 0288 <item column="0" row="1"> 0289 <widget class="QLabel" name="L_mix"> 0290 <property name="text"> 0291 <string>Direction/Tilt Mix Value</string> 0292 </property> 0293 </widget> 0294 </item> 0295 <item column="1" row="1"> 0296 <widget class="KisDoubleSliderSpinBox" name="sliderMixValue" native="true"> 0297 <property name="sizePolicy"> 0298 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 0299 <horstretch>0</horstretch> 0300 <verstretch>0</verstretch> 0301 </sizepolicy> 0302 </property> 0303 </widget> 0304 </item> 0305 </layout> 0306 </item> 0307 </layout> 0308 </widget> 0309 </item> 0310 <item> 0311 <spacer name="verticalSpacer"> 0312 <property name="orientation"> 0313 <enum>Qt::Vertical</enum> 0314 </property> 0315 <property name="sizeHint" stdset="0"> 0316 <size> 0317 <width>20</width> 0318 <height>40</height> 0319 </size> 0320 </property> 0321 </spacer> 0322 </item> 0323 </layout> 0324 </widget> 0325 <customwidgets> 0326 <customwidget> 0327 <class>KisDoubleSliderSpinBox</class> 0328 <extends>QDoubleSpinBox</extends> 0329 <header>kis_slider_spin_box.h</header> 0330 <container>1</container> 0331 </customwidget> 0332 <customwidget> 0333 <class>KisNormalPreviewWidget</class> 0334 <extends>QLabel</extends> 0335 <header>kis_normal_preview_widget.h</header> 0336 <container>1</container> 0337 </customwidget> 0338 </customwidgets> 0339 <resources/> 0340 <connections> 0341 <connection> 0342 <sender>optionMix</sender> 0343 <signal>toggled(bool)</signal> 0344 <receiver>sliderMixValue</receiver> 0345 <slot>setVisible(bool)</slot> 0346 <hints> 0347 <hint type="sourcelabel"> 0348 <x>20</x> 0349 <y>20</y> 0350 </hint> 0351 <hint type="destinationlabel"> 0352 <x>20</x> 0353 <y>20</y> 0354 </hint> 0355 </hints> 0356 </connection> 0357 <connection> 0358 <sender>optionMix</sender> 0359 <signal>toggled(bool)</signal> 0360 <receiver>L_mix</receiver> 0361 <slot>setVisible(bool)</slot> 0362 <hints> 0363 <hint type="sourcelabel"> 0364 <x>20</x> 0365 <y>20</y> 0366 </hint> 0367 <hint type="destinationlabel"> 0368 <x>20</x> 0369 <y>20</y> 0370 </hint> 0371 </hints> 0372 </connection> 0373 </connections> 0374 </ui>