Warning, /graphics/krita/plugins/paintops/mypaint/wdgmypaintcurveoption.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> <class>WdgMyPaintCurveOption</class> 0007 <widget class="QWidget" name="WdgMyPaintCurveOption"> 0008 <property name="geometry"> 0009 <rect> 0010 <x>0</x> 0011 <y>0</y> 0012 <width>503</width> 0013 <height>468</height> 0014 </rect> 0015 </property> 0016 <layout class="QVBoxLayout" name="verticalLayout_2"> 0017 <item> 0018 <layout class="QHBoxLayout" name="horizontalLayout"> 0019 <property name="bottomMargin"> 0020 <number>15</number> 0021 </property> 0022 <item> 0023 <widget class="KisDoubleSliderSpinBox" name="strengthSlider" native="true"> 0024 <property name="sizePolicy"> 0025 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 0026 <horstretch>0</horstretch> 0027 <verstretch>0</verstretch> 0028 </sizepolicy> 0029 </property> 0030 <property name="minimumSize"> 0031 <size> 0032 <width>20</width> 0033 <height>20</height> 0034 </size> 0035 </property> 0036 <property name="maximumSize"> 0037 <size> 0038 <width>16777215</width> 0039 <height>16777215</height> 0040 </size> 0041 </property> 0042 </widget> 0043 </item> 0044 </layout> 0045 </item> 0046 <item> 0047 <layout class="QHBoxLayout" name="horizontalLayout_2"> 0048 <item> 0049 <widget class="QCheckBox" name="checkBoxUseCurve"> 0050 <property name="minimumSize"> 0051 <size> 0052 <width>190</width> 0053 <height>0</height> 0054 </size> 0055 </property> 0056 <property name="text"> 0057 <string>Enable Pen Settings</string> 0058 </property> 0059 </widget> 0060 </item> 0061 <item> 0062 <widget class="QPushButton" name="linearCurveButton"> 0063 <property name="maximumSize"> 0064 <size> 0065 <width>24</width> 0066 <height>24</height> 0067 </size> 0068 </property> 0069 <property name="text"> 0070 <string/> 0071 </property> 0072 <property name="iconSize"> 0073 <size> 0074 <width>16</width> 0075 <height>16</height> 0076 </size> 0077 </property> 0078 </widget> 0079 </item> 0080 <item> 0081 <widget class="QPushButton" name="revLinearButton"> 0082 <property name="maximumSize"> 0083 <size> 0084 <width>24</width> 0085 <height>24</height> 0086 </size> 0087 </property> 0088 <property name="text"> 0089 <string/> 0090 </property> 0091 <property name="iconSize"> 0092 <size> 0093 <width>16</width> 0094 <height>16</height> 0095 </size> 0096 </property> 0097 </widget> 0098 </item> 0099 <item> 0100 <widget class="QPushButton" name="sCurveButton"> 0101 <property name="maximumSize"> 0102 <size> 0103 <width>24</width> 0104 <height>24</height> 0105 </size> 0106 </property> 0107 <property name="text"> 0108 <string/> 0109 </property> 0110 <property name="iconSize"> 0111 <size> 0112 <width>16</width> 0113 <height>16</height> 0114 </size> 0115 </property> 0116 </widget> 0117 </item> 0118 <item> 0119 <widget class="QPushButton" name="reverseSCurveButton"> 0120 <property name="maximumSize"> 0121 <size> 0122 <width>24</width> 0123 <height>24</height> 0124 </size> 0125 </property> 0126 <property name="text"> 0127 <string/> 0128 </property> 0129 <property name="iconSize"> 0130 <size> 0131 <width>16</width> 0132 <height>16</height> 0133 </size> 0134 </property> 0135 </widget> 0136 </item> 0137 <item> 0138 <widget class="QPushButton" name="uCurveButton"> 0139 <property name="maximumSize"> 0140 <size> 0141 <width>24</width> 0142 <height>24</height> 0143 </size> 0144 </property> 0145 <property name="text"> 0146 <string/> 0147 </property> 0148 <property name="iconSize"> 0149 <size> 0150 <width>16</width> 0151 <height>16</height> 0152 </size> 0153 </property> 0154 </widget> 0155 </item> 0156 <item> 0157 <widget class="QPushButton" name="revUCurveButton"> 0158 <property name="maximumSize"> 0159 <size> 0160 <width>24</width> 0161 <height>24</height> 0162 </size> 0163 </property> 0164 <property name="text"> 0165 <string/> 0166 </property> 0167 <property name="iconSize"> 0168 <size> 0169 <width>16</width> 0170 <height>16</height> 0171 </size> 0172 </property> 0173 </widget> 0174 </item> 0175 <item> 0176 <widget class="QPushButton" name="jCurveButton"> 0177 <property name="maximumSize"> 0178 <size> 0179 <width>24</width> 0180 <height>24</height> 0181 </size> 0182 </property> 0183 <property name="text"> 0184 <string/> 0185 </property> 0186 <property name="iconSize"> 0187 <size> 0188 <width>16</width> 0189 <height>16</height> 0190 </size> 0191 </property> 0192 </widget> 0193 </item> 0194 <item> 0195 <widget class="QPushButton" name="lCurveButton"> 0196 <property name="maximumSize"> 0197 <size> 0198 <width>24</width> 0199 <height>24</height> 0200 </size> 0201 </property> 0202 <property name="text"> 0203 <string/> 0204 </property> 0205 <property name="iconSize"> 0206 <size> 0207 <width>16</width> 0208 <height>16</height> 0209 </size> 0210 </property> 0211 <property name="shortcut"> 0212 <string>Ctrl+S</string> 0213 </property> 0214 </widget> 0215 </item> 0216 <item> 0217 <spacer name="horizontalSpacer_4"> 0218 <property name="orientation"> 0219 <enum>Qt::Horizontal</enum> 0220 </property> 0221 <property name="sizeHint" stdset="0"> 0222 <size> 0223 <width>2</width> 0224 <height>2</height> 0225 </size> 0226 </property> 0227 </spacer> 0228 </item> 0229 </layout> 0230 </item> 0231 <item> 0232 <layout class="QHBoxLayout" name="horizontalLayout_4"> 0233 <item> 0234 <widget class="KisMultiSensorsSelector" name="sensorSelector" native="true"> 0235 <property name="sizePolicy"> 0236 <sizepolicy hsizetype="Fixed" vsizetype="MinimumExpanding"> 0237 <horstretch>0</horstretch> 0238 <verstretch>0</verstretch> 0239 </sizepolicy> 0240 </property> 0241 <property name="minimumSize"> 0242 <size> 0243 <width>190</width> 0244 <height>0</height> 0245 </size> 0246 </property> 0247 <property name="maximumSize"> 0248 <size> 0249 <width>160</width> 0250 <height>16777215</height> 0251 </size> 0252 </property> 0253 </widget> 0254 </item> 0255 <item> 0256 <layout class="QGridLayout" name="gridLayout_2"> 0257 <item row="0" column="1"> 0258 <layout class="QGridLayout" name="gridLayout"> 0259 <item row="2" column="1"> 0260 <layout class="QVBoxLayout" name="verticalLayout"> 0261 <item> 0262 <layout class="QHBoxLayout" name="horizontalLayout_7"/> 0263 </item> 0264 <item> 0265 <widget class="QLabel" name="label_ymax"> 0266 <property name="sizePolicy"> 0267 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 0268 <horstretch>0</horstretch> 0269 <verstretch>0</verstretch> 0270 </sizepolicy> 0271 </property> 0272 <property name="text"> 0273 <string comment="KDE::DoNotExtract">TextLabel</string> 0274 </property> 0275 </widget> 0276 </item> 0277 <item> 0278 <spacer name="verticalSpacer_3"> 0279 <property name="orientation"> 0280 <enum>Qt::Vertical</enum> 0281 </property> 0282 <property name="sizeHint" stdset="0"> 0283 <size> 0284 <width>10</width> 0285 <height>10</height> 0286 </size> 0287 </property> 0288 </spacer> 0289 </item> 0290 <item> 0291 <layout class="QHBoxLayout" name="horizontalLayout_5"> 0292 <item> 0293 <widget class="QSpinBox" name="intOut"> 0294 <property name="sizePolicy"> 0295 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 0296 <horstretch>0</horstretch> 0297 <verstretch>0</verstretch> 0298 </sizepolicy> 0299 </property> 0300 <property name="font"> 0301 <font> 0302 <pointsize>9</pointsize> 0303 </font> 0304 </property> 0305 <property name="wrapping"> 0306 <bool>false</bool> 0307 </property> 0308 </widget> 0309 </item> 0310 <item> 0311 <spacer name="horizontalSpacer_5"> 0312 <property name="orientation"> 0313 <enum>Qt::Horizontal</enum> 0314 </property> 0315 <property name="sizeHint" stdset="0"> 0316 <size> 0317 <width>40</width> 0318 <height>20</height> 0319 </size> 0320 </property> 0321 </spacer> 0322 </item> 0323 </layout> 0324 </item> 0325 <item> 0326 <spacer name="verticalSpacer_2"> 0327 <property name="orientation"> 0328 <enum>Qt::Vertical</enum> 0329 </property> 0330 <property name="sizeHint" stdset="0"> 0331 <size> 0332 <width>20</width> 0333 <height>40</height> 0334 </size> 0335 </property> 0336 </spacer> 0337 </item> 0338 <item> 0339 <widget class="QLabel" name="label_ymin"> 0340 <property name="sizePolicy"> 0341 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 0342 <horstretch>0</horstretch> 0343 <verstretch>0</verstretch> 0344 </sizepolicy> 0345 </property> 0346 <property name="text"> 0347 <string comment="KDE::DoNotExtract">TextLabel</string> 0348 </property> 0349 </widget> 0350 </item> 0351 </layout> 0352 </item> 0353 <item row="3" column="0"> 0354 <layout class="QHBoxLayout" name="horizontalLayout_3"> 0355 <item> 0356 <widget class="QLabel" name="label_xmin"> 0357 <property name="sizePolicy"> 0358 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 0359 <horstretch>0</horstretch> 0360 <verstretch>0</verstretch> 0361 </sizepolicy> 0362 </property> 0363 <property name="text"> 0364 <string comment="KDE::DoNotExtract">TextLabel</string> 0365 </property> 0366 </widget> 0367 </item> 0368 <item> 0369 <spacer name="horizontalSpacer_3"> 0370 <property name="orientation"> 0371 <enum>Qt::Horizontal</enum> 0372 </property> 0373 <property name="sizeHint" stdset="0"> 0374 <size> 0375 <width>40</width> 0376 <height>20</height> 0377 </size> 0378 </property> 0379 </spacer> 0380 </item> 0381 <item> 0382 <widget class="QSpinBox" name="intIn"> 0383 <property name="sizePolicy"> 0384 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 0385 <horstretch>0</horstretch> 0386 <verstretch>0</verstretch> 0387 </sizepolicy> 0388 </property> 0389 <property name="minimumSize"> 0390 <size> 0391 <width>0</width> 0392 <height>0</height> 0393 </size> 0394 </property> 0395 <property name="font"> 0396 <font> 0397 <pointsize>9</pointsize> 0398 </font> 0399 </property> 0400 <property name="frame"> 0401 <bool>true</bool> 0402 </property> 0403 </widget> 0404 </item> 0405 <item> 0406 <spacer name="horizontalSpacer"> 0407 <property name="orientation"> 0408 <enum>Qt::Horizontal</enum> 0409 </property> 0410 <property name="sizeHint" stdset="0"> 0411 <size> 0412 <width>40</width> 0413 <height>20</height> 0414 </size> 0415 </property> 0416 </spacer> 0417 </item> 0418 <item> 0419 <widget class="QLabel" name="label_xmax"> 0420 <property name="sizePolicy"> 0421 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 0422 <horstretch>0</horstretch> 0423 <verstretch>0</verstretch> 0424 </sizepolicy> 0425 </property> 0426 <property name="text"> 0427 <string comment="KDE::DoNotExtract">TextLabel</string> 0428 </property> 0429 </widget> 0430 </item> 0431 </layout> 0432 </item> 0433 <item row="2" column="0"> 0434 <widget class="KisCurveWidget" name="curveWidget" native="true"> 0435 <property name="sizePolicy"> 0436 <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> 0437 <horstretch>1</horstretch> 0438 <verstretch>0</verstretch> 0439 </sizepolicy> 0440 </property> 0441 <property name="minimumSize"> 0442 <size> 0443 <width>200</width> 0444 <height>200</height> 0445 </size> 0446 </property> 0447 </widget> 0448 </item> 0449 </layout> 0450 </item> 0451 <item row="0" column="3"> 0452 <spacer name="horizontalSpacer_2"> 0453 <property name="orientation"> 0454 <enum>Qt::Horizontal</enum> 0455 </property> 0456 <property name="sizeHint" stdset="0"> 0457 <size> 0458 <width>13</width> 0459 <height>13</height> 0460 </size> 0461 </property> 0462 </spacer> 0463 </item> 0464 <item row="4" column="1"> 0465 <layout class="QHBoxLayout" name="horizontalLayout_19"> 0466 <item> 0467 <widget class="QLabel" name="label_5"> 0468 <property name="text"> 0469 <string>Y Range:</string> 0470 </property> 0471 </widget> 0472 </item> 0473 <item> 0474 <widget class="QDoubleSpinBox" name="yMinBox"> 0475 <property name="minimum"> 0476 <double>-180.000000000000000</double> 0477 </property> 0478 <property name="maximum"> 0479 <double>180.000000000000000</double> 0480 </property> 0481 </widget> 0482 </item> 0483 <item> 0484 <widget class="QLabel" name="label_3"> 0485 <property name="text"> 0486 <string>To</string> 0487 </property> 0488 </widget> 0489 </item> 0490 <item> 0491 <widget class="QDoubleSpinBox" name="yMaxBox"> 0492 <property name="minimum"> 0493 <double>-180.000000000000000</double> 0494 </property> 0495 <property name="maximum"> 0496 <double>180.000000000000000</double> 0497 </property> 0498 </widget> 0499 </item> 0500 </layout> 0501 </item> 0502 <item row="5" column="1"> 0503 <spacer name="verticalSpacer"> 0504 <property name="orientation"> 0505 <enum>Qt::Vertical</enum> 0506 </property> 0507 <property name="sizeHint" stdset="0"> 0508 <size> 0509 <width>20</width> 0510 <height>60</height> 0511 </size> 0512 </property> 0513 </spacer> 0514 </item> 0515 <item row="2" column="1"> 0516 <layout class="QHBoxLayout" name="horizontalLayout_6"> 0517 <item> 0518 <widget class="QLabel" name="label"> 0519 <property name="toolTip"> 0520 <string><html><head/><body> 0521 <p>Curve calculation mode changes how 2 or more curve works together<br/></p> 0522 <p> multiply (default): all values from curves multiplies </p><p>(0.8 pressure) * (0.5 speed) = 0.4 <br/></p> 0523 <p> addition: all values from curves adds</p><p>(0.6 pressure) + (0.3 speed) = 0.9<br/></p> 0524 <p> maximum value</p><p>(0.7 pressure), (0.3 speed) = 0.7<br/></p> 0525 <p> minimum value </p><p>(0.7 pressure), (0.3 speed) = 0.3<br/></p> 0526 <p> difference between min and max values</p><p>(0.8 pressure), (0.3 speed), (0.6 fade) = 0.5</p></body></html></string> 0527 </property> 0528 <property name="text"> 0529 <string>Curves calculation mode:</string> 0530 </property> 0531 </widget> 0532 </item> 0533 <item> 0534 <widget class="QComboBox" name="curveMode"> 0535 <property name="toolTip"> 0536 <string><html><head/><body> 0537 <p>Curve calculation mode changes how 2 or more curve works together<br/></p> 0538 <p> multiply (default): all values from curves multiplies </p><p>(0.8 pressure) * (0.5 speed) = 0.4 <br/></p> 0539 <p> addition: all values from curves adds</p><p>(0.6 pressure) + (0.3 speed) = 0.9<br/></p> 0540 <p> maximum value</p><p>(0.7 pressure), (0.3 speed) = 0.7<br/></p> 0541 <p> minimum value </p><p>(0.7 pressure), (0.3 speed) = 0.3<br/></p> 0542 <p> difference between min and max values</p><p>(0.8 pressure), (0.3 speed), (0.6 fade) = 0.5</p></body></html></string> 0543 </property> 0544 <property name="editable"> 0545 <bool>false</bool> 0546 </property> 0547 <item> 0548 <property name="text"> 0549 <string>multiply</string> 0550 </property> 0551 </item> 0552 <item> 0553 <property name="text"> 0554 <string>addition</string> 0555 </property> 0556 </item> 0557 <item> 0558 <property name="text"> 0559 <string>maximum</string> 0560 </property> 0561 </item> 0562 <item> 0563 <property name="text"> 0564 <string>minimum</string> 0565 </property> 0566 </item> 0567 <item> 0568 <property name="text"> 0569 <string>difference</string> 0570 </property> 0571 </item> 0572 </widget> 0573 </item> 0574 </layout> 0575 </item> 0576 <item row="1" column="1"> 0577 <widget class="QCheckBox" name="checkBoxUseSameCurve"> 0578 <property name="text"> 0579 <string>Share curve across all settings</string> 0580 </property> 0581 <property name="checked"> 0582 <bool>true</bool> 0583 </property> 0584 </widget> 0585 </item> 0586 <item row="3" column="1"> 0587 <layout class="QHBoxLayout" name="horizontalLayout_18"> 0588 <item> 0589 <widget class="QLabel" name="label_4"> 0590 <property name="text"> 0591 <string>X Range:</string> 0592 </property> 0593 </widget> 0594 </item> 0595 <item> 0596 <widget class="QDoubleSpinBox" name="xMinBox"> 0597 <property name="minimum"> 0598 <double>-180.000000000000000</double> 0599 </property> 0600 <property name="maximum"> 0601 <double>180.000000000000000</double> 0602 </property> 0603 </widget> 0604 </item> 0605 <item> 0606 <widget class="QLabel" name="label_2"> 0607 <property name="text"> 0608 <string>To</string> 0609 </property> 0610 </widget> 0611 </item> 0612 <item> 0613 <widget class="QDoubleSpinBox" name="xMaxBox"> 0614 <property name="minimum"> 0615 <double>-180.000000000000000</double> 0616 </property> 0617 <property name="maximum"> 0618 <double>180.000000000000000</double> 0619 </property> 0620 </widget> 0621 </item> 0622 </layout> 0623 </item> 0624 </layout> 0625 </item> 0626 </layout> 0627 </item> 0628 </layout> 0629 </widget> 0630 <customwidgets> 0631 <customwidget> 0632 <class>KisDoubleSliderSpinBox</class> 0633 <extends>QDoubleSpinBox</extends> 0634 <header>kis_slider_spin_box.h</header> 0635 <container>1</container> 0636 </customwidget> 0637 <customwidget> 0638 <class>KisCurveWidget</class> 0639 <extends></extends> 0640 <header>widgets/kis_curve_widget.h</header> 0641 <container>1</container> 0642 </customwidget> 0643 <customwidget> 0644 <class>KisMultiSensorsSelector</class> 0645 <extends>QWidget</extends> 0646 <header>kis_multi_sensors_selector.h</header> 0647 <container>1</container> 0648 </customwidget> 0649 </customwidgets> 0650 <resources/> 0651 <connections/> 0652 </ui>