EditFunctionsBase ********************************************************************* ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the autotests 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$ ** ********************************************************************* 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 )