1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>QG_DlgScale</class> 4 <widget class="QDialog" name="QG_DlgScale"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>422</width> 10 <height>277</height> 11 </rect> 12 </property> 13 <property name="sizePolicy"> 14 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 15 <horstretch>0</horstretch> 16 <verstretch>0</verstretch> 17 </sizepolicy> 18 </property> 19 <property name="minimumSize"> 20 <size> 21 <width>300</width> 22 <height>190</height> 23 </size> 24 </property> 25 <property name="windowTitle"> 26 <string>Scaling Options</string> 27 </property> 28 <widget class="QGroupBox" name="bgNumber"> 29 <property name="geometry"> 30 <rect> 31 <x>9</x> 32 <y>9</y> 33 <width>159</width> 34 <height>165</height> 35 </rect> 36 </property> 37 <property name="title"> 38 <string>Number of copies</string> 39 </property> 40 <layout class="QVBoxLayout"> 41 <item> 42 <widget class="QRadioButton" name="rbMove"> 43 <property name="sizePolicy"> 44 <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> 45 <horstretch>0</horstretch> 46 <verstretch>0</verstretch> 47 </sizepolicy> 48 </property> 49 <property name="minimumSize"> 50 <size> 51 <width>0</width> 52 <height>18</height> 53 </size> 54 </property> 55 <property name="text"> 56 <string>&Delete Original</string> 57 </property> 58 </widget> 59 </item> 60 <item> 61 <widget class="QRadioButton" name="rbCopy"> 62 <property name="sizePolicy"> 63 <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> 64 <horstretch>0</horstretch> 65 <verstretch>0</verstretch> 66 </sizepolicy> 67 </property> 68 <property name="minimumSize"> 69 <size> 70 <width>0</width> 71 <height>18</height> 72 </size> 73 </property> 74 <property name="text"> 75 <string>&Keep Original</string> 76 </property> 77 </widget> 78 </item> 79 <item> 80 <widget class="QRadioButton" name="rbMultiCopy"> 81 <property name="sizePolicy"> 82 <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> 83 <horstretch>0</horstretch> 84 <verstretch>0</verstretch> 85 </sizepolicy> 86 </property> 87 <property name="minimumSize"> 88 <size> 89 <width>0</width> 90 <height>18</height> 91 </size> 92 </property> 93 <property name="text"> 94 <string>&Multiple Copies</string> 95 </property> 96 </widget> 97 </item> 98 <item> 99 <widget class="QLineEdit" name="leNumber"/> 100 </item> 101 <item> 102 <spacer name="spacer7"> 103 <property name="orientation"> 104 <enum>Qt::Vertical</enum> 105 </property> 106 <property name="sizeType"> 107 <enum>QSizePolicy::Expanding</enum> 108 </property> 109 <property name="sizeHint" stdset="0"> 110 <size> 111 <width>20</width> 112 <height>16</height> 113 </size> 114 </property> 115 </spacer> 116 </item> 117 </layout> 118 </widget> 119 <widget class="QToolButton" name="toolButton"> 120 <property name="geometry"> 121 <rect> 122 <x>175</x> 123 <y>10</y> 124 <width>86</width> 125 <height>88</height> 126 </rect> 127 </property> 128 <property name="text"> 129 <string>...</string> 130 </property> 131 <property name="icon"> 132 <iconset resource="../../../res/extui/extui.qrc"> 133 <normaloff>:/extui/dlgmodifyscale.png</normaloff>:/extui/dlgmodifyscale.png</iconset> 134 </property> 135 <property name="iconSize"> 136 <size> 137 <width>80</width> 138 <height>80</height> 139 </size> 140 </property> 141 </widget> 142 <widget class="QWidget" name="layoutWidget_1"> 143 <property name="geometry"> 144 <rect> 145 <x>180</x> 146 <y>100</y> 147 <width>237</width> 148 <height>41</height> 149 </rect> 150 </property> 151 <layout class="QHBoxLayout"> 152 <item> 153 <widget class="QCheckBox" name="cbIsotropic"> 154 <property name="toolTip"> 155 <string>Scale by the same factor at both x- and y- directions</string> 156 </property> 157 <property name="text"> 158 <string>Isotropic Scaling</string> 159 </property> 160 <property name="checked"> 161 <bool>true</bool> 162 </property> 163 </widget> 164 </item> 165 </layout> 166 </widget> 167 <widget class="QCheckBox" name="cbCurrentLayer"> 168 <property name="geometry"> 169 <rect> 170 <x>175</x> 171 <y>210</y> 172 <width>146</width> 173 <height>21</height> 174 </rect> 175 </property> 176 <property name="text"> 177 <string>Use current &layer</string> 178 </property> 179 </widget> 180 <widget class="QCheckBox" name="cbCurrentAttributes"> 181 <property name="geometry"> 182 <rect> 183 <x>175</x> 184 <y>190</y> 185 <width>179</width> 186 <height>21</height> 187 </rect> 188 </property> 189 <property name="text"> 190 <string>Use current &attributes</string> 191 </property> 192 </widget> 193 <widget class="QWidget" name="layoutWidget_2"> 194 <property name="geometry"> 195 <rect> 196 <x>180</x> 197 <y>140</y> 198 <width>237</width> 199 <height>41</height> 200 </rect> 201 </property> 202 <layout class="QHBoxLayout" name="_2"> 203 <item> 204 <widget class="QLabel" name="lFactor"> 205 <property name="text"> 206 <string>X</string> 207 </property> 208 <property name="wordWrap"> 209 <bool>false</bool> 210 </property> 211 </widget> 212 </item> 213 <item> 214 <widget class="QLineEdit" name="leFactorX"> 215 <property name="text"> 216 <string notr="true">1.0</string> 217 </property> 218 </widget> 219 </item> 220 <item> 221 <spacer name="horizontalSpacer"> 222 <property name="orientation"> 223 <enum>Qt::Horizontal</enum> 224 </property> 225 <property name="sizeHint" stdset="0"> 226 <size> 227 <width>40</width> 228 <height>20</height> 229 </size> 230 </property> 231 </spacer> 232 </item> 233 <item> 234 <widget class="QLabel" name="lFactor_2"> 235 <property name="text"> 236 <string>Y</string> 237 </property> 238 <property name="wordWrap"> 239 <bool>false</bool> 240 </property> 241 </widget> 242 </item> 243 <item> 244 <widget class="QLineEdit" name="leFactorY"> 245 <property name="text"> 246 <string notr="true">1.0</string> 247 </property> 248 <property name="readOnly"> 249 <bool>true</bool> 250 </property> 251 </widget> 252 </item> 253 </layout> 254 </widget> 255 <widget class="QDialogButtonBox" name="buttonBox"> 256 <property name="geometry"> 257 <rect> 258 <x>10</x> 259 <y>250</y> 260 <width>401</width> 261 <height>25</height> 262 </rect> 263 </property> 264 <property name="standardButtons"> 265 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 266 </property> 267 </widget> 268 </widget> 269 <layoutdefault spacing="6" margin="11"/> 270 <resources> 271 <include location="../../../res/extui/extui.qrc"/> 272 </resources> 273 <connections> 274 <connection> 275 <sender>rbMove</sender> 276 <signal>toggled(bool)</signal> 277 <receiver>leNumber</receiver> 278 <slot>setDisabled(bool)</slot> 279 <hints> 280 <hint type="sourcelabel"> 281 <x>20</x> 282 <y>20</y> 283 </hint> 284 <hint type="destinationlabel"> 285 <x>20</x> 286 <y>20</y> 287 </hint> 288 </hints> 289 </connection> 290 <connection> 291 <sender>rbCopy</sender> 292 <signal>toggled(bool)</signal> 293 <receiver>leNumber</receiver> 294 <slot>setDisabled(bool)</slot> 295 <hints> 296 <hint type="sourcelabel"> 297 <x>20</x> 298 <y>20</y> 299 </hint> 300 <hint type="destinationlabel"> 301 <x>20</x> 302 <y>20</y> 303 </hint> 304 </hints> 305 </connection> 306 <connection> 307 <sender>rbMultiCopy</sender> 308 <signal>toggled(bool)</signal> 309 <receiver>leNumber</receiver> 310 <slot>setEnabled(bool)</slot> 311 <hints> 312 <hint type="sourcelabel"> 313 <x>20</x> 314 <y>20</y> 315 </hint> 316 <hint type="destinationlabel"> 317 <x>20</x> 318 <y>20</y> 319 </hint> 320 </hints> 321 </connection> 322 <connection> 323 <sender>buttonBox</sender> 324 <signal>accepted()</signal> 325 <receiver>QG_DlgScale</receiver> 326 <slot>accept()</slot> 327 <hints> 328 <hint type="sourcelabel"> 329 <x>89</x> 330 <y>262</y> 331 </hint> 332 <hint type="destinationlabel"> 333 <x>20</x> 334 <y>20</y> 335 </hint> 336 </hints> 337 </connection> 338 <connection> 339 <sender>buttonBox</sender> 340 <signal>rejected()</signal> 341 <receiver>QG_DlgScale</receiver> 342 <slot>reject()</slot> 343 <hints> 344 <hint type="sourcelabel"> 345 <x>89</x> 346 <y>262</y> 347 </hint> 348 <hint type="destinationlabel"> 349 <x>20</x> 350 <y>20</y> 351 </hint> 352 </hints> 353 </connection> 354 </connections> 355</ui> 356