FormSettingsBase ********************************************************************* ** Copyright (C) 2000 Trolltech AS. All rights reserved. ** ** This file is part of Qt Designer. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition ** 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 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for ** information about Qt Commercial License Agreements. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** ********************************************************************* 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 &image file 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 tqparentheses.) <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, without tqparentheses.</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> cannot 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> cannot 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 tqparentheses.) <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, without tqparentheses.</em> editMarginFunction false 5 0 0 0 Specify margin function (only the function's name, no tqparentheses.) <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, without tqparentheses.</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()