FormSettingsBase ********************************************************************* ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercial Usage ** This file contains pre-release code and may not be distributed. ** You may use this file in accordance with the terms and conditions ** contained in the Technology Preview License Agreement accompanying ** this package. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain additional ** rights. These rights are described in the Nokia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** If you have questions regarding the use of this file, please contact ** Nokia at qt-info@nokia.com. ** ** ** ** ** ** ** ** ** $QT_END_LICENSE$ ** ********************************************************************* 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()