EditFunctionsBase ********************************************************************* ** 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. ** ********************************************************************* EditFunctionsBase 0 0 600 371 Edit Functions true <b>Edit Functions</b><p>Add, edit or delete the current form's slots or functions.</p><p>Click the <b>Add Function</b>-button to create a new function; enter a name, choose an access mode and specify if it should be a slot or normal function.</p><p>Select an entry from the list and click the <b>Delete Function</b>-button to remove a function; in case of a slot all connections using this slot will also be removed.</p> unnamed 11 6 Function true true Return Type true true Specifier true true Access true true Type true true In Use true true functionListView 7 7 0 0 StyledPanel Sunken true true <b>This form's functions.</b><p>Select the function you want to change or delete.</p> Layout11 unnamed 6 showOnlySlots StrongFocus Only d&isplay slots Change displaying mode for functions <b>Check this button if only the slots should be displayed</b><p>Otherwise all functions, i.e. normal C++ functions and slots are displayed.</p> Vertical Spacing1 Horizontal Expanding 20 20 addFunction &New Function Add new function <b>Add a new function.</b><p>New functions have a default name and public access.</p> deleteFunction &Delete Function Delete function <b>Delete the selected function.</b><p>All connections using this function are also removed.</p> boxProperties 5 5 0 0 Function Properties unnamed 11 6 Layout14 unnamed 0 Layout5 unnamed 0 6 Label8 &Function: AlignVCenter|AlignRight functionName functionName 7 0 0 0 Change function name <b>Change the name of the selected function.</b><p>The name should include the argument list and must be syntactically correct.</p> labelType &Return type: AlignVCenter|AlignRight editType editType 5 0 0 0 Change the return type of the function <b>Change the return type of the selected function.</b><p>Specifiy here the datatype which should be returned by the function.</p> Spacer6_2 Vertical Fixed 20 16 Layout13 unnamed 0 Label9_2 S&pecifier: AlignVCenter|AlignRight functionSpecifier non virtual virtual pure virtual static functionSpecifier 1 0 0 0 Change function access <b>Change the access policy of the function</b><p>All functions are created virtual and should be reimplemented in subclasses.</p> TextLabel1 &Access: WordBreak|AlignVCenter|AlignRight functionAccess public protected private functionAccess 1 0 0 0 Change function access <b>Change the access policy of the function</b><p>All functions are created virtual and should be reimplemented in subclasses.</p> TextLabel1_2 &Type: AlignVCenter|AlignRight functionType slot function functionType Change function type <b>Change the type of the function.</b><p>The type specifies if the function is either a slot or a normal C++ function.</p> Spacer5 Horizontal Expanding 20 20 Layout1 unnamed 0 6 helpButton &Help true Horizontal Spacing2 Horizontal Expanding 20 20 okButton &OK true true Close the dialog and apply all the changes. cancelButton &Cancel true Close the dialog and discard any changes. cancelButton clicked() EditFunctionsBase reject() okButton clicked() EditFunctionsBase okClicked() deleteFunction clicked() EditFunctionsBase functionRemove() addFunction clicked() EditFunctionsBase functionAdd() functionName textChanged(const QString&) EditFunctionsBase currentTextChanged(const QString&) functionListView selectionChanged(QListViewItem*) EditFunctionsBase currentItemChanged(QListViewItem*) functionListView currentChanged(QListViewItem*) EditFunctionsBase currentItemChanged(QListViewItem*) editType textChanged(const QString&) EditFunctionsBase currentReturnTypeChanged(const QString&) functionSpecifier activated(const QString&) EditFunctionsBase currentSpecifierChanged(const QString&) functionAccess activated(const QString&) EditFunctionsBase currentAccessChanged(const QString&) functionType activated(const QString&) EditFunctionsBase currentTypeChanged(const QString&) showOnlySlots toggled(bool) EditFunctionsBase displaySlots(bool) functionName editType functionSpecifier functionAccess functionType helpButton okButton cancelButton functionListView showOnlySlots addFunction deleteFunction currentItemChanged( QListViewItem * ) currentSpecifierChanged( const QString & ) currentTextChanged( const QString & ) currentReturnTypeChanged( const QString & ) destroy() init() currentAccessChanged( const QString & ) currentTypeChanged( const QString & ) okClicked() functionAdd() functionRemove() displaySlots( bool )