1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>WdgCurveOption</class> 4 <widget class="QWidget" name="WdgCurveOption"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>503</width> 10 <height>464</height> 11 </rect> 12 </property> 13 <layout class="QVBoxLayout" name="verticalLayout_2"> 14 <item> 15 <layout class="QHBoxLayout" name="horizontalLayout"> 16 <property name="bottomMargin"> 17 <number>15</number> 18 </property> 19 <item> 20 <widget class="KisDoubleSliderSpinBox" name="strengthSlider" native="true"> 21 <property name="sizePolicy"> 22 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 23 <horstretch>0</horstretch> 24 <verstretch>0</verstretch> 25 </sizepolicy> 26 </property> 27 <property name="minimumSize"> 28 <size> 29 <width>20</width> 30 <height>20</height> 31 </size> 32 </property> 33 <property name="maximumSize"> 34 <size> 35 <width>16777215</width> 36 <height>16777215</height> 37 </size> 38 </property> 39 </widget> 40 </item> 41 </layout> 42 </item> 43 <item> 44 <layout class="QHBoxLayout" name="horizontalLayout_2"> 45 <item> 46 <widget class="QCheckBox" name="checkBoxUseCurve"> 47 <property name="minimumSize"> 48 <size> 49 <width>190</width> 50 <height>0</height> 51 </size> 52 </property> 53 <property name="text"> 54 <string>Enable Pen Settings</string> 55 </property> 56 </widget> 57 </item> 58 <item> 59 <widget class="QPushButton" name="linearCurveButton"> 60 <property name="maximumSize"> 61 <size> 62 <width>24</width> 63 <height>24</height> 64 </size> 65 </property> 66 <property name="text"> 67 <string/> 68 </property> 69 <property name="iconSize"> 70 <size> 71 <width>16</width> 72 <height>16</height> 73 </size> 74 </property> 75 </widget> 76 </item> 77 <item> 78 <widget class="QPushButton" name="revLinearButton"> 79 <property name="maximumSize"> 80 <size> 81 <width>24</width> 82 <height>24</height> 83 </size> 84 </property> 85 <property name="text"> 86 <string/> 87 </property> 88 <property name="iconSize"> 89 <size> 90 <width>16</width> 91 <height>16</height> 92 </size> 93 </property> 94 </widget> 95 </item> 96 <item> 97 <widget class="QPushButton" name="sCurveButton"> 98 <property name="maximumSize"> 99 <size> 100 <width>24</width> 101 <height>24</height> 102 </size> 103 </property> 104 <property name="text"> 105 <string/> 106 </property> 107 <property name="iconSize"> 108 <size> 109 <width>16</width> 110 <height>16</height> 111 </size> 112 </property> 113 </widget> 114 </item> 115 <item> 116 <widget class="QPushButton" name="reverseSCurveButton"> 117 <property name="maximumSize"> 118 <size> 119 <width>24</width> 120 <height>24</height> 121 </size> 122 </property> 123 <property name="text"> 124 <string/> 125 </property> 126 <property name="iconSize"> 127 <size> 128 <width>16</width> 129 <height>16</height> 130 </size> 131 </property> 132 </widget> 133 </item> 134 <item> 135 <widget class="QPushButton" name="uCurveButton"> 136 <property name="maximumSize"> 137 <size> 138 <width>24</width> 139 <height>24</height> 140 </size> 141 </property> 142 <property name="text"> 143 <string/> 144 </property> 145 <property name="iconSize"> 146 <size> 147 <width>16</width> 148 <height>16</height> 149 </size> 150 </property> 151 </widget> 152 </item> 153 <item> 154 <widget class="QPushButton" name="revUCurveButton"> 155 <property name="maximumSize"> 156 <size> 157 <width>24</width> 158 <height>24</height> 159 </size> 160 </property> 161 <property name="text"> 162 <string/> 163 </property> 164 <property name="iconSize"> 165 <size> 166 <width>16</width> 167 <height>16</height> 168 </size> 169 </property> 170 </widget> 171 </item> 172 <item> 173 <widget class="QPushButton" name="jCurveButton"> 174 <property name="maximumSize"> 175 <size> 176 <width>24</width> 177 <height>24</height> 178 </size> 179 </property> 180 <property name="text"> 181 <string/> 182 </property> 183 <property name="iconSize"> 184 <size> 185 <width>16</width> 186 <height>16</height> 187 </size> 188 </property> 189 </widget> 190 </item> 191 <item> 192 <widget class="QPushButton" name="lCurveButton"> 193 <property name="maximumSize"> 194 <size> 195 <width>24</width> 196 <height>24</height> 197 </size> 198 </property> 199 <property name="text"> 200 <string/> 201 </property> 202 <property name="iconSize"> 203 <size> 204 <width>16</width> 205 <height>16</height> 206 </size> 207 </property> 208 <property name="shortcut"> 209 <string>Ctrl+S</string> 210 </property> 211 </widget> 212 </item> 213 <item> 214 <spacer name="horizontalSpacer_4"> 215 <property name="orientation"> 216 <enum>Qt::Horizontal</enum> 217 </property> 218 <property name="sizeHint" stdset="0"> 219 <size> 220 <width>2</width> 221 <height>2</height> 222 </size> 223 </property> 224 </spacer> 225 </item> 226 </layout> 227 </item> 228 <item> 229 <layout class="QHBoxLayout" name="horizontalLayout_4"> 230 <item> 231 <widget class="KisMultiSensorsSelector" name="sensorSelector" native="true"> 232 <property name="sizePolicy"> 233 <sizepolicy hsizetype="Fixed" vsizetype="MinimumExpanding"> 234 <horstretch>0</horstretch> 235 <verstretch>0</verstretch> 236 </sizepolicy> 237 </property> 238 <property name="minimumSize"> 239 <size> 240 <width>190</width> 241 <height>0</height> 242 </size> 243 </property> 244 <property name="maximumSize"> 245 <size> 246 <width>160</width> 247 <height>16777215</height> 248 </size> 249 </property> 250 </widget> 251 </item> 252 <item> 253 <layout class="QGridLayout" name="gridLayout_2"> 254 <item row="0" column="3"> 255 <spacer name="horizontalSpacer_2"> 256 <property name="orientation"> 257 <enum>Qt::Horizontal</enum> 258 </property> 259 <property name="sizeHint" stdset="0"> 260 <size> 261 <width>2</width> 262 <height>2</height> 263 </size> 264 </property> 265 </spacer> 266 </item> 267 <item row="3" column="1"> 268 <spacer name="verticalSpacer"> 269 <property name="orientation"> 270 <enum>Qt::Vertical</enum> 271 </property> 272 <property name="sizeHint" stdset="0"> 273 <size> 274 <width>2</width> 275 <height>2</height> 276 </size> 277 </property> 278 </spacer> 279 </item> 280 <item row="1" column="1"> 281 <widget class="QCheckBox" name="checkBoxUseSameCurve"> 282 <property name="text"> 283 <string>Share curve across all settings</string> 284 </property> 285 <property name="checked"> 286 <bool>true</bool> 287 </property> 288 </widget> 289 </item> 290 <item row="0" column="1"> 291 <layout class="QGridLayout" name="gridLayout"> 292 <item row="2" column="1"> 293 <layout class="QVBoxLayout" name="verticalLayout"> 294 <item> 295 <layout class="QHBoxLayout" name="horizontalLayout_7"/> 296 </item> 297 <item> 298 <widget class="QLabel" name="label_ymax"> 299 <property name="sizePolicy"> 300 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 301 <horstretch>0</horstretch> 302 <verstretch>0</verstretch> 303 </sizepolicy> 304 </property> 305 <property name="text"> 306 <string comment="KDE::DoNotExtract">TextLabel</string> 307 </property> 308 </widget> 309 </item> 310 <item> 311 <spacer name="verticalSpacer_3"> 312 <property name="orientation"> 313 <enum>Qt::Vertical</enum> 314 </property> 315 <property name="sizeHint" stdset="0"> 316 <size> 317 <width>10</width> 318 <height>10</height> 319 </size> 320 </property> 321 </spacer> 322 </item> 323 <item> 324 <layout class="QHBoxLayout" name="horizontalLayout_5"> 325 <item> 326 <widget class="QSpinBox" name="intOut"> 327 <property name="sizePolicy"> 328 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 329 <horstretch>0</horstretch> 330 <verstretch>0</verstretch> 331 </sizepolicy> 332 </property> 333 <property name="font"> 334 <font> 335 <pointsize>9</pointsize> 336 </font> 337 </property> 338 <property name="wrapping"> 339 <bool>false</bool> 340 </property> 341 </widget> 342 </item> 343 <item> 344 <spacer name="horizontalSpacer_5"> 345 <property name="orientation"> 346 <enum>Qt::Horizontal</enum> 347 </property> 348 <property name="sizeHint" stdset="0"> 349 <size> 350 <width>40</width> 351 <height>20</height> 352 </size> 353 </property> 354 </spacer> 355 </item> 356 </layout> 357 </item> 358 <item> 359 <spacer name="verticalSpacer_2"> 360 <property name="orientation"> 361 <enum>Qt::Vertical</enum> 362 </property> 363 <property name="sizeHint" stdset="0"> 364 <size> 365 <width>20</width> 366 <height>40</height> 367 </size> 368 </property> 369 </spacer> 370 </item> 371 <item> 372 <widget class="QLabel" name="label_ymin"> 373 <property name="sizePolicy"> 374 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 375 <horstretch>0</horstretch> 376 <verstretch>0</verstretch> 377 </sizepolicy> 378 </property> 379 <property name="text"> 380 <string comment="KDE::DoNotExtract">TextLabel</string> 381 </property> 382 </widget> 383 </item> 384 </layout> 385 </item> 386 <item row="3" column="0"> 387 <layout class="QHBoxLayout" name="horizontalLayout_3"> 388 <item> 389 <widget class="QLabel" name="label_xmin"> 390 <property name="sizePolicy"> 391 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 392 <horstretch>0</horstretch> 393 <verstretch>0</verstretch> 394 </sizepolicy> 395 </property> 396 <property name="text"> 397 <string comment="KDE::DoNotExtract">TextLabel</string> 398 </property> 399 </widget> 400 </item> 401 <item> 402 <spacer name="horizontalSpacer_3"> 403 <property name="orientation"> 404 <enum>Qt::Horizontal</enum> 405 </property> 406 <property name="sizeHint" stdset="0"> 407 <size> 408 <width>40</width> 409 <height>20</height> 410 </size> 411 </property> 412 </spacer> 413 </item> 414 <item> 415 <widget class="QSpinBox" name="intIn"> 416 <property name="sizePolicy"> 417 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 418 <horstretch>0</horstretch> 419 <verstretch>0</verstretch> 420 </sizepolicy> 421 </property> 422 <property name="minimumSize"> 423 <size> 424 <width>0</width> 425 <height>0</height> 426 </size> 427 </property> 428 <property name="font"> 429 <font> 430 <pointsize>9</pointsize> 431 </font> 432 </property> 433 <property name="frame"> 434 <bool>true</bool> 435 </property> 436 </widget> 437 </item> 438 <item> 439 <spacer name="horizontalSpacer"> 440 <property name="orientation"> 441 <enum>Qt::Horizontal</enum> 442 </property> 443 <property name="sizeHint" stdset="0"> 444 <size> 445 <width>40</width> 446 <height>20</height> 447 </size> 448 </property> 449 </spacer> 450 </item> 451 <item> 452 <widget class="QLabel" name="label_xmax"> 453 <property name="sizePolicy"> 454 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 455 <horstretch>0</horstretch> 456 <verstretch>0</verstretch> 457 </sizepolicy> 458 </property> 459 <property name="text"> 460 <string comment="KDE::DoNotExtract">TextLabel</string> 461 </property> 462 </widget> 463 </item> 464 </layout> 465 </item> 466 <item row="2" column="0"> 467 <widget class="KisCurveWidget" name="curveWidget" native="true"> 468 <property name="sizePolicy"> 469 <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> 470 <horstretch>1</horstretch> 471 <verstretch>0</verstretch> 472 </sizepolicy> 473 </property> 474 <property name="minimumSize"> 475 <size> 476 <width>200</width> 477 <height>200</height> 478 </size> 479 </property> 480 </widget> 481 </item> 482 </layout> 483 </item> 484 <item row="2" column="1"> 485 <layout class="QHBoxLayout" name="horizontalLayout_6"> 486 <item> 487 <widget class="QLabel" name="label"> 488 <property name="toolTip"> 489 <string><html><head/><body> 490<p>Curve calculation mode changes how 2 or more curve works together<br/></p> 491<p> multiply (default): all values from curves multiplies </p><p>(0.8 pressure) * (0.5 speed) = 0.4 <br/></p> 492<p> addition: all values from curves adds</p><p>(0.6 pressure) + (0.3 speed) = 0.9<br/></p> 493<p> maximum value</p><p>(0.7 pressure), (0.3 speed) = 0.7<br/></p> 494<p> minimum value </p><p>(0.7 pressure), (0.3 speed) = 0.3<br/></p> 495<p> difference between min and max values</p><p>(0.8 pressure), (0.3 speed), (0.6 fade) = 0.5</p></body></html></string> 496 </property> 497 <property name="text"> 498 <string>Curves calculation mode:</string> 499 </property> 500 </widget> 501 </item> 502 <item> 503 <widget class="QComboBox" name="curveMode"> 504 <property name="toolTip"> 505 <string><html><head/><body> 506<p>Curve calculation mode changes how 2 or more curve works together<br/></p> 507<p> multiply (default): all values from curves multiplies </p><p>(0.8 pressure) * (0.5 speed) = 0.4 <br/></p> 508<p> addition: all values from curves adds</p><p>(0.6 pressure) + (0.3 speed) = 0.9<br/></p> 509<p> maximum value</p><p>(0.7 pressure), (0.3 speed) = 0.7<br/></p> 510<p> minimum value </p><p>(0.7 pressure), (0.3 speed) = 0.3<br/></p> 511<p> difference between min and max values</p><p>(0.8 pressure), (0.3 speed), (0.6 fade) = 0.5</p></body></html></string> 512 </property> 513 <property name="editable"> 514 <bool>false</bool> 515 </property> 516 <item> 517 <property name="text"> 518 <string>multiply</string> 519 </property> 520 </item> 521 <item> 522 <property name="text"> 523 <string>addition</string> 524 </property> 525 </item> 526 <item> 527 <property name="text"> 528 <string>maximum</string> 529 </property> 530 </item> 531 <item> 532 <property name="text"> 533 <string>minimum</string> 534 </property> 535 </item> 536 <item> 537 <property name="text"> 538 <string>difference</string> 539 </property> 540 </item> 541 </widget> 542 </item> 543 </layout> 544 </item> 545 </layout> 546 </item> 547 </layout> 548 </item> 549 </layout> 550 </widget> 551 <customwidgets> 552 <customwidget> 553 <class>KisDoubleSliderSpinBox</class> 554 <extends>QWidget</extends> 555 <header>kis_slider_spin_box.h</header> 556 <container>1</container> 557 </customwidget> 558 <customwidget> 559 <class>KisCurveWidget</class> 560 <extends></extends> 561 <header>widgets/kis_curve_widget.h</header> 562 <container>1</container> 563 </customwidget> 564 <customwidget> 565 <class>KisMultiSensorsSelector</class> 566 <extends>QWidget</extends> 567 <header>kis_multi_sensors_selector.h</header> 568 <container>1</container> 569 </customwidget> 570 </customwidgets> 571 <resources/> 572 <connections/> 573</ui> 574