Warning, /graphics/glaxnimate/src/gui/widgets/shape_style/stroke_style_widget.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>StrokeStyleWidget</class> 0011 <widget class="QWidget" name="StrokeStyleWidget"> 0012 <property name="geometry"> 0013 <rect> 0014 <x>0</x> 0015 <y>0</y> 0016 <width>262</width> 0017 <height>284</height> 0018 </rect> 0019 </property> 0020 <property name="sizePolicy"> 0021 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 0022 <horstretch>0</horstretch> 0023 <verstretch>0</verstretch> 0024 </sizepolicy> 0025 </property> 0026 <layout class="QVBoxLayout" name="main_layout"> 0027 <item> 0028 <widget class="QTabWidget" name="tab_widget"> 0029 <property name="sizePolicy"> 0030 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 0031 <horstretch>0</horstretch> 0032 <verstretch>0</verstretch> 0033 </sizepolicy> 0034 </property> 0035 <property name="currentIndex"> 0036 <number>1</number> 0037 </property> 0038 <widget class="QWidget" name="tab"> 0039 <attribute name="title"> 0040 <string>Style</string> 0041 </attribute> 0042 <layout class="QFormLayout" name="formLayout"> 0043 <item row="0" column="0"> 0044 <widget class="QLabel" name="label"> 0045 <property name="text"> 0046 <string>Width</string> 0047 </property> 0048 </widget> 0049 </item> 0050 <item row="0" column="1"> 0051 <widget class="QDoubleSpinBox" name="spin_stroke_width"> 0052 <property name="sizePolicy"> 0053 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 0054 <horstretch>0</horstretch> 0055 <verstretch>0</verstretch> 0056 </sizepolicy> 0057 </property> 0058 <property name="toolTip"> 0059 <string>Stroke Width</string> 0060 </property> 0061 <property name="maximum"> 0062 <double>999.990000000000009</double> 0063 </property> 0064 </widget> 0065 </item> 0066 <item row="1" column="0"> 0067 <widget class="QLabel" name="label_2"> 0068 <property name="text"> 0069 <string>Cap</string> 0070 </property> 0071 </widget> 0072 </item> 0073 <item row="1" column="1"> 0074 <layout class="QHBoxLayout" name="layout_cap"> 0075 <item> 0076 <widget class="QToolButton" name="button_cap_butt"> 0077 <property name="toolTip"> 0078 <string>Butt</string> 0079 </property> 0080 <property name="text"> 0081 <string>Butt</string> 0082 </property> 0083 <property name="icon"> 0084 <iconset theme="stroke-cap-butt"> 0085 <normaloff>.</normaloff>.</iconset> 0086 </property> 0087 <property name="checkable"> 0088 <bool>true</bool> 0089 </property> 0090 </widget> 0091 </item> 0092 <item> 0093 <spacer name="horizontalSpacer"> 0094 <property name="orientation"> 0095 <enum>Qt::Horizontal</enum> 0096 </property> 0097 <property name="sizeHint" stdset="0"> 0098 <size> 0099 <width>40</width> 0100 <height>20</height> 0101 </size> 0102 </property> 0103 </spacer> 0104 </item> 0105 <item> 0106 <widget class="QToolButton" name="button_cap_round"> 0107 <property name="toolTip"> 0108 <string>Round</string> 0109 </property> 0110 <property name="text"> 0111 <string>Round</string> 0112 </property> 0113 <property name="icon"> 0114 <iconset theme="stroke-cap-round"> 0115 <normaloff>.</normaloff>.</iconset> 0116 </property> 0117 <property name="checkable"> 0118 <bool>true</bool> 0119 </property> 0120 </widget> 0121 </item> 0122 <item> 0123 <spacer name="horizontalSpacer_2"> 0124 <property name="orientation"> 0125 <enum>Qt::Horizontal</enum> 0126 </property> 0127 <property name="sizeHint" stdset="0"> 0128 <size> 0129 <width>40</width> 0130 <height>20</height> 0131 </size> 0132 </property> 0133 </spacer> 0134 </item> 0135 <item> 0136 <widget class="QToolButton" name="button_cap_square"> 0137 <property name="toolTip"> 0138 <string>Square</string> 0139 </property> 0140 <property name="text"> 0141 <string>Square</string> 0142 </property> 0143 <property name="icon"> 0144 <iconset theme="stroke-cap-square"> 0145 <normaloff>.</normaloff>.</iconset> 0146 </property> 0147 <property name="checkable"> 0148 <bool>true</bool> 0149 </property> 0150 </widget> 0151 </item> 0152 </layout> 0153 </item> 0154 <item row="2" column="0"> 0155 <widget class="QLabel" name="label_3"> 0156 <property name="text"> 0157 <string>Join</string> 0158 </property> 0159 </widget> 0160 </item> 0161 <item row="2" column="1"> 0162 <layout class="QHBoxLayout" name="layout_join"> 0163 <item> 0164 <widget class="QToolButton" name="button_join_bevel"> 0165 <property name="toolTip"> 0166 <string>Bevel</string> 0167 </property> 0168 <property name="text"> 0169 <string>Bevel</string> 0170 </property> 0171 <property name="icon"> 0172 <iconset theme="stroke-join-bevel"> 0173 <normaloff>.</normaloff>.</iconset> 0174 </property> 0175 <property name="checkable"> 0176 <bool>true</bool> 0177 </property> 0178 </widget> 0179 </item> 0180 <item> 0181 <spacer name="horizontalSpacer_3"> 0182 <property name="orientation"> 0183 <enum>Qt::Horizontal</enum> 0184 </property> 0185 <property name="sizeHint" stdset="0"> 0186 <size> 0187 <width>40</width> 0188 <height>20</height> 0189 </size> 0190 </property> 0191 </spacer> 0192 </item> 0193 <item> 0194 <widget class="QToolButton" name="button_join_round"> 0195 <property name="toolTip"> 0196 <string>Round</string> 0197 </property> 0198 <property name="text"> 0199 <string>Round</string> 0200 </property> 0201 <property name="icon"> 0202 <iconset theme="stroke-join-round"> 0203 <normaloff>.</normaloff>.</iconset> 0204 </property> 0205 <property name="checkable"> 0206 <bool>true</bool> 0207 </property> 0208 </widget> 0209 </item> 0210 <item> 0211 <spacer name="horizontalSpacer_4"> 0212 <property name="orientation"> 0213 <enum>Qt::Horizontal</enum> 0214 </property> 0215 <property name="sizeHint" stdset="0"> 0216 <size> 0217 <width>40</width> 0218 <height>20</height> 0219 </size> 0220 </property> 0221 </spacer> 0222 </item> 0223 <item> 0224 <widget class="QToolButton" name="button_join_miter"> 0225 <property name="toolTip"> 0226 <string>Miter</string> 0227 </property> 0228 <property name="text"> 0229 <string>Miter</string> 0230 </property> 0231 <property name="icon"> 0232 <iconset theme="stroke-join-miter"> 0233 <normaloff>.</normaloff>.</iconset> 0234 </property> 0235 <property name="checkable"> 0236 <bool>true</bool> 0237 </property> 0238 </widget> 0239 </item> 0240 </layout> 0241 </item> 0242 <item row="3" column="1"> 0243 <layout class="QHBoxLayout" name="horizontalLayout_2"> 0244 <item> 0245 <spacer name="horizontalSpacer_5"> 0246 <property name="orientation"> 0247 <enum>Qt::Horizontal</enum> 0248 </property> 0249 <property name="sizeHint" stdset="0"> 0250 <size> 0251 <width>40</width> 0252 <height>20</height> 0253 </size> 0254 </property> 0255 </spacer> 0256 </item> 0257 <item> 0258 <widget class="QDoubleSpinBox" name="spin_miter"> 0259 <property name="enabled"> 0260 <bool>false</bool> 0261 </property> 0262 <property name="toolTip"> 0263 <string>Miter Limit</string> 0264 </property> 0265 <property name="decimals"> 0266 <number>2</number> 0267 </property> 0268 <property name="maximum"> 0269 <double>999.990000000000009</double> 0270 </property> 0271 </widget> 0272 </item> 0273 </layout> 0274 </item> 0275 </layout> 0276 </widget> 0277 <widget class="QWidget" name="tab_3"> 0278 <attribute name="title"> 0279 <string>Color</string> 0280 </attribute> 0281 <layout class="QVBoxLayout" name="verticalLayout_3"> 0282 <property name="leftMargin"> 0283 <number>0</number> 0284 </property> 0285 <property name="topMargin"> 0286 <number>0</number> 0287 </property> 0288 <property name="rightMargin"> 0289 <number>0</number> 0290 </property> 0291 <property name="bottomMargin"> 0292 <number>0</number> 0293 </property> 0294 <item> 0295 <widget class="QScrollArea" name="scrollArea"> 0296 <property name="frameShape"> 0297 <enum>QFrame::NoFrame</enum> 0298 </property> 0299 <property name="widgetResizable"> 0300 <bool>true</bool> 0301 </property> 0302 <widget class="QWidget" name="scrollAreaWidgetContents"> 0303 <property name="geometry"> 0304 <rect> 0305 <x>0</x> 0306 <y>0</y> 0307 <width>242</width> 0308 <height>165</height> 0309 </rect> 0310 </property> 0311 <layout class="QVBoxLayout" name="verticalLayout_2"> 0312 <property name="leftMargin"> 0313 <number>0</number> 0314 </property> 0315 <property name="topMargin"> 0316 <number>0</number> 0317 </property> 0318 <property name="rightMargin"> 0319 <number>0</number> 0320 </property> 0321 <property name="bottomMargin"> 0322 <number>0</number> 0323 </property> 0324 <item> 0325 <widget class="glaxnimate::gui::ColorSelector" name="color_selector" native="true"/> 0326 </item> 0327 </layout> 0328 </widget> 0329 </widget> 0330 </item> 0331 </layout> 0332 </widget> 0333 <widget class="QWidget" name="tab_2"> 0334 <property name="enabled"> 0335 <bool>false</bool> 0336 </property> 0337 <attribute name="title"> 0338 <string>Dashes</string> 0339 </attribute> 0340 </widget> 0341 </widget> 0342 </item> 0343 <item> 0344 <widget class="QWidget" name="frame" native="true"> 0345 <property name="sizePolicy"> 0346 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 0347 <horstretch>0</horstretch> 0348 <verstretch>0</verstretch> 0349 </sizepolicy> 0350 </property> 0351 <property name="minimumSize"> 0352 <size> 0353 <width>0</width> 0354 <height>64</height> 0355 </size> 0356 </property> 0357 <property name="maximumSize"> 0358 <size> 0359 <width>16777215</width> 0360 <height>128</height> 0361 </size> 0362 </property> 0363 </widget> 0364 </item> 0365 </layout> 0366 </widget> 0367 <customwidgets> 0368 <customwidget> 0369 <class>glaxnimate::gui::ColorSelector</class> 0370 <extends>QWidget</extends> 0371 <header>widgets/shape_style/color_selector.hpp</header> 0372 <container>1</container> 0373 <slots> 0374 <signal>secondary_color_changed(QColor)</signal> 0375 <signal>current_color_changed(QColor)</signal> 0376 <signal>current_color_committed(QColor)</signal> 0377 <signal>current_color_cleared()</signal> 0378 <slot>set_secondary_color(QColor)</slot> 0379 </slots> 0380 </customwidget> 0381 </customwidgets> 0382 <resources/> 0383 <connections> 0384 <connection> 0385 <sender>button_join_miter</sender> 0386 <signal>toggled(bool)</signal> 0387 <receiver>spin_miter</receiver> 0388 <slot>setEnabled(bool)</slot> 0389 <hints> 0390 <hint type="sourcelabel"> 0391 <x>244</x> 0392 <y>153</y> 0393 </hint> 0394 <hint type="destinationlabel"> 0395 <x>244</x> 0396 <y>193</y> 0397 </hint> 0398 </hints> 0399 </connection> 0400 <connection> 0401 <sender>button_cap_butt</sender> 0402 <signal>clicked()</signal> 0403 <receiver>StrokeStyleWidget</receiver> 0404 <slot>check_cap()</slot> 0405 <hints> 0406 <hint type="sourcelabel"> 0407 <x>91</x> 0408 <y>113</y> 0409 </hint> 0410 <hint type="destinationlabel"> 0411 <x>91</x> 0412 <y>0</y> 0413 </hint> 0414 </hints> 0415 </connection> 0416 <connection> 0417 <sender>button_cap_round</sender> 0418 <signal>clicked()</signal> 0419 <receiver>StrokeStyleWidget</receiver> 0420 <slot>check_cap()</slot> 0421 <hints> 0422 <hint type="sourcelabel"> 0423 <x>167</x> 0424 <y>113</y> 0425 </hint> 0426 <hint type="destinationlabel"> 0427 <x>116</x> 0428 <y>0</y> 0429 </hint> 0430 </hints> 0431 </connection> 0432 <connection> 0433 <sender>button_cap_square</sender> 0434 <signal>clicked()</signal> 0435 <receiver>StrokeStyleWidget</receiver> 0436 <slot>check_cap()</slot> 0437 <hints> 0438 <hint type="sourcelabel"> 0439 <x>244</x> 0440 <y>113</y> 0441 </hint> 0442 <hint type="destinationlabel"> 0443 <x>255</x> 0444 <y>91</y> 0445 </hint> 0446 </hints> 0447 </connection> 0448 <connection> 0449 <sender>button_join_miter</sender> 0450 <signal>clicked()</signal> 0451 <receiver>StrokeStyleWidget</receiver> 0452 <slot>check_join()</slot> 0453 <hints> 0454 <hint type="sourcelabel"> 0455 <x>244</x> 0456 <y>153</y> 0457 </hint> 0458 <hint type="destinationlabel"> 0459 <x>243</x> 0460 <y>141</y> 0461 </hint> 0462 </hints> 0463 </connection> 0464 <connection> 0465 <sender>button_join_bevel</sender> 0466 <signal>clicked()</signal> 0467 <receiver>StrokeStyleWidget</receiver> 0468 <slot>check_join()</slot> 0469 <hints> 0470 <hint type="sourcelabel"> 0471 <x>91</x> 0472 <y>153</y> 0473 </hint> 0474 <hint type="destinationlabel"> 0475 <x>0</x> 0476 <y>128</y> 0477 </hint> 0478 </hints> 0479 </connection> 0480 <connection> 0481 <sender>button_join_round</sender> 0482 <signal>clicked()</signal> 0483 <receiver>StrokeStyleWidget</receiver> 0484 <slot>check_join()</slot> 0485 <hints> 0486 <hint type="sourcelabel"> 0487 <x>167</x> 0488 <y>153</y> 0489 </hint> 0490 <hint type="destinationlabel"> 0491 <x>261</x> 0492 <y>180</y> 0493 </hint> 0494 </hints> 0495 </connection> 0496 <connection> 0497 <sender>spin_stroke_width</sender> 0498 <signal>valueChanged(double)</signal> 0499 <receiver>StrokeStyleWidget</receiver> 0500 <slot>check_width(double)</slot> 0501 <hints> 0502 <hint type="sourcelabel"> 0503 <x>140</x> 0504 <y>45</y> 0505 </hint> 0506 <hint type="destinationlabel"> 0507 <x>239</x> 0508 <y>65</y> 0509 </hint> 0510 </hints> 0511 </connection> 0512 <connection> 0513 <sender>spin_miter</sender> 0514 <signal>valueChanged(double)</signal> 0515 <receiver>StrokeStyleWidget</receiver> 0516 <slot>check_miter(double)</slot> 0517 <hints> 0518 <hint type="sourcelabel"> 0519 <x>244</x> 0520 <y>193</y> 0521 </hint> 0522 <hint type="destinationlabel"> 0523 <x>257</x> 0524 <y>168</y> 0525 </hint> 0526 </hints> 0527 </connection> 0528 <connection> 0529 <sender>color_selector</sender> 0530 <signal>current_color_changed(QColor)</signal> 0531 <receiver>StrokeStyleWidget</receiver> 0532 <slot>check_color(QColor)</slot> 0533 <hints> 0534 <hint type="sourcelabel"> 0535 <x>203</x> 0536 <y>158</y> 0537 </hint> 0538 <hint type="destinationlabel"> 0539 <x>261</x> 0540 <y>203</y> 0541 </hint> 0542 </hints> 0543 </connection> 0544 <connection> 0545 <sender>color_selector</sender> 0546 <signal>current_color_committed(QColor)</signal> 0547 <receiver>StrokeStyleWidget</receiver> 0548 <slot>color_committed(QColor)</slot> 0549 <hints> 0550 <hint type="sourcelabel"> 0551 <x>111</x> 0552 <y>111</y> 0553 </hint> 0554 <hint type="destinationlabel"> 0555 <x>261</x> 0556 <y>121</y> 0557 </hint> 0558 </hints> 0559 </connection> 0560 <connection> 0561 <sender>spin_stroke_width</sender> 0562 <signal>editingFinished()</signal> 0563 <receiver>StrokeStyleWidget</receiver> 0564 <slot>commit_width()</slot> 0565 <hints> 0566 <hint type="sourcelabel"> 0567 <x>140</x> 0568 <y>45</y> 0569 </hint> 0570 <hint type="destinationlabel"> 0571 <x>261</x> 0572 <y>35</y> 0573 </hint> 0574 </hints> 0575 </connection> 0576 <connection> 0577 <sender>color_selector</sender> 0578 <signal>current_color_cleared()</signal> 0579 <receiver>StrokeStyleWidget</receiver> 0580 <slot>clear_color()</slot> 0581 <hints> 0582 <hint type="sourcelabel"> 0583 <x>171</x> 0584 <y>171</y> 0585 </hint> 0586 <hint type="destinationlabel"> 0587 <x>447</x> 0588 <y>168</y> 0589 </hint> 0590 </hints> 0591 </connection> 0592 </connections> 0593 <slots> 0594 <slot>check_join()</slot> 0595 <slot>check_cap()</slot> 0596 <slot>check_color(QColor)</slot> 0597 <slot>check_width(double)</slot> 0598 <slot>check_miter(double)</slot> 0599 <slot>color_committed(QColor)</slot> 0600 <slot>commit_width()</slot> 0601 <slot>clear_color()</slot> 0602 </slots> 0603 </ui>