FormSettingsBase ********************************************************************* ** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved. ** ** This file is part of Qt Designer. ** ** This file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free ** Software Foundation and appearing in the files LICENSE.GPL2 ** and LICENSE.GPL3 included in the packaging of this file. ** Alternatively you may (at your option) use any later version ** of the GNU General Public License if such license has been ** publicly approved by Trolltech ASA (or its successors, if any) ** and the KDE Free Qt Foundation. ** ** Please review the following information to ensure GNU General ** Public Licensing requirements will be met: ** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** If you are unsure which license is appropriate for your use, please ** review the following information: ** http://trolltech.com/products/qt/licenses/licensing/licensingoverview ** or contact the sales department at sales@trolltech.com. ** ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Commercial License Agreement provided with ** the Software. ** ** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, ** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR ** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted ** herein. ** ********************************************************************* FormSettingsBase 0 0 597 458 Form Settings true <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> unnamed 11 6 ButtonGroup1 Pixmaps unnamed 11 6 radioPixmapInline Save In&line true Save pixmaps in the .ui files <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. radioProjectImageFile Project &Imagefile Use the Project's Image file for pixmaps <b>Use the Project's Image file for pixmaps</b> <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> editPixmapFunction false Specify Pixmap-Loader function (only the function's name, no parentheses!) <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> radioPixmapFunction Use &Function: Use the given function for pixmaps <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. GroupBox1 Box Sunken Settings unnamed 11 6 editClassName Change class name <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> TextLabel1_2 A&uthor: editAuthor editAuthor Enter your name Enter your name. TextLabel1 Class &Name: editClassName TextLabel2 Co&mment: editComment editComment Enter a comment about the form. Spacer1 Vertical Expanding GroupBox2 La&youts unnamed 11 6 spinMargin 11 Spacer3 Horizontal Expanding TextLabel2_2 D&efault Spacing: spinSpacing checkLayoutFunctions Use Func&tions: Use functions to get the margin and spacing <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. spinSpacing 6 Spacer4 Horizontal Expanding TextLabel1_3 Default Mar&gin: spinMargin spaFuLabel false S&pacing: editSpacingFunction marFuLabel false 5 5 0 0 Ma&rgin: editMarginFunction Spacer5 Horizontal Expanding editSpacingFunction false Specify spacing function (only the function's name, no parentheses!) <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> editMarginFunction false 5 0 0 0 Specify margin function (only the function's name, no parentheses!) <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> Layout4 unnamed 0 6 buttonHelp &Help true Horizontal Spacing2 Horizontal Expanding buttonOk &OK true true Close the dialog and apply all the changes. buttonCancel &Cancel true Close the dialog and discard any changes. buttonCancel clicked() FormSettingsBase reject() buttonOk clicked() FormSettingsBase okClicked() radioPixmapFunction toggled(bool) editPixmapFunction setEnabled(bool) checkLayoutFunctions toggled(bool) editSpacingFunction setEnabled(bool) checkLayoutFunctions toggled(bool) editMarginFunction setEnabled(bool) checkLayoutFunctions toggled(bool) marFuLabel setEnabled(bool) checkLayoutFunctions toggled(bool) spaFuLabel setEnabled(bool) editClassName editComment editAuthor radioPixmapInline radioPixmapFunction editPixmapFunction radioProjectImageFile spinMargin spinSpacing checkLayoutFunctions editMarginFunction editSpacingFunction buttonOk buttonCancel buttonHelp okClicked()