1<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> 2<class>FormSettingsBase</class> 3<comment>********************************************************************* 4** 5** Copyright (C) 2015 The Qt Company Ltd. 6** Contact: http://www.qt.io/licensing/ 7** 8** This file is part of the test suite of the Qt Toolkit. 9** 10** $QT_BEGIN_LICENSE:LGPL$ 11** Commercial License Usage 12** Licensees holding valid commercial Qt licenses may use this file in 13** accordance with the commercial license agreement provided with the 14** Software or, alternatively, in accordance with the terms contained in 15** a written agreement between you and The Qt Company. For licensing terms 16** and conditions see http://www.qt.io/terms-conditions. For further 17** information use the contact form at http://www.qt.io/contact-us. 18** 19** GNU Lesser General Public License Usage 20** Alternatively, this file may be used under the terms of the GNU Lesser 21** General Public License version 2.1 or version 3 as published by the Free 22** Software Foundation and appearing in the file LICENSE.LGPLv21 and 23** LICENSE.LGPLv3 included in the packaging of this file. Please review the 24** following information to ensure the GNU Lesser General Public License 25** requirements will be met: https://www.gnu.org/licenses/lgpl.html and 26** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 27** 28** As a special exception, The Qt Company gives you certain additional 29** rights. These rights are described in The Qt Company LGPL Exception 30** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 31** 32** GNU General Public License Usage 33** Alternatively, this file may be used under the terms of the GNU 34** General Public License version 3.0 as published by the Free Software 35** Foundation and appearing in the file LICENSE.GPL included in the 36** packaging of this file. Please review the following information to 37** ensure the GNU General Public License version 3.0 requirements will be 38** met: http://www.gnu.org/copyleft/gpl.html. 39** 40** $QT_END_LICENSE$ 41** 42*********************************************************************</comment> 43<widget class="QDialog"> 44 <property name="name"> 45 <cstring>FormSettingsBase</cstring> 46 </property> 47 <property name="geometry"> 48 <rect> 49 <x>0</x> 50 <y>0</y> 51 <width>597</width> 52 <height>458</height> 53 </rect> 54 </property> 55 <property name="caption"> 56 <string>Form Settings</string> 57 </property> 58 <property name="sizeGripEnabled"> 59 <bool>true</bool> 60 </property> 61 <property name="whatsThis" stdset="0"> 62 <string><b>Form Settings</b><p>Change settings for the form. Settings like <b>Comment</b> and <b>Author</b> are for your own use and are not required.</p></string> 63 </property> 64 <grid> 65 <property name="name"> 66 <cstring>unnamed</cstring> 67 </property> 68 <property name="margin"> 69 <number>11</number> 70 </property> 71 <property name="spacing"> 72 <number>6</number> 73 </property> 74 <widget class="QButtonGroup" row="1" column="0"> 75 <property name="name"> 76 <cstring>ButtonGroup1</cstring> 77 </property> 78 <property name="title"> 79 <string>Pixmaps</string> 80 </property> 81 <grid> 82 <property name="name"> 83 <cstring>unnamed</cstring> 84 </property> 85 <property name="margin"> 86 <number>11</number> 87 </property> 88 <property name="spacing"> 89 <number>6</number> 90 </property> 91 <widget class="QRadioButton" row="0" column="0"> 92 <property name="name"> 93 <cstring>radioPixmapInline</cstring> 94 </property> 95 <property name="text"> 96 <string>Save In&line</string> 97 </property> 98 <property name="checked"> 99 <bool>true</bool> 100 </property> 101 <property name="toolTip" stdset="0"> 102 <string>Save pixmaps in the .ui files</string> 103 </property> 104 <property name="whatsThis" stdset="0"> 105 <string><b>Save Inline</b><p>Saves the pixmaps as binary data in the .ui files. Pixmaps saved like this are not shared between forms. We recommend using Project image files instead.</string> 106 </property> 107 </widget> 108 <widget class="QRadioButton" row="2" column="0"> 109 <property name="name"> 110 <cstring>radioProjectImageFile</cstring> 111 </property> 112 <property name="text"> 113 <string>Project &Imagefile</string> 114 </property> 115 <property name="toolTip" stdset="0"> 116 <string>Use the Project's Image file for pixmaps</string> 117 </property> 118 <property name="whatsThis" stdset="0"> 119 <string><b>Use the Project's Image file for pixmaps</b> 120<p>Each project may have a collection of pixmaps. If you use a project, we recommend that you use this option since it shares the images and is the fastest and most efficient way to use pixmaps in your forms.</p></string> 121 </property> 122 </widget> 123 <widget class="QLineEdit" row="1" column="1"> 124 <property name="name"> 125 <cstring>editPixmapFunction</cstring> 126 </property> 127 <property name="enabled"> 128 <bool>false</bool> 129 </property> 130 <property name="toolTip" stdset="0"> 131 <string>Specify Pixmap-Loader function (only the function's name, no parentheses!)</string> 132 </property> 133 <property name="whatsThis" stdset="0"> 134 <string><b>Specify Pixmap-Loader function</b><p>Specify the function which should be used for loading a pixmap in the generated code. <em>Only enter the function's name, with no parentheses.</em></string> 135 </property> 136 </widget> 137 <widget class="QRadioButton" row="1" column="0"> 138 <property name="name"> 139 <cstring>radioPixmapFunction</cstring> 140 </property> 141 <property name="text"> 142 <string>Use &Function:</string> 143 </property> 144 <property name="toolTip" stdset="0"> 145 <string>Use the given function for pixmaps</string> 146 </property> 147 <property name="whatsThis" stdset="0"> 148 <string><b>Use a given function for pixmaps</b><p>If you choose this option you must define a function in the line edit at the right which will be used in the generated code for loading pixmaps. When choosing a pixmap in <i>Qt Designer</i> you will be asked to specify the arguments which will be passed to the function in the generated code.<p> This approach makes it possible to use your own icon-loader function for loading pixmaps. <i>Qt Designer</i> can't preview the correct image if you use your own function.</string> 149 </property> 150 </widget> 151 </grid> 152 </widget> 153 <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="2"> 154 <property name="name"> 155 <cstring>GroupBox1</cstring> 156 </property> 157 <property name="frameShape"> 158 <enum>Box</enum> 159 </property> 160 <property name="frameShadow"> 161 <enum>Sunken</enum> 162 </property> 163 <property name="title"> 164 <string>Settings</string> 165 </property> 166 <grid> 167 <property name="name"> 168 <cstring>unnamed</cstring> 169 </property> 170 <property name="margin"> 171 <number>11</number> 172 </property> 173 <property name="spacing"> 174 <number>6</number> 175 </property> 176 <widget class="QLineEdit" row="0" column="1"> 177 <property name="name"> 178 <cstring>editClassName</cstring> 179 </property> 180 <property name="toolTip" stdset="0"> 181 <string>Change class name</string> 182 </property> 183 <property name="whatsThis" stdset="0"> 184 <string><b>Enter the name of the class that will be created.</b><p><em>classname.h</em> and <em>classname.cpp</em> will be generated as C++ output when it is compiled by uic.</p></string> 185 </property> 186 </widget> 187 <widget class="QLabel" row="3" column="0"> 188 <property name="name"> 189 <cstring>TextLabel1_2</cstring> 190 </property> 191 <property name="text"> 192 <string>A&uthor:</string> 193 </property> 194 <property name="buddy" stdset="0"> 195 <cstring>editAuthor</cstring> 196 </property> 197 </widget> 198 <widget class="QLineEdit" row="3" column="1"> 199 <property name="name"> 200 <cstring>editAuthor</cstring> 201 </property> 202 <property name="toolTip" stdset="0"> 203 <string>Enter your name</string> 204 </property> 205 <property name="whatsThis" stdset="0"> 206 <string>Enter your name.</string> 207 </property> 208 </widget> 209 <widget class="QLabel" row="0" column="0"> 210 <property name="name"> 211 <cstring>TextLabel1</cstring> 212 </property> 213 <property name="text"> 214 <string>Class &Name:</string> 215 </property> 216 <property name="buddy" stdset="0"> 217 <cstring>editClassName</cstring> 218 </property> 219 </widget> 220 <widget class="QLabel" row="1" column="0"> 221 <property name="name"> 222 <cstring>TextLabel2</cstring> 223 </property> 224 <property name="text"> 225 <string>Co&mment:</string> 226 </property> 227 <property name="buddy" stdset="0"> 228 <cstring>editComment</cstring> 229 </property> 230 </widget> 231 <widget class="QMultiLineEdit" row="1" column="1" rowspan="2" colspan="1"> 232 <property name="name"> 233 <cstring>editComment</cstring> 234 </property> 235 <property name="whatsThis" stdset="0"> 236 <string>Enter a comment about the form.</string> 237 </property> 238 </widget> 239 <spacer row="2" column="0"> 240 <property name="name"> 241 <cstring>Spacer1</cstring> 242 </property> 243 <property name="orientation"> 244 <enum>Vertical</enum> 245 </property> 246 <property name="sizeType"> 247 <enum>Expanding</enum> 248 </property> 249 </spacer> 250 </grid> 251 </widget> 252 <widget class="QGroupBox" row="1" column="1"> 253 <property name="name"> 254 <cstring>GroupBox2</cstring> 255 </property> 256 <property name="title"> 257 <string>La&youts</string> 258 </property> 259 <grid> 260 <property name="name"> 261 <cstring>unnamed</cstring> 262 </property> 263 <property name="margin"> 264 <number>11</number> 265 </property> 266 <property name="spacing"> 267 <number>6</number> 268 </property> 269 <widget class="QSpinBox" row="0" column="2"> 270 <property name="name"> 271 <cstring>spinMargin</cstring> 272 </property> 273 <property name="value"> 274 <number>11</number> 275 </property> 276 </widget> 277 <spacer row="0" column="3"> 278 <property name="name"> 279 <cstring>Spacer3</cstring> 280 </property> 281 <property name="orientation"> 282 <enum>Horizontal</enum> 283 </property> 284 <property name="sizeType"> 285 <enum>Expanding</enum> 286 </property> 287 </spacer> 288 <widget class="QLabel" row="1" column="0" rowspan="1" colspan="2"> 289 <property name="name"> 290 <cstring>TextLabel2_2</cstring> 291 </property> 292 <property name="text"> 293 <string>D&efault Spacing:</string> 294 </property> 295 <property name="buddy" stdset="0"> 296 <cstring>spinSpacing</cstring> 297 </property> 298 </widget> 299 <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2"> 300 <property name="name"> 301 <cstring>checkLayoutFunctions</cstring> 302 </property> 303 <property name="text"> 304 <string>Use Func&tions:</string> 305 </property> 306 <property name="toolTip" stdset="0"> 307 <string>Use functions to get the margin and spacing</string> 308 </property> 309 <property name="whatsThis" stdset="0"> 310 <string><b>Use a given function for margin and/or spacing</b><p>If you choose this option you must define functions in the line edit below which will be used in the generated code for getting the margin and spacing value. <i>Qt Designer</i> can't preview the correct margin or spacing if you use your own function. Instead, the default values will be used for preview.</string> 311 </property> 312 </widget> 313 <widget class="QSpinBox" row="1" column="2"> 314 <property name="name"> 315 <cstring>spinSpacing</cstring> 316 </property> 317 <property name="value"> 318 <number>6</number> 319 </property> 320 </widget> 321 <spacer row="1" column="3"> 322 <property name="name"> 323 <cstring>Spacer4</cstring> 324 </property> 325 <property name="orientation"> 326 <enum>Horizontal</enum> 327 </property> 328 <property name="sizeType"> 329 <enum>Expanding</enum> 330 </property> 331 </spacer> 332 <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2"> 333 <property name="name"> 334 <cstring>TextLabel1_3</cstring> 335 </property> 336 <property name="text"> 337 <string>Default Mar&gin:</string> 338 </property> 339 <property name="buddy" stdset="0"> 340 <cstring>spinMargin</cstring> 341 </property> 342 </widget> 343 <widget class="QLabel" row="4" column="0"> 344 <property name="name"> 345 <cstring>spaFuLabel</cstring> 346 </property> 347 <property name="enabled"> 348 <bool>false</bool> 349 </property> 350 <property name="text"> 351 <string>S&pacing:</string> 352 </property> 353 <property name="buddy" stdset="0"> 354 <cstring>editSpacingFunction</cstring> 355 </property> 356 </widget> 357 <widget class="QLabel" row="3" column="0"> 358 <property name="name"> 359 <cstring>marFuLabel</cstring> 360 </property> 361 <property name="enabled"> 362 <bool>false</bool> 363 </property> 364 <property name="sizePolicy"> 365 <sizepolicy> 366 <hsizetype>5</hsizetype> 367 <vsizetype>5</vsizetype> 368 <horstretch>0</horstretch> 369 <verstretch>0</verstretch> 370 </sizepolicy> 371 </property> 372 <property name="text"> 373 <string>Ma&rgin:</string> 374 </property> 375 <property name="buddy" stdset="0"> 376 <cstring>editMarginFunction</cstring> 377 </property> 378 </widget> 379 <spacer row="2" column="2" rowspan="1" colspan="2"> 380 <property name="name"> 381 <cstring>Spacer5</cstring> 382 </property> 383 <property name="orientation"> 384 <enum>Horizontal</enum> 385 </property> 386 <property name="sizeType"> 387 <enum>Expanding</enum> 388 </property> 389 </spacer> 390 <widget class="QLineEdit" row="4" column="1" rowspan="1" colspan="3"> 391 <property name="name"> 392 <cstring>editSpacingFunction</cstring> 393 </property> 394 <property name="enabled"> 395 <bool>false</bool> 396 </property> 397 <property name="toolTip" stdset="0"> 398 <string>Specify spacing function (only the function's name, no parentheses!)</string> 399 </property> 400 <property name="whatsThis" stdset="0"> 401 <string><b>Specify spacing function</b><p>Specify the function which should be used for getting the spacing in the generated code. <em>Only enter the function's name, with no parentheses.</em></string> 402 </property> 403 </widget> 404 <widget class="QLineEdit" row="3" column="1" rowspan="1" colspan="3"> 405 <property name="name"> 406 <cstring>editMarginFunction</cstring> 407 </property> 408 <property name="enabled"> 409 <bool>false</bool> 410 </property> 411 <property name="sizePolicy"> 412 <sizepolicy> 413 <hsizetype>5</hsizetype> 414 <vsizetype>0</vsizetype> 415 <horstretch>0</horstretch> 416 <verstretch>0</verstretch> 417 </sizepolicy> 418 </property> 419 <property name="toolTip" stdset="0"> 420 <string>Specify margin function (only the function's name, no parentheses!)</string> 421 </property> 422 <property name="whatsThis" stdset="0"> 423 <string><b>Specify margin function</b><p>Specify the function which should be used for getting the margin in the generated code. <em>Only enter the function's name, with no parentheses.</em></string> 424 </property> 425 </widget> 426 </grid> 427 </widget> 428 <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> 429 <property name="name"> 430 <cstring>Layout4</cstring> 431 </property> 432 <hbox> 433 <property name="name"> 434 <cstring>unnamed</cstring> 435 </property> 436 <property name="margin"> 437 <number>0</number> 438 </property> 439 <property name="spacing"> 440 <number>6</number> 441 </property> 442 <widget class="QPushButton"> 443 <property name="name"> 444 <cstring>buttonHelp</cstring> 445 </property> 446 <property name="text"> 447 <string>&Help</string> 448 </property> 449 <property name="autoDefault"> 450 <bool>true</bool> 451 </property> 452 </widget> 453 <spacer> 454 <property name="name"> 455 <cstring>Horizontal Spacing2</cstring> 456 </property> 457 <property name="orientation"> 458 <enum>Horizontal</enum> 459 </property> 460 <property name="sizeType"> 461 <enum>Expanding</enum> 462 </property> 463 </spacer> 464 <widget class="QPushButton"> 465 <property name="name"> 466 <cstring>buttonOk</cstring> 467 </property> 468 <property name="text"> 469 <string>&OK</string> 470 </property> 471 <property name="autoDefault"> 472 <bool>true</bool> 473 </property> 474 <property name="default"> 475 <bool>true</bool> 476 </property> 477 <property name="whatsThis" stdset="0"> 478 <string>Close the dialog and apply all the changes.</string> 479 </property> 480 </widget> 481 <widget class="QPushButton"> 482 <property name="name"> 483 <cstring>buttonCancel</cstring> 484 </property> 485 <property name="text"> 486 <string>&Cancel</string> 487 </property> 488 <property name="autoDefault"> 489 <bool>true</bool> 490 </property> 491 <property name="whatsThis" stdset="0"> 492 <string>Close the dialog and discard any changes.</string> 493 </property> 494 </widget> 495 </hbox> 496 </widget> 497 </grid> 498</widget> 499<connections> 500 <connection> 501 <sender>buttonCancel</sender> 502 <signal>clicked()</signal> 503 <receiver>FormSettingsBase</receiver> 504 <slot>reject()</slot> 505 </connection> 506 <connection> 507 <sender>buttonOk</sender> 508 <signal>clicked()</signal> 509 <receiver>FormSettingsBase</receiver> 510 <slot>okClicked()</slot> 511 </connection> 512 <connection> 513 <sender>radioPixmapFunction</sender> 514 <signal>toggled(bool)</signal> 515 <receiver>editPixmapFunction</receiver> 516 <slot>setEnabled(bool)</slot> 517 </connection> 518 <connection> 519 <sender>checkLayoutFunctions</sender> 520 <signal>toggled(bool)</signal> 521 <receiver>editSpacingFunction</receiver> 522 <slot>setEnabled(bool)</slot> 523 </connection> 524 <connection> 525 <sender>checkLayoutFunctions</sender> 526 <signal>toggled(bool)</signal> 527 <receiver>editMarginFunction</receiver> 528 <slot>setEnabled(bool)</slot> 529 </connection> 530 <connection> 531 <sender>checkLayoutFunctions</sender> 532 <signal>toggled(bool)</signal> 533 <receiver>marFuLabel</receiver> 534 <slot>setEnabled(bool)</slot> 535 </connection> 536 <connection> 537 <sender>checkLayoutFunctions</sender> 538 <signal>toggled(bool)</signal> 539 <receiver>spaFuLabel</receiver> 540 <slot>setEnabled(bool)</slot> 541 </connection> 542</connections> 543<tabstops> 544 <tabstop>editClassName</tabstop> 545 <tabstop>editComment</tabstop> 546 <tabstop>editAuthor</tabstop> 547 <tabstop>radioPixmapInline</tabstop> 548 <tabstop>radioPixmapFunction</tabstop> 549 <tabstop>editPixmapFunction</tabstop> 550 <tabstop>radioProjectImageFile</tabstop> 551 <tabstop>spinMargin</tabstop> 552 <tabstop>spinSpacing</tabstop> 553 <tabstop>checkLayoutFunctions</tabstop> 554 <tabstop>editMarginFunction</tabstop> 555 <tabstop>editSpacingFunction</tabstop> 556 <tabstop>buttonOk</tabstop> 557 <tabstop>buttonCancel</tabstop> 558 <tabstop>buttonHelp</tabstop> 559</tabstops> 560<slots> 561 <slot>okClicked()</slot> 562</slots> 563<layoutdefaults spacing="6" margin="11"/> 564</UI> 565