*********************************************************************
**
** Copyright (C) 2012 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$
** GNU Lesser General Public License Usage
** 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.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU General
** Public License version 3.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of this
** file. Please review the following information to ensure the GNU General
** Public License version 3.0 requirements will be met:
** http://www.gnu.org/copyleft/gpl.html.
**
** Other Usage
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and Nokia.
**
**
**
**
**
** $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>
11
6
-
7
7
0
0
QFrame::StyledPanel
QFrame::Sunken
true
true
<b>This form's functions.</b><p>Select the function you want to change or delete.</p>
Function
true
true
Return Type
true
true
Specifier
true
true
Access
true
true
Type
true
true
In Use
true
true
-
6
-
Qt::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>
-
20
20
QSizePolicy::Expanding
Qt::Horizontal
-
&New Function
Add new function
<b>Add a new function.</b><p>New functions have a default name and public access.</p>
-
&Delete Function
Delete function
<b>Delete the selected function.</b><p>All connections using this function are also removed.</p>
-
5
5
0
0
Function Properties
11
6
-
0
-
0
6
-
&Function:
Qt::AlignVCenter|Qt::AlignRight
functionName
false
-
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>
-
&Return type:
Qt::AlignVCenter|Qt::AlignRight
editType
false
-
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>
-
20
16
QSizePolicy::Fixed
Qt::Vertical
-
0
-
S&pecifier:
Qt::AlignVCenter|Qt::AlignRight
functionSpecifier
false
-
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>
-
non virtual
-
virtual
-
pure virtual
-
static
-
&Access:
Qt::AlignVCenter|Qt::AlignRight
functionAccess
true
-
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>
-
public
-
protected
-
private
-
&Type:
Qt::AlignVCenter|Qt::AlignRight
functionType
false
-
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>
-
slot
-
function
-
20
20
QSizePolicy::Expanding
Qt::Horizontal
-
0
6
-
&Help
true
-
20
20
QSizePolicy::Expanding
Qt::Horizontal
-
&OK
true
true
Close the dialog and apply all the changes.
-
&Cancel
true
Close the dialog and discard any changes.
qPixmapFromMimeSource
functionName
editType
functionSpecifier
functionAccess
functionType
helpButton
okButton
cancelButton
functionListView
showOnlySlots
addFunction
deleteFunction
cancelButton
clicked()
EditFunctionsBase
reject()
okButton
clicked()
EditFunctionsBase
okClicked()
deleteFunction
clicked()
EditFunctionsBase
functionRemove()
addFunction
clicked()
EditFunctionsBase
functionAdd()
functionName
textChanged(QString)
EditFunctionsBase
currentTextChanged(QString)
functionListView
selectionChanged(Q3ListViewItem*)
EditFunctionsBase
currentItemChanged(Q3ListViewItem*)
functionListView
currentChanged(Q3ListViewItem*)
EditFunctionsBase
currentItemChanged(Q3ListViewItem*)
editType
textChanged(QString)
EditFunctionsBase
currentReturnTypeChanged(QString)
functionSpecifier
activated(QString)
EditFunctionsBase
currentSpecifierChanged(QString)
functionAccess
activated(QString)
EditFunctionsBase
currentAccessChanged(QString)
functionType
activated(QString)
EditFunctionsBase
currentTypeChanged(QString)
showOnlySlots
toggled(bool)
EditFunctionsBase
displaySlots(bool)