Warning, /graphics/glaxnimate/src/gui/widgets/dialogs/resize_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>glaxnimate::gui::ResizeDialog</class> 0011 <widget class="QDialog" name="ResizeDialog"> 0012 <property name="geometry"> 0013 <rect> 0014 <x>0</x> 0015 <y>0</y> 0016 <width>209</width> 0017 <height>178</height> 0018 </rect> 0019 </property> 0020 <property name="windowTitle"> 0021 <string>Resize Document</string> 0022 </property> 0023 <layout class="QGridLayout" name="gridLayout"> 0024 <item row="1" column="0"> 0025 <widget class="QLabel" name="label_2"> 0026 <property name="sizePolicy"> 0027 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 0028 <horstretch>0</horstretch> 0029 <verstretch>0</verstretch> 0030 </sizepolicy> 0031 </property> 0032 <property name="text"> 0033 <string>Height</string> 0034 </property> 0035 </widget> 0036 </item> 0037 <item row="4" column="0" colspan="3"> 0038 <widget class="QDialogButtonBox" name="buttonBox"> 0039 <property name="orientation"> 0040 <enum>Qt::Horizontal</enum> 0041 </property> 0042 <property name="standardButtons"> 0043 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 0044 </property> 0045 </widget> 0046 </item> 0047 <item row="0" column="0"> 0048 <widget class="QLabel" name="label"> 0049 <property name="sizePolicy"> 0050 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 0051 <horstretch>0</horstretch> 0052 <verstretch>0</verstretch> 0053 </sizepolicy> 0054 </property> 0055 <property name="text"> 0056 <string>Width</string> 0057 </property> 0058 </widget> 0059 </item> 0060 <item row="0" column="2" rowspan="2"> 0061 <layout class="QVBoxLayout" name="verticalLayout"> 0062 <item> 0063 <widget class="QPushButton" name="check_aspect"> 0064 <property name="sizePolicy"> 0065 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 0066 <horstretch>0</horstretch> 0067 <verstretch>0</verstretch> 0068 </sizepolicy> 0069 </property> 0070 <property name="toolTip"> 0071 <string>Lock Aspect Ratio</string> 0072 </property> 0073 <property name="text"> 0074 <string notr="true"/> 0075 </property> 0076 <property name="icon"> 0077 <iconset theme="lock"> 0078 <normaloff>.</normaloff>.</iconset> 0079 </property> 0080 <property name="checkable"> 0081 <bool>true</bool> 0082 </property> 0083 <property name="checked"> 0084 <bool>false</bool> 0085 </property> 0086 </widget> 0087 </item> 0088 </layout> 0089 </item> 0090 <item row="2" column="0" colspan="3"> 0091 <widget class="QCheckBox" name="check_scale_layers"> 0092 <property name="text"> 0093 <string>Scale Layers</string> 0094 </property> 0095 <property name="checked"> 0096 <bool>true</bool> 0097 </property> 0098 </widget> 0099 </item> 0100 <item row="3" column="0" colspan="3"> 0101 <widget class="QCheckBox" name="check_layer_ratio"> 0102 <property name="text"> 0103 <string>Preserve Layer Aspect Ratio</string> 0104 </property> 0105 <property name="checked"> 0106 <bool>true</bool> 0107 </property> 0108 </widget> 0109 </item> 0110 <item row="0" column="1"> 0111 <widget class="QSpinBox" name="spin_width"> 0112 <property name="sizePolicy"> 0113 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 0114 <horstretch>0</horstretch> 0115 <verstretch>0</verstretch> 0116 </sizepolicy> 0117 </property> 0118 <property name="maximum"> 0119 <number>99999</number> 0120 </property> 0121 </widget> 0122 </item> 0123 <item row="1" column="1"> 0124 <widget class="QSpinBox" name="spin_height"> 0125 <property name="sizePolicy"> 0126 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 0127 <horstretch>0</horstretch> 0128 <verstretch>0</verstretch> 0129 </sizepolicy> 0130 </property> 0131 <property name="maximum"> 0132 <number>99999</number> 0133 </property> 0134 </widget> 0135 </item> 0136 </layout> 0137 </widget> 0138 <resources/> 0139 <connections> 0140 <connection> 0141 <sender>buttonBox</sender> 0142 <signal>accepted()</signal> 0143 <receiver>ResizeDialog</receiver> 0144 <slot>accept()</slot> 0145 <hints> 0146 <hint type="sourcelabel"> 0147 <x>26</x> 0148 <y>158</y> 0149 </hint> 0150 <hint type="destinationlabel"> 0151 <x>20</x> 0152 <y>20</y> 0153 </hint> 0154 </hints> 0155 </connection> 0156 <connection> 0157 <sender>buttonBox</sender> 0158 <signal>rejected()</signal> 0159 <receiver>ResizeDialog</receiver> 0160 <slot>reject()</slot> 0161 <hints> 0162 <hint type="sourcelabel"> 0163 <x>26</x> 0164 <y>158</y> 0165 </hint> 0166 <hint type="destinationlabel"> 0167 <x>20</x> 0168 <y>20</y> 0169 </hint> 0170 </hints> 0171 </connection> 0172 <connection> 0173 <sender>check_scale_layers</sender> 0174 <signal>toggled(bool)</signal> 0175 <receiver>check_layer_ratio</receiver> 0176 <slot>setEnabled(bool)</slot> 0177 <hints> 0178 <hint type="sourcelabel"> 0179 <x>68</x> 0180 <y>92</y> 0181 </hint> 0182 <hint type="destinationlabel"> 0183 <x>65</x> 0184 <y>121</y> 0185 </hint> 0186 </hints> 0187 </connection> 0188 <connection> 0189 <sender>spin_height</sender> 0190 <signal>valueChanged(int)</signal> 0191 <receiver>ResizeDialog</receiver> 0192 <slot>height_changed(int)</slot> 0193 <hints> 0194 <hint type="sourcelabel"> 0195 <x>141</x> 0196 <y>58</y> 0197 </hint> 0198 <hint type="destinationlabel"> 0199 <x>230</x> 0200 <y>67</y> 0201 </hint> 0202 </hints> 0203 </connection> 0204 <connection> 0205 <sender>spin_width</sender> 0206 <signal>valueChanged(int)</signal> 0207 <receiver>ResizeDialog</receiver> 0208 <slot>width_changed(int)</slot> 0209 <hints> 0210 <hint type="sourcelabel"> 0211 <x>136</x> 0212 <y>13</y> 0213 </hint> 0214 <hint type="destinationlabel"> 0215 <x>251</x> 0216 <y>20</y> 0217 </hint> 0218 </hints> 0219 </connection> 0220 <connection> 0221 <sender>check_aspect</sender> 0222 <signal>clicked(bool)</signal> 0223 <receiver>ResizeDialog</receiver> 0224 <slot>lock_changed(bool)</slot> 0225 <hints> 0226 <hint type="sourcelabel"> 0227 <x>194</x> 0228 <y>44</y> 0229 </hint> 0230 <hint type="destinationlabel"> 0231 <x>225</x> 0232 <y>45</y> 0233 </hint> 0234 </hints> 0235 </connection> 0236 </connections> 0237 <slots> 0238 <slot>width_changed(int)</slot> 0239 <slot>height_changed(int)</slot> 0240 <slot>lock_changed(bool)</slot> 0241 </slots> 0242 </ui>