From d796c9dd933ab96ec83b9a634feedd5d32e1ba3f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 8 Nov 2011 12:31:36 -0600 Subject: Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731 --- tools/designer/designer/customwidgeteditor.ui | 1385 +++++++++++++++++++++++++ 1 file changed, 1385 insertions(+) create mode 100644 tools/designer/designer/customwidgeteditor.ui (limited to 'tools/designer/designer/customwidgeteditor.ui') diff --git a/tools/designer/designer/customwidgeteditor.ui b/tools/designer/designer/customwidgeteditor.ui new file mode 100644 index 00000000..77293fa0 --- /dev/null +++ b/tools/designer/designer/customwidgeteditor.ui @@ -0,0 +1,1385 @@ + +CustomWidgetEditorBase +********************************************************************* +** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved. +** +** This file is part of TQt 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 TQt Foundation. +** +** Please review the following information to ensure GNU General +** Public Licensing retquirements 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 TQt Commercial licenses may use this file in +** accordance with the TQt 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. +** +********************************************************************* + + + CustomWidgetEditorBase + + + + 0 + 0 + 712 + 386 + + + + Edit Custom Widgets + + + true + + + <b>Edit Custom Widgets</b><p>Add or delete custom widgets from <i>TQt Designer</i>'s database, and edit the properties of existing widgets.</p> + + + + unnamed + + + 11 + + + 6 + + + + boxWidgets + + + The list of all custom widgets known to TQt Designer. + + + + + buttonNewWidget + + + &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> + + + + + buttonDeleteWidget + + + &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> + + + + + Layout1 + + + + unnamed + + + 0 + + + 6 + + + + helpButton + + + &Help + + + true + + + + + Horizontal Spacing2 + + + Horizontal + + + Expanding + + + + 20 + 20 + + + + + + buttonCancel + + + &Close + + + true + + + Closes the Dialog. + + + + + + + Vertical Spacing1 + + + Vertical + + + Expanding + + + + 20 + 20 + + + + + + buttonLoad + + + &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 TQt 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> + + + + + buttonSave + + + &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. + + + + + TabWidget1 + + + Change the properties of the selected custom widget. + + + + Widget2 + + + De&finition + + + + unnamed + + + 11 + + + 6 + + + + Layout4 + + + + unnamed + + + 0 + + + 6 + + + + previewPixmap + + + + + + + + buttonChoosePixmap + + + + 30 + 22 + + + + ... + + + Select a Pixmap + + + <b>Select a pixmap file.</b><p>The pixmap will be used to represent the widget in forms.</b> + + + + + + + Layout5 + + + + unnamed + + + 0 + + + 6 + + + + editHeader + + + 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> + + + + + buttonChooseHeader + + + + 30 + 22 + + + + ... + + + Choose headerfile + + + Look for the header file using a filedialog. + + + + + + Global + + + + + Local + + + + localGlobalCombo + + + Select access + + + <b>Change how the include file will be included.</b><p>Global include files will be included using &lt;&gt;-brackets, while local files will included using quotation marks.</p> + + + + + + + editClass + + + 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> + + + + + Label11 + + + Heade&rfile: + + + editHeader + + + + + Label10 + + + Cl&ass: + + + editClass + + + + + Label2 + + + Pixmap: + + + + + Label7 + + + Si&ze Hint: + + + spinWidth + + + + + TextLabel1_2 + + + Size P&olicy + + + sizeHor + + + + + + Fixed + + + + + Minimum + + + + + Maximum + + + + + Preferred + + + + + MinimumExpanding + + + + + Expanding + + + + sizeVer + + + Vertical Sizepolicy + + + Choose the Vertical size policy + + + + + spinWidth + + + 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> + + + + + spinHeight + + + 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> + + + + + + Fixed + + + + + Minimum + + + + + Maximum + + + + + Preferred + + + + + MinimumExpanding + + + + + Expanding + + + + sizeHor + + + Horizontal Sizepolicy + + + Choose the horizontal size policy for the widget + + + + + Spacer1 + + + Vertical + + + Expanding + + + + 20 + 20 + + + + + + checkContainer + + + 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> + + + + + + + Widget3 + + + Si&gnals + + + + unnamed + + + 11 + + + 6 + + + + listSignals + + + The list of all the signals that the selected widget can emit. + + + + + Layout40 + + + + unnamed + + + 0 + + + 6 + + + + Spacer1_2 + + + Horizontal + + + Expanding + + + + 20 + 20 + + + + + + buttonAddSignal + + + 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> + + + + + buttonRemoveSignal + + + Dele&te Signal + + + true + + + Delete signal + + + <b>Delete the signal.</b><p>All connections using this signal will also be deleted.</p> + + + + + + + Layout38 + + + + unnamed + + + 0 + + + 6 + + + + TextLabel1 + + + S&ignal: + + + editSignal + + + + + editSignal + + + 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> + + + + + + + + + Widget4 + + + S&lots + + + + unnamed + + + 11 + + + 6 + + + + + Slot + + + true + + + true + + + + + Access + + + true + + + true + + + + listSlots + + + true + + + true + + + The list of all the custom widget's slots. + + + + + TextLabel2 + + + Sl&ot: + + + editSlot + + + + + editSlot + + + 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> + + + + + TextLabel3 + + + &Access: + + + comboAccess + + + + + + public + + + + + protected + + + + comboAccess + + + Change slot access + + + <b>Change the slot's access policy.</b><p>You can only connect to the widget's public slots.</p> + + + + + Layout7 + + + + unnamed + + + 0 + + + 6 + + + + Spacer2 + + + Horizontal + + + Expanding + + + + 20 + 20 + + + + + + buttonAddSlot + + + 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> + + + + + buttonRemoveSlot + + + Dele&te Slot + + + true + + + Delete slot + + + <b>Delete the slot.</b><p>All connections using this slot will also be deleted.</p> + + + + + + + + + Widget5 + + + &Properties + + + + unnamed + + + 11 + + + 6 + + + + Layout7_2 + + + + unnamed + + + 0 + + + 6 + + + + Spacer2_2 + + + Horizontal + + + Expanding + + + + 20 + 20 + + + + + + buttonAddProperty + + + 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 TQt's property system.</p> + + + + + buttonRemoveProperty + + + Dele&te Property + + + true + + + Delete property + + + Deletes the selected property. + + + + + + + + String + + + + + CString + + + + + StringList + + + + + Bool + + + + + Int + + + + + UInt + + + + + Font + + + + + Color + + + + + Rect + + + + + Point + + + + + Size + + + + + Pixmap + + + + + Palette + + + + + Cursor + + + + + SizePolicy + + + + comboType + + + Select property type + + + <b>Select the type of the property.</b><p>The propertiy must be implemented in the class using TQt's property system.</p><p>You can use integer types to support enumeration properties in the property editor.</p> + + + + + + Property + + + true + + + true + + + + + Type + + + true + + + true + + + + listProperties + + + 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> + + + + + editProperty + + + Change property name + + + <b>Enter a name for the property.</b><p>The properties must be implemented in the class using TQt's property system.</p> + + + + + TextLabel2_2 + + + P&roperty Name: + + + editProperty + + + + + TextLabel3_2 + + + T&ype: + + + comboType + + + + + + + + + + boxWidgets + selectionChanged(TQListBoxItem*) + CustomWidgetEditorBase + currentWidgetChanged(TQListBoxItem*) + + + boxWidgets + currentChanged(TQListBoxItem*) + CustomWidgetEditorBase + currentWidgetChanged(TQListBoxItem*) + + + buttonNewWidget + clicked() + CustomWidgetEditorBase + addWidgetClicked() + + + buttonDeleteWidget + clicked() + CustomWidgetEditorBase + deleteWidgetClicked() + + + editClass + textChanged(const TQString&) + CustomWidgetEditorBase + classNameChanged(const TQString&) + + + editHeader + textChanged(const TQString&) + CustomWidgetEditorBase + headerFileChanged(const TQString&) + + + 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(TQListBoxItem*) + CustomWidgetEditorBase + currentSignalChanged(TQListBoxItem*) + + + listSignals + selectionChanged(TQListBoxItem*) + CustomWidgetEditorBase + currentSignalChanged(TQListBoxItem*) + + + buttonRemoveSignal + clicked() + CustomWidgetEditorBase + removeSignal() + + + editSignal + textChanged(const TQString&) + CustomWidgetEditorBase + signalNameChanged(const TQString&) + + + listSlots + currentChanged(TQListViewItem*) + CustomWidgetEditorBase + currentSlotChanged(TQListViewItem*) + + + listSlots + selectionChanged(TQListViewItem*) + CustomWidgetEditorBase + currentSlotChanged(TQListViewItem*) + + + buttonRemoveSlot + clicked() + CustomWidgetEditorBase + removeSlot() + + + editSlot + textChanged(const TQString&) + CustomWidgetEditorBase + slotNameChanged(const TQString&) + + + comboAccess + activated(const TQString&) + CustomWidgetEditorBase + slotAccessChanged(const TQString&) + + + listProperties + currentChanged(TQListViewItem*) + CustomWidgetEditorBase + currentPropertyChanged(TQListViewItem*) + + + listProperties + selectionChanged(TQListViewItem*) + CustomWidgetEditorBase + currentPropertyChanged(TQListViewItem*) + + + buttonRemoveProperty + clicked() + CustomWidgetEditorBase + removeProperty() + + + editProperty + textChanged(const TQString&) + CustomWidgetEditorBase + propertyNameChanged(const TQString&) + + + comboType + activated(const TQString&) + CustomWidgetEditorBase + propertyTypeChanged(const TQString&) + + + 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() + + init() + destroy() + addProperty() + addSignal() + addWidgetClicked() + chooseHeader() + classNameChanged( const TQString & ) + closeClicked() + currentPropertyChanged( TQListViewItem * ) + currentSignalChanged( TQListBoxItem * ) + currentSlotChanged( TQListViewItem * ) + currentWidgetChanged( TQListBoxItem * ) + deleteWidgetClicked() + headerFileChanged( const TQString & ) + heightChanged( int ) + horDataChanged(int) + includePolicyChanged( int ) + loadDescription() + addSlot() + pixmapChoosen() + propertyNameChanged( const TQString & ) + propertyTypeChanged( const TQString & ) + removeProperty() + removeSignal() + removeSlot() + saveDescription() + signalNameChanged( const TQString & ) + slotAccessChanged( const TQString & ) + slotNameChanged( const TQString & ) + verDataChanged(int) + widgetIsContainer(bool) + widthChanged( int ) + + + 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 + + -- cgit v1.2.3