Warning, /graphics/glaxnimate/src/gui/widgets/dialogs/trace_dialog.ui is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 0003 <!-- 0004 SPDX-FileCopyrightText: 2019-2023 Mattia Basaglia <dev@dragon.best> 0005 0006 SPDX-License-Identifier: GPL-3.0-or-later 0007 --> 0008 0009 <ui version="4.0"> 0010 <class>TraceDialog</class> 0011 <widget class="QDialog" name="TraceDialog"> 0012 <property name="geometry"> 0013 <rect> 0014 <x>0</x> 0015 <y>0</y> 0016 <width>771</width> 0017 <height>660</height> 0018 </rect> 0019 </property> 0020 <property name="windowTitle"> 0021 <string>Trace Bitmap</string> 0022 </property> 0023 <property name="windowIcon"> 0024 <iconset theme="bitmap-trace"> 0025 <normaloff>.</normaloff>.</iconset> 0026 </property> 0027 <layout class="QVBoxLayout" name="verticalLayout_2"> 0028 <item> 0029 <layout class="QHBoxLayout" name="layout_main"> 0030 <item> 0031 <widget class="QStackedWidget" name="stacked_preset_advanced"> 0032 <property name="sizePolicy"> 0033 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 0034 <horstretch>0</horstretch> 0035 <verstretch>0</verstretch> 0036 </sizepolicy> 0037 </property> 0038 <property name="currentIndex"> 0039 <number>0</number> 0040 </property> 0041 <widget class="QWidget" name="widget_presets"> 0042 <layout class="QHBoxLayout" name="horizontalLayout_2"> 0043 <property name="leftMargin"> 0044 <number>0</number> 0045 </property> 0046 <property name="topMargin"> 0047 <number>0</number> 0048 </property> 0049 <property name="rightMargin"> 0050 <number>0</number> 0051 </property> 0052 <item> 0053 <widget class="QListWidget" name="list_presets"> 0054 <property name="minimumSize"> 0055 <size> 0056 <width>140</width> 0057 <height>550</height> 0058 </size> 0059 </property> 0060 <property name="maximumSize"> 0061 <size> 0062 <width>140</width> 0063 <height>16777215</height> 0064 </size> 0065 </property> 0066 <property name="verticalScrollBarPolicy"> 0067 <enum>Qt::ScrollBarAlwaysOff</enum> 0068 </property> 0069 <property name="horizontalScrollBarPolicy"> 0070 <enum>Qt::ScrollBarAlwaysOff</enum> 0071 </property> 0072 <property name="iconSize"> 0073 <size> 0074 <width>128</width> 0075 <height>128</height> 0076 </size> 0077 </property> 0078 <property name="flow"> 0079 <enum>QListView::TopToBottom</enum> 0080 </property> 0081 <property name="viewMode"> 0082 <enum>QListView::IconMode</enum> 0083 </property> 0084 <property name="currentRow"> 0085 <number>-1</number> 0086 </property> 0087 <item> 0088 <property name="text"> 0089 <string>Detailed</string> 0090 </property> 0091 </item> 0092 <item> 0093 <property name="text"> 0094 <string>Flat</string> 0095 </property> 0096 </item> 0097 <item> 0098 <property name="text"> 0099 <string>Pixel Art</string> 0100 </property> 0101 </item> 0102 </widget> 0103 </item> 0104 <item> 0105 <widget class="QStackedWidget" name="stacked_preset"> 0106 <property name="currentIndex"> 0107 <number>1</number> 0108 </property> 0109 <widget class="QWidget" name="page_7"> 0110 <layout class="QGridLayout" name="gridLayout_2"> 0111 <property name="leftMargin"> 0112 <number>0</number> 0113 </property> 0114 <property name="topMargin"> 0115 <number>0</number> 0116 </property> 0117 <property name="rightMargin"> 0118 <number>0</number> 0119 </property> 0120 <property name="bottomMargin"> 0121 <number>0</number> 0122 </property> 0123 <item row="1" column="1"> 0124 <widget class="QSpinBox" name="spin_posterize"> 0125 <property name="minimum"> 0126 <number>1</number> 0127 </property> 0128 <property name="maximum"> 0129 <number>999</number> 0130 </property> 0131 <property name="value"> 0132 <number>16</number> 0133 </property> 0134 </widget> 0135 </item> 0136 <item row="0" column="0" colspan="2"> 0137 <widget class="QTextBrowser" name="textBrowser"> 0138 <property name="readOnly"> 0139 <bool>true</bool> 0140 </property> 0141 <property name="html"> 0142 <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> 0143 <html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0144 p, li { white-space: pre-wrap; } 0145 </style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;"> 0146 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This option is best suited for photos, paintings and detailed illustrations.</p> 0147 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> 0148 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The number of colors is reduced based on <span style=" font-weight:600;">Posterization Level</span> below.</p> 0149 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> 0150 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Note that there is a significant reduction in image quality when converting this kind of images to vector graphics.</p> 0151 <p style=" margin-top:37px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">(Image by <a href="https://linktr.ee/FellFallow"><span style=" text-decoration: underline; color:#2980b9;">FellFallow</span></a>)</p></body></html></string> 0152 </property> 0153 <property name="textInteractionFlags"> 0154 <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> 0155 </property> 0156 <property name="openExternalLinks"> 0157 <bool>true</bool> 0158 </property> 0159 </widget> 0160 </item> 0161 <item row="1" column="0"> 0162 <widget class="QLabel" name="label_8"> 0163 <property name="text"> 0164 <string>Posterization Level</string> 0165 </property> 0166 </widget> 0167 </item> 0168 </layout> 0169 </widget> 0170 <widget class="QWidget" name="page_8"> 0171 <layout class="QVBoxLayout" name="verticalLayout_4"> 0172 <property name="leftMargin"> 0173 <number>0</number> 0174 </property> 0175 <property name="topMargin"> 0176 <number>0</number> 0177 </property> 0178 <property name="rightMargin"> 0179 <number>0</number> 0180 </property> 0181 <property name="bottomMargin"> 0182 <number>0</number> 0183 </property> 0184 <item> 0185 <widget class="QTextEdit" name="textEdit_2"> 0186 <property name="readOnly"> 0187 <bool>true</bool> 0188 </property> 0189 <property name="html"> 0190 <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> 0191 <html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0192 p, li { white-space: pre-wrap; } 0193 </style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;"> 0194 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This option is best suited for flat-shaded digital images, stickers, and cartoons.</p> 0195 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> 0196 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The number of colors will be reduced automatically, picking the most common colors in the source image.</p> 0197 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> 0198 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Very small details might get lost in the process.</p></body></html></string> 0199 </property> 0200 <property name="textInteractionFlags"> 0201 <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> 0202 </property> 0203 </widget> 0204 </item> 0205 </layout> 0206 </widget> 0207 <widget class="QWidget" name="page_9"> 0208 <layout class="QVBoxLayout" name="verticalLayout_6"> 0209 <property name="leftMargin"> 0210 <number>0</number> 0211 </property> 0212 <property name="topMargin"> 0213 <number>0</number> 0214 </property> 0215 <property name="rightMargin"> 0216 <number>0</number> 0217 </property> 0218 <property name="bottomMargin"> 0219 <number>0</number> 0220 </property> 0221 <item> 0222 <widget class="QTextEdit" name="textEdit_3"> 0223 <property name="readOnly"> 0224 <bool>true</bool> 0225 </property> 0226 <property name="html"> 0227 <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> 0228 <html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0229 p, li { white-space: pre-wrap; } 0230 </style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;"> 0231 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This is suited for pixel art. The traced vector will retain all colors in the original image as well the pixelated edges.</p> 0232 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> 0233 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This is only suitable for fairly small images with a low number of colors.</p></body></html></string> 0234 </property> 0235 <property name="textInteractionFlags"> 0236 <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> 0237 </property> 0238 </widget> 0239 </item> 0240 </layout> 0241 </widget> 0242 </widget> 0243 </item> 0244 </layout> 0245 </widget> 0246 <widget class="QWidget" name="widget_advanced"> 0247 <layout class="QVBoxLayout" name="verticalLayout"> 0248 <item> 0249 <widget class="QWidget" name="mode_container" native="true"> 0250 <layout class="QHBoxLayout" name="horizontalLayout"> 0251 <item> 0252 <widget class="QLabel" name="label"> 0253 <property name="text"> 0254 <string>Mode</string> 0255 </property> 0256 </widget> 0257 </item> 0258 <item> 0259 <widget class="QComboBox" name="combo_mode"> 0260 <item> 0261 <property name="text"> 0262 <string>Transparency</string> 0263 </property> 0264 </item> 0265 <item> 0266 <property name="text"> 0267 <string>Closest Color</string> 0268 </property> 0269 </item> 0270 <item> 0271 <property name="text"> 0272 <string>Extract Colors</string> 0273 </property> 0274 </item> 0275 <item> 0276 <property name="text"> 0277 <string>Pixel</string> 0278 </property> 0279 </item> 0280 </widget> 0281 </item> 0282 </layout> 0283 </widget> 0284 </item> 0285 <item> 0286 <widget class="QGroupBox" name="groupBox_2"> 0287 <property name="title"> 0288 <string>Image Options</string> 0289 </property> 0290 <layout class="QVBoxLayout" name="verticalLayout_3"> 0291 <item> 0292 <widget class="QStackedWidget" name="stacked_widget"> 0293 <property name="sizePolicy"> 0294 <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> 0295 <horstretch>0</horstretch> 0296 <verstretch>0</verstretch> 0297 </sizepolicy> 0298 </property> 0299 <property name="currentIndex"> 0300 <number>1</number> 0301 </property> 0302 <widget class="QWidget" name="page"> 0303 <layout class="QFormLayout" name="formLayout_2"> 0304 <item row="0" column="0"> 0305 <widget class="QLabel" name="label_4"> 0306 <property name="text"> 0307 <string>Output Color</string> 0308 </property> 0309 </widget> 0310 </item> 0311 <item row="0" column="1"> 0312 <widget class="color_widgets::ColorSelector" name="color_mono"> 0313 <property name="sizePolicy"> 0314 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 0315 <horstretch>0</horstretch> 0316 <verstretch>0</verstretch> 0317 </sizepolicy> 0318 </property> 0319 <property name="color"> 0320 <color> 0321 <red>0</red> 0322 <green>0</green> 0323 <blue>0</blue> 0324 </color> 0325 </property> 0326 </widget> 0327 </item> 0328 <item row="1" column="0"> 0329 <widget class="QLabel" name="label_5"> 0330 <property name="text"> 0331 <string>Invert</string> 0332 </property> 0333 </widget> 0334 </item> 0335 <item row="1" column="1"> 0336 <widget class="QCheckBox" name="check_inverted"> 0337 <property name="text"> 0338 <string/> 0339 </property> 0340 </widget> 0341 </item> 0342 <item row="2" column="0"> 0343 <widget class="QLabel" name="label_6"> 0344 <property name="text"> 0345 <string>Threshold</string> 0346 </property> 0347 </widget> 0348 </item> 0349 <item row="2" column="1"> 0350 <widget class="QSpinBox" name="spin_alpha_threshold"> 0351 <property name="sizePolicy"> 0352 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 0353 <horstretch>0</horstretch> 0354 <verstretch>0</verstretch> 0355 </sizepolicy> 0356 </property> 0357 <property name="maximum"> 0358 <number>255</number> 0359 </property> 0360 <property name="value"> 0361 <number>128</number> 0362 </property> 0363 </widget> 0364 </item> 0365 </layout> 0366 </widget> 0367 <widget class="QWidget" name="page_2"> 0368 <layout class="QVBoxLayout" name="verticalLayout_5"> 0369 <item> 0370 <widget class="QLabel" name="label_7"> 0371 <property name="text"> 0372 <string>Colors</string> 0373 </property> 0374 </widget> 0375 </item> 0376 <item> 0377 <widget class="QListWidget" name="list_colors"> 0378 <property name="dragEnabled"> 0379 <bool>true</bool> 0380 </property> 0381 <property name="dragDropMode"> 0382 <enum>QAbstractItemView::InternalMove</enum> 0383 </property> 0384 <property name="defaultDropAction"> 0385 <enum>Qt::MoveAction</enum> 0386 </property> 0387 </widget> 0388 </item> 0389 <item> 0390 <layout class="QHBoxLayout" name="horizontalLayout_4"> 0391 <item> 0392 <widget class="QToolButton" name="toolButton"> 0393 <property name="toolTip"> 0394 <string>Add Color</string> 0395 </property> 0396 <property name="text"> 0397 <string>Add</string> 0398 </property> 0399 <property name="icon"> 0400 <iconset theme="list-add"> 0401 <normaloff>.</normaloff>.</iconset> 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="QToolButton" name="toolButton_2"> 0420 <property name="toolTip"> 0421 <string>Remove Color</string> 0422 </property> 0423 <property name="text"> 0424 <string>Remove</string> 0425 </property> 0426 <property name="icon"> 0427 <iconset theme="list-remove"> 0428 <normaloff>.</normaloff>.</iconset> 0429 </property> 0430 </widget> 0431 </item> 0432 </layout> 0433 </item> 0434 <item> 0435 <layout class="QGridLayout" name="gridLayout"> 0436 <item row="3" column="2"> 0437 <widget class="QSpinBox" name="spin_color_count"> 0438 <property name="maximum"> 0439 <number>32</number> 0440 </property> 0441 </widget> 0442 </item> 0443 <item row="1" column="2"> 0444 <widget class="QDoubleSpinBox" name="spin_outline"> 0445 <property name="singleStep"> 0446 <double>0.500000000000000</double> 0447 </property> 0448 </widget> 0449 </item> 0450 <item row="0" column="0" colspan="2"> 0451 <widget class="QLabel" name="label_tolerance"> 0452 <property name="text"> 0453 <string>Tolerance</string> 0454 </property> 0455 </widget> 0456 </item> 0457 <item row="1" column="0" colspan="2"> 0458 <widget class="QLabel" name="label_9"> 0459 <property name="text"> 0460 <string>Outline</string> 0461 </property> 0462 </widget> 0463 </item> 0464 <item row="0" column="2"> 0465 <widget class="QSpinBox" name="spin_tolerance"> 0466 <property name="minimum"> 0467 <number>0</number> 0468 </property> 0469 <property name="maximum"> 0470 <number>512</number> 0471 </property> 0472 <property name="singleStep"> 0473 <number>10</number> 0474 </property> 0475 <property name="value"> 0476 <number>10</number> 0477 </property> 0478 </widget> 0479 </item> 0480 <item row="3" column="1"> 0481 <widget class="QPushButton" name="button_detect_colors"> 0482 <property name="text"> 0483 <string>Detect Colors</string> 0484 </property> 0485 </widget> 0486 </item> 0487 <item row="3" column="0"> 0488 <widget class="QToolButton" name="button_quantize_options"> 0489 <property name="toolTip"> 0490 <string>Configure Color Detection</string> 0491 </property> 0492 <property name="text"> 0493 <string>Configure...</string> 0494 </property> 0495 <property name="icon"> 0496 <iconset theme="settings-configure"> 0497 <normaloff>.</normaloff>.</iconset> 0498 </property> 0499 </widget> 0500 </item> 0501 </layout> 0502 </item> 0503 </layout> 0504 </widget> 0505 <widget class="QWidget" name="page_3"/> 0506 </widget> 0507 </item> 0508 </layout> 0509 </widget> 0510 </item> 0511 <item> 0512 <widget class="QGroupBox" name="group_potrace"> 0513 <property name="title"> 0514 <string>Curve Options</string> 0515 </property> 0516 <layout class="QFormLayout" name="formLayout"> 0517 <item row="0" column="0"> 0518 <widget class="QLabel" name="label_2"> 0519 <property name="text"> 0520 <string>Smoothness</string> 0521 </property> 0522 </widget> 0523 </item> 0524 <item row="0" column="1"> 0525 <widget class="QDoubleSpinBox" name="spin_smoothness"> 0526 <property name="sizePolicy"> 0527 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 0528 <horstretch>0</horstretch> 0529 <verstretch>0</verstretch> 0530 </sizepolicy> 0531 </property> 0532 <property name="suffix"> 0533 <string>%</string> 0534 </property> 0535 <property name="decimals"> 0536 <number>0</number> 0537 </property> 0538 <property name="maximum"> 0539 <double>100.000000000000000</double> 0540 </property> 0541 <property name="singleStep"> 0542 <double>5.000000000000000</double> 0543 </property> 0544 </widget> 0545 </item> 0546 <item row="1" column="1"> 0547 <widget class="QSpinBox" name="spin_min_area"> 0548 <property name="sizePolicy"> 0549 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 0550 <horstretch>0</horstretch> 0551 <verstretch>0</verstretch> 0552 </sizepolicy> 0553 </property> 0554 </widget> 0555 </item> 0556 <item row="1" column="0"> 0557 <widget class="QLabel" name="label_3"> 0558 <property name="text"> 0559 <string>Minimum Area</string> 0560 </property> 0561 </widget> 0562 </item> 0563 </layout> 0564 </widget> 0565 </item> 0566 </layout> 0567 </widget> 0568 </widget> 0569 </item> 0570 <item> 0571 <widget class="QGroupBox" name="group_preview"> 0572 <property name="title"> 0573 <string>Preview</string> 0574 </property> 0575 <layout class="QVBoxLayout" name="group_preview_layout"> 0576 <item> 0577 <widget class="QGraphicsView" name="preview"> 0578 <property name="renderHints"> 0579 <set>QPainter::Antialiasing|QPainter::TextAntialiasing</set> 0580 </property> 0581 </widget> 0582 </item> 0583 <item> 0584 <widget class="QSlider" name="preview_slider"> 0585 <property name="maximum"> 0586 <number>100</number> 0587 </property> 0588 <property name="value"> 0589 <number>100</number> 0590 </property> 0591 <property name="orientation"> 0592 <enum>Qt::Horizontal</enum> 0593 </property> 0594 </widget> 0595 </item> 0596 <item> 0597 <widget class="QProgressBar" name="progress_bar"> 0598 <property name="value"> 0599 <number>24</number> 0600 </property> 0601 </widget> 0602 </item> 0603 <item> 0604 <layout class="QHBoxLayout" name="horizontalLayout_7"> 0605 <item> 0606 <widget class="QPushButton" name="button_update_preview"> 0607 <property name="text"> 0608 <string>Update</string> 0609 </property> 0610 <property name="icon"> 0611 <iconset theme="document-preview"> 0612 <normaloff>.</normaloff>.</iconset> 0613 </property> 0614 </widget> 0615 </item> 0616 <item> 0617 <spacer name="horizontalSpacer_2"> 0618 <property name="orientation"> 0619 <enum>Qt::Horizontal</enum> 0620 </property> 0621 <property name="sizeHint" stdset="0"> 0622 <size> 0623 <width>40</width> 0624 <height>0</height> 0625 </size> 0626 </property> 0627 </spacer> 0628 </item> 0629 <item> 0630 <widget class="QLabel" name="label_preview_zoom"> 0631 <property name="text"> 0632 <string>Zoom</string> 0633 </property> 0634 </widget> 0635 </item> 0636 <item> 0637 <widget class="QDoubleSpinBox" name="spin_preview_zoom"> 0638 <property name="suffix"> 0639 <string>%</string> 0640 </property> 0641 <property name="decimals"> 0642 <number>0</number> 0643 </property> 0644 <property name="minimum"> 0645 <double>1.000000000000000</double> 0646 </property> 0647 <property name="maximum"> 0648 <double>10000.000000000000000</double> 0649 </property> 0650 <property name="stepType"> 0651 <enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum> 0652 </property> 0653 <property name="value"> 0654 <double>100.000000000000000</double> 0655 </property> 0656 </widget> 0657 </item> 0658 </layout> 0659 </item> 0660 </layout> 0661 </widget> 0662 </item> 0663 </layout> 0664 </item> 0665 <item> 0666 <layout class="QHBoxLayout" name="layout_buttons"> 0667 <item> 0668 <widget class="QPushButton" name="button_help"> 0669 <property name="text"> 0670 <string>Help...</string> 0671 </property> 0672 <property name="icon"> 0673 <iconset theme="help-contents"> 0674 <normaloff>.</normaloff>.</iconset> 0675 </property> 0676 </widget> 0677 </item> 0678 <item> 0679 <widget class="QPushButton" name="button_defaults"> 0680 <property name="text"> 0681 <string>Revert to Defaults</string> 0682 </property> 0683 <property name="icon"> 0684 <iconset theme="kt-restore-defaults"> 0685 <normaloff>.</normaloff>.</iconset> 0686 </property> 0687 </widget> 0688 </item> 0689 <item> 0690 <widget class="QPushButton" name="button_advanced"> 0691 <property name="text"> 0692 <string>Advanced</string> 0693 </property> 0694 <property name="icon"> 0695 <iconset theme="preferences-system"> 0696 <normaloff>.</normaloff>.</iconset> 0697 </property> 0698 <property name="checkable"> 0699 <bool>true</bool> 0700 </property> 0701 </widget> 0702 </item> 0703 <item> 0704 <widget class="QDialogButtonBox" name="buttonBox"> 0705 <property name="standardButtons"> 0706 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 0707 </property> 0708 </widget> 0709 </item> 0710 </layout> 0711 </item> 0712 </layout> 0713 </widget> 0714 <customwidgets> 0715 <customwidget> 0716 <class>color_widgets::ColorPreview</class> 0717 <extends>QWidget</extends> 0718 <header>QtColorWidgets/color_preview.hpp</header> 0719 <container>1</container> 0720 </customwidget> 0721 <customwidget> 0722 <class>color_widgets::ColorSelector</class> 0723 <extends>color_widgets::ColorPreview</extends> 0724 <header>QtColorWidgets/color_selector.hpp</header> 0725 <container>1</container> 0726 </customwidget> 0727 </customwidgets> 0728 <resources/> 0729 <connections> 0730 <connection> 0731 <sender>button_update_preview</sender> 0732 <signal>clicked()</signal> 0733 <receiver>TraceDialog</receiver> 0734 <slot>update_preview()</slot> 0735 <hints> 0736 <hint type="sourcelabel"> 0737 <x>507</x> 0738 <y>601</y> 0739 </hint> 0740 <hint type="destinationlabel"> 0741 <x>99</x> 0742 <y>534</y> 0743 </hint> 0744 </hints> 0745 </connection> 0746 <connection> 0747 <sender>spin_preview_zoom</sender> 0748 <signal>valueChanged(double)</signal> 0749 <receiver>TraceDialog</receiver> 0750 <slot>zoom_preview(double)</slot> 0751 <hints> 0752 <hint type="sourcelabel"> 0753 <x>754</x> 0754 <y>600</y> 0755 </hint> 0756 <hint type="destinationlabel"> 0757 <x>921</x> 0758 <y>636</y> 0759 </hint> 0760 </hints> 0761 </connection> 0762 <connection> 0763 <sender>button_help</sender> 0764 <signal>clicked()</signal> 0765 <receiver>TraceDialog</receiver> 0766 <slot>show_help()</slot> 0767 <hints> 0768 <hint type="sourcelabel"> 0769 <x>50</x> 0770 <y>634</y> 0771 </hint> 0772 <hint type="destinationlabel"> 0773 <x>128</x> 0774 <y>714</y> 0775 </hint> 0776 </hints> 0777 </connection> 0778 <connection> 0779 <sender>preview_slider</sender> 0780 <signal>sliderMoved(int)</signal> 0781 <receiver>TraceDialog</receiver> 0782 <slot>preview_slide(int)</slot> 0783 <hints> 0784 <hint type="sourcelabel"> 0785 <x>671</x> 0786 <y>513</y> 0787 </hint> 0788 <hint type="destinationlabel"> 0789 <x>1068</x> 0790 <y>536</y> 0791 </hint> 0792 </hints> 0793 </connection> 0794 <connection> 0795 <sender>button_defaults</sender> 0796 <signal>clicked()</signal> 0797 <receiver>TraceDialog</receiver> 0798 <slot>reset_settings()</slot> 0799 <hints> 0800 <hint type="sourcelabel"> 0801 <x>116</x> 0802 <y>643</y> 0803 </hint> 0804 <hint type="destinationlabel"> 0805 <x>156</x> 0806 <y>763</y> 0807 </hint> 0808 </hints> 0809 </connection> 0810 <connection> 0811 <sender>list_presets</sender> 0812 <signal>currentRowChanged(int)</signal> 0813 <receiver>stacked_preset</receiver> 0814 <slot>setCurrentIndex(int)</slot> 0815 <hints> 0816 <hint type="sourcelabel"> 0817 <x>58</x> 0818 <y>260</y> 0819 </hint> 0820 <hint type="destinationlabel"> 0821 <x>266</x> 0822 <y>572</y> 0823 </hint> 0824 </hints> 0825 </connection> 0826 <connection> 0827 <sender>button_advanced</sender> 0828 <signal>toggled(bool)</signal> 0829 <receiver>TraceDialog</receiver> 0830 <slot>toggle_advanced(bool)</slot> 0831 <hints> 0832 <hint type="sourcelabel"> 0833 <x>298</x> 0834 <y>645</y> 0835 </hint> 0836 <hint type="destinationlabel"> 0837 <x>347</x> 0838 <y>715</y> 0839 </hint> 0840 </hints> 0841 </connection> 0842 <connection> 0843 <sender>list_presets</sender> 0844 <signal>currentRowChanged(int)</signal> 0845 <receiver>TraceDialog</receiver> 0846 <slot>update_preview()</slot> 0847 <hints> 0848 <hint type="sourcelabel"> 0849 <x>82</x> 0850 <y>485</y> 0851 </hint> 0852 <hint type="destinationlabel"> 0853 <x>260</x> 0854 <y>831</y> 0855 </hint> 0856 </hints> 0857 </connection> 0858 <connection> 0859 <sender>button_detect_colors</sender> 0860 <signal>clicked()</signal> 0861 <receiver>TraceDialog</receiver> 0862 <slot>auto_colors()</slot> 0863 <hints> 0864 <hint type="sourcelabel"> 0865 <x>174</x> 0866 <y>458</y> 0867 </hint> 0868 <hint type="destinationlabel"> 0869 <x>325</x> 0870 <y>664</y> 0871 </hint> 0872 </hints> 0873 </connection> 0874 <connection> 0875 <sender>button_quantize_options</sender> 0876 <signal>clicked()</signal> 0877 <receiver>TraceDialog</receiver> 0878 <slot>color_options()</slot> 0879 <hints> 0880 <hint type="sourcelabel"> 0881 <x>43</x> 0882 <y>450</y> 0883 </hint> 0884 <hint type="destinationlabel"> 0885 <x>246</x> 0886 <y>699</y> 0887 </hint> 0888 </hints> 0889 </connection> 0890 <connection> 0891 <sender>toolButton</sender> 0892 <signal>clicked()</signal> 0893 <receiver>TraceDialog</receiver> 0894 <slot>add_color()</slot> 0895 <hints> 0896 <hint type="sourcelabel"> 0897 <x>43</x> 0898 <y>339</y> 0899 </hint> 0900 <hint type="destinationlabel"> 0901 <x>364</x> 0902 <y>758</y> 0903 </hint> 0904 </hints> 0905 </connection> 0906 <connection> 0907 <sender>toolButton_2</sender> 0908 <signal>clicked()</signal> 0909 <receiver>TraceDialog</receiver> 0910 <slot>remove_color()</slot> 0911 <hints> 0912 <hint type="sourcelabel"> 0913 <x>367</x> 0914 <y>339</y> 0915 </hint> 0916 <hint type="destinationlabel"> 0917 <x>500</x> 0918 <y>734</y> 0919 </hint> 0920 </hints> 0921 </connection> 0922 <connection> 0923 <sender>buttonBox</sender> 0924 <signal>rejected()</signal> 0925 <receiver>TraceDialog</receiver> 0926 <slot>reject()</slot> 0927 <hints> 0928 <hint type="sourcelabel"> 0929 <x>499</x> 0930 <y>630</y> 0931 </hint> 0932 <hint type="destinationlabel"> 0933 <x>525</x> 0934 <y>789</y> 0935 </hint> 0936 </hints> 0937 </connection> 0938 <connection> 0939 <sender>buttonBox</sender> 0940 <signal>accepted()</signal> 0941 <receiver>TraceDialog</receiver> 0942 <slot>apply()</slot> 0943 <hints> 0944 <hint type="sourcelabel"> 0945 <x>532</x> 0946 <y>642</y> 0947 </hint> 0948 <hint type="destinationlabel"> 0949 <x>541</x> 0950 <y>678</y> 0951 </hint> 0952 </hints> 0953 </connection> 0954 </connections> 0955 <slots> 0956 <slot>update_preview()</slot> 0957 <slot>apply()</slot> 0958 <slot>change_mode(int)</slot> 0959 <slot>add_color()</slot> 0960 <slot>remove_color()</slot> 0961 <slot>auto_colors()</slot> 0962 <slot>zoom_preview(double)</slot> 0963 <slot>show_help()</slot> 0964 <slot>preview_slide(int)</slot> 0965 <slot>reset_settings()</slot> 0966 <slot>color_options()</slot> 0967 <slot>toggle_advanced(bool)</slot> 0968 <slot>preset_changed(int)</slot> 0969 </slots> 0970 </ui>