From 114a878c64ce6f8223cfd22d76a20eb16d177e5e Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdevdesigner/designer/editfunctions.ui | 714 +++++++++++++++++++++++++++++++++ 1 file changed, 714 insertions(+) create mode 100644 kdevdesigner/designer/editfunctions.ui (limited to 'kdevdesigner/designer/editfunctions.ui') diff --git a/kdevdesigner/designer/editfunctions.ui b/kdevdesigner/designer/editfunctions.ui new file mode 100644 index 00000000..2cecdcb1 --- /dev/null +++ b/kdevdesigner/designer/editfunctions.ui @@ -0,0 +1,714 @@ + +EditFunctionsBase +********************************************************************* +** 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. +** +********************************************************************* + + + 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 ) + + + -- cgit v1.2.1