*********************************************************************
**
** 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$
**
*********************************************************************
CustomWidgetEditorBase
0
0
712
386
Edit Custom Widgets
true
<b>Edit Custom Widgets</b><p>Add or delete custom widgets from <i>Qt Designer</i>'s database, and edit the properties of existing widgets.</p>
11
6
-
The list of all custom widgets known to Qt Designer.
-
&New Widget
Add new custom widget.
<b>Create an empty custom widget and add it to the list.</b><p>New custom widgets have a default name and header file, which must both be changed to appropriate values.</p>
-
&Delete Widget
Delete custom widget
<b>Delete the selected custom widget.</b><p>You can only delete widgets that are not used in any open form.</p>
-
0
6
-
&Help
true
-
20
20
QSizePolicy::Expanding
Qt::Horizontal
-
&Close
true
Closes the Dialog.
-
20
20
QSizePolicy::Expanding
Qt::Vertical
-
&Load Descriptions...
Loads widget description file
<b>Load Descriptions</b><p>Loads a file which contains descriptions of custom widgets, so that these custom widgets can be used in the Qt Designer.</p>
<p>Since it is a lot of work to type in all the information for custom widgets, you should consider using the createcw tool which is in $QTDIR/tools/designer/tools/createcw. Using createcw you can create custom widget description files for your custom widgets without the need to type in all the information manually. For more information about the README file in the createcw directory</p>
-
&Save Descriptions...
Saves widget description file
<b>Save Descriptions</b><p>Saves all the descriptions of the shown custom widgets to a file which can then be used to import the custom widgets elsewhere.
-
Change the properties of the selected custom widget.
De&finition
11
6
-
0
6
-
false
-
30
22
...
Select a Pixmap
<b>Select a pixmap file.</b><p>The pixmap will be used to represent the widget in forms.</b>
-
0
6
-
Enter filename
<b>Change the header file's name for the selected custom widget.</b><p>The header file will be included by forms using the widget.</p>
-
30
22
...
Choose headerfile
Look for the header file using a filedialog.
-
Select access
<b>Change how the include file will be included.</b><p>Global include files will be included using <>-brackets, while local files will included using quotation marks.</p>
-
Global
-
Local
-
Change classname
<b>Enter the classname for the selected custom widget.</b><p>A class of that name must be defined in the header file.</p>
-
Heade&rfile:
editHeader
false
-
Cl&ass:
editClass
false
-
Pixmap:
false
-
Si&ze Hint:
spinWidth
false
-
Size P&olicy
sizeHor
false
-
Vertical Sizepolicy
Choose the Vertical size policy
-
Fixed
-
Minimum
-
Maximum
-
Preferred
-
MinimumExpanding
-
Expanding
-
32767
-1
-1
Size hint width
<b>Set the size hint for the selected widget.</b><p>The size hint provides the recommended size for the widget. Enter a sizehint of -1/-1 if no size is recommended.</p>
-
32767
-1
-1
Size hint height
<b>Set the size hint for the selected widget.</b><p>The size hint provides the recommended size for the widget. Enter a sizehint of -1/-1 if no size is recommended.</p>
-
Horizontal Sizepolicy
Choose the horizontal size policy for the widget
-
Fixed
-
Minimum
-
Maximum
-
Preferred
-
MinimumExpanding
-
Expanding
-
20
20
QSizePolicy::Expanding
Qt::Vertical
-
Con&tainer Widget
Container Widget
<p><b>Container Widget</b></p>
<p>If this custom widget is able to contain other widgets (children), check this checkbox.</p>
Si&gnals
11
6
-
The list of all the signals that the selected widget can emit.
-
0
6
-
20
20
QSizePolicy::Expanding
Qt::Horizontal
-
N&ew Signal
true
Add new signal
<b>Add a new signal for the current custom widget.</b><p>An argument list should be provided in the signal's name, and the name must be unique.</p>
-
Dele&te Signal
true
Delete signal
<b>Delete the signal.</b><p>All connections using this signal will also be deleted.</p>
-
0
6
-
S&ignal:
editSignal
false
-
Change signal name
<b>Change the name of the selected slot.</b><p>An argument list should be provided in the signal's name, and the name must be unique.</p>
S&lots
11
6
-
true
true
The list of all the custom widget's slots.
Slot
true
true
Access
true
true
-
Sl&ot:
editSlot
false
-
Change slot name
<b>Change the name of the selected slot.</b><p>An argument list should be provided in the signal's name, and the name must be unique.</p>
-
&Access:
comboAccess
false
-
Change slot access
<b>Change the slot's access policy.</b><p>You can only connect to the widget's public slots.</p>
-
public
-
protected
-
0
6
-
20
20
QSizePolicy::Expanding
Qt::Horizontal
-
N&ew Slot
true
Add new slot
<b>Add a new slot to the current custom widget.</b><p>An argument list should be provided in the signal's name, and the name must be unique.</p>
-
Dele&te Slot
true
Delete slot
<b>Delete the slot.</b><p>All connections using this slot will also be deleted.</p>
&Properties
11
6
-
0
6
-
20
20
QSizePolicy::Expanding
Qt::Horizontal
-
N&ew Property
true
Add new property
<b>Add a new property to the current custom widget.</b><p>The properties must be implemented in the class using Qt's property system.</p>
-
Dele&te Property
true
Delete property
Deletes the selected property.
-
Select property type
<b>Select the type of the property.</b><p>The propertiy must be implemented in the class using Qt's property system.</p><p>You can use integer types to support enumeration properties in the property editor.</p>
-
String
-
CString
-
StringList
-
Bool
-
Int
-
UInt
-
Font
-
Color
-
Rect
-
Point
-
Size
-
Pixmap
-
Palette
-
Cursor
-
SizePolicy
-
true
true
<b>The list of the current widget's properties.</b><p>The properties of the custom widget can be changed in the property editor.</p>
Property
true
true
Type
true
true
-
Change property name
<b>Enter a name for the property.</b><p>The properties must be implemented in the class using Qt's property system.</p>
-
P&roperty Name:
editProperty
false
-
T&ype:
comboType
false
qPixmapFromMimeSource
buttonCancel
boxWidgets
buttonNewWidget
buttonDeleteWidget
buttonLoad
buttonSave
TabWidget1
editClass
editHeader
buttonChooseHeader
localGlobalCombo
buttonChoosePixmap
spinWidth
spinHeight
sizeHor
sizeVer
checkContainer
helpButton
listSignals
buttonAddSignal
buttonRemoveSignal
editSignal
listSlots
buttonAddSlot
buttonRemoveSlot
editSlot
comboAccess
listProperties
buttonAddProperty
buttonRemoveProperty
editProperty
comboType
boxWidgets
selectionChanged(Q3ListBoxItem*)
CustomWidgetEditorBase
currentWidgetChanged(Q3ListBoxItem*)
boxWidgets
currentChanged(Q3ListBoxItem*)
CustomWidgetEditorBase
currentWidgetChanged(Q3ListBoxItem*)
buttonNewWidget
clicked()
CustomWidgetEditorBase
addWidgetClicked()
buttonDeleteWidget
clicked()
CustomWidgetEditorBase
deleteWidgetClicked()
editClass
textChanged(QString)
CustomWidgetEditorBase
classNameChanged(QString)
editHeader
textChanged(QString)
CustomWidgetEditorBase
headerFileChanged(QString)
spinWidth
valueChanged(int)
CustomWidgetEditorBase
widthChanged(int)
spinHeight
valueChanged(int)
CustomWidgetEditorBase
heightChanged(int)
buttonChoosePixmap
clicked()
CustomWidgetEditorBase
pixmapChoosen()
localGlobalCombo
highlighted(int)
CustomWidgetEditorBase
includePolicyChanged(int)
buttonChooseHeader
clicked()
CustomWidgetEditorBase
chooseHeader()
buttonCancel
clicked()
CustomWidgetEditorBase
closeClicked()
listSignals
currentChanged(Q3ListBoxItem*)
CustomWidgetEditorBase
currentSignalChanged(Q3ListBoxItem*)
listSignals
selectionChanged(Q3ListBoxItem*)
CustomWidgetEditorBase
currentSignalChanged(Q3ListBoxItem*)
buttonRemoveSignal
clicked()
CustomWidgetEditorBase
removeSignal()
editSignal
textChanged(QString)
CustomWidgetEditorBase
signalNameChanged(QString)
listSlots
currentChanged(Q3ListViewItem*)
CustomWidgetEditorBase
currentSlotChanged(Q3ListViewItem*)
listSlots
selectionChanged(Q3ListViewItem*)
CustomWidgetEditorBase
currentSlotChanged(Q3ListViewItem*)
buttonRemoveSlot
clicked()
CustomWidgetEditorBase
removeSlot()
editSlot
textChanged(QString)
CustomWidgetEditorBase
slotNameChanged(QString)
comboAccess
activated(QString)
CustomWidgetEditorBase
slotAccessChanged(QString)
listProperties
currentChanged(Q3ListViewItem*)
CustomWidgetEditorBase
currentPropertyChanged(Q3ListViewItem*)
listProperties
selectionChanged(Q3ListViewItem*)
CustomWidgetEditorBase
currentPropertyChanged(Q3ListViewItem*)
buttonRemoveProperty
clicked()
CustomWidgetEditorBase
removeProperty()
editProperty
textChanged(QString)
CustomWidgetEditorBase
propertyNameChanged(QString)
comboType
activated(QString)
CustomWidgetEditorBase
propertyTypeChanged(QString)
buttonLoad
clicked()
CustomWidgetEditorBase
loadDescription()
buttonSave
clicked()
CustomWidgetEditorBase
saveDescription()
sizeHor
activated(int)
CustomWidgetEditorBase
horDataChanged(int)
sizeVer
activated(int)
CustomWidgetEditorBase
verDataChanged(int)
buttonAddProperty
clicked()
CustomWidgetEditorBase
addProperty()
checkContainer
toggled(bool)
CustomWidgetEditorBase
widgetIsContainer(bool)
buttonAddSignal
clicked()
CustomWidgetEditorBase
addSignal()
buttonAddSlot
clicked()
CustomWidgetEditorBase
addSlot()