diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-03-23 09:18:55 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-03-23 09:18:55 (GMT) |
commit | e5fcad302d86d316390c6b0f62759a067313e8a9 (patch) | |
tree | c2afbf6f1066b6ce261f14341cf6d310e5595bc1 /tests/auto/uic3/baseline/editfunctions.ui | |
download | Qt-e5fcad302d86d316390c6b0f62759a067313e8a9.zip Qt-e5fcad302d86d316390c6b0f62759a067313e8a9.tar.gz Qt-e5fcad302d86d316390c6b0f62759a067313e8a9.tar.bz2 |
Long live Qt 4.5!
Diffstat (limited to 'tests/auto/uic3/baseline/editfunctions.ui')
-rw-r--r-- | tests/auto/uic3/baseline/editfunctions.ui | 721 |
1 files changed, 721 insertions, 0 deletions
diff --git a/tests/auto/uic3/baseline/editfunctions.ui b/tests/auto/uic3/baseline/editfunctions.ui new file mode 100644 index 0000000..8c38442 --- /dev/null +++ b/tests/auto/uic3/baseline/editfunctions.ui @@ -0,0 +1,721 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>EditFunctionsBase</class> +<comment>********************************************************************* +** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. +** +** This file is part of Qt 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 Nokia Corporation and/or its subsidiary(-ies) (or its successors, if any) +** and the KDE Free Qt Foundation. +** +** Please review the following information to ensure GNU General +** Public Licensing requirements 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 Qt Commercial 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 WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted +** herein. +** +*********************************************************************</comment> +<widget class="QDialog"> + <property name="name"> + <cstring>EditFunctionsBase</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>371</height> + </rect> + </property> + <property name="caption"> + <string>Edit Functions</string> + </property> + <property name="sizeGripEnabled"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string><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></string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QListView"> + <column> + <property name="text"> + <string>Function</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <column> + <property name="text"> + <string>Return Type</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <column> + <property name="text"> + <string>Specifier</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <column> + <property name="text"> + <string>Access</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <column> + <property name="text"> + <string>Type</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <column> + <property name="text"> + <string>In Use</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <property name="name"> + <cstring>functionListView</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="frameShape"> + <enum>StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>Sunken</enum> + </property> + <property name="allColumnsShowFocus"> + <bool>true</bool> + </property> + <property name="showSortIndicator"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string><b>This form's functions.</b><p>Select the function you want to change or delete.</p></string> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout11</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>6</number> + </property> + <widget class="QCheckBox"> + <property name="name"> + <cstring>showOnlySlots</cstring> + </property> + <property name="focusPolicy"> + <enum>StrongFocus</enum> + </property> + <property name="text"> + <string>Only d&isplay slots</string> + </property> + <property name="toolTip" stdset="0"> + <string>Change displaying mode for functions</string> + </property> + <property name="whatsThis" stdset="0"> + <string><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> +</string> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Vertical Spacing1</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="QPushButton"> + <property name="name"> + <cstring>addFunction</cstring> + </property> + <property name="text"> + <string>&New Function</string> + </property> + <property name="toolTip" stdset="0"> + <string>Add new function</string> + </property> + <property name="whatsThis" stdset="0"> + <string><b>Add a new function.</b><p>New functions have a default name and public access.</p></string> + </property> + </widget> + <widget class="QPushButton"> + <property name="name"> + <cstring>deleteFunction</cstring> + </property> + <property name="text"> + <string>&Delete Function</string> + </property> + <property name="toolTip" stdset="0"> + <string>Delete function</string> + </property> + <property name="whatsThis" stdset="0"> + <string><b>Delete the selected function.</b><p>All connections using this function are also removed.</p></string> + </property> + </widget> + </hbox> + </widget> + <widget class="QGroupBox"> + <property name="name"> + <cstring>boxProperties</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Function Properties</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout14</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout5</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>Label8</cstring> + </property> + <property name="text"> + <string>&Function:</string> + </property> + <property name="alignment"> + <set>AlignVCenter|AlignRight</set> + </property> + <property name="buddy" stdset="0"> + <cstring>functionName</cstring> + </property> + </widget> + <widget class="QLineEdit"> + <property name="name"> + <cstring>functionName</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip" stdset="0"> + <string>Change function name</string> + </property> + <property name="whatsThis" stdset="0"> + <string><b>Change the name of the selected function.</b><p>The name should include the argument list and must be syntactically correct.</p></string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>labelType</cstring> + </property> + <property name="text"> + <string>&Return type:</string> + </property> + <property name="alignment"> + <set>AlignVCenter|AlignRight</set> + </property> + <property name="buddy" stdset="0"> + <cstring>editType</cstring> + </property> + </widget> + <widget class="QLineEdit"> + <property name="name"> + <cstring>editType</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip" stdset="0"> + <string>Change the return type of the function</string> + </property> + <property name="whatsThis" stdset="0"> + <string><b>Change the return type of the selected function.</b><p>Specifiy here the datatype which should be returned by the function.</p></string> + </property> + </widget> + </hbox> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer6_2</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>16</height> + </size> + </property> + </spacer> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout13</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>Label9_2</cstring> + </property> + <property name="text"> + <string>S&pecifier:</string> + </property> + <property name="alignment"> + <set>AlignVCenter|AlignRight</set> + </property> + <property name="buddy" stdset="0"> + <cstring>functionSpecifier</cstring> + </property> + </widget> + <widget class="QComboBox"> + <item> + <property name="text"> + <string>non virtual</string> + </property> + </item> + <item> + <property name="text"> + <string>virtual</string> + </property> + </item> + <item> + <property name="text"> + <string>pure virtual</string> + </property> + </item> + <item> + <property name="text"> + <string>static</string> + </property> + </item> + <property name="name"> + <cstring>functionSpecifier</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip" stdset="0"> + <string>Change function access</string> + </property> + <property name="whatsThis" stdset="0"> + <string><b>Change the access policy of the function</b><p>All functions are created virtual and should be reimplemented in subclasses.</p></string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="text"> + <string>&Access:</string> + </property> + <property name="alignment"> + <set>WordBreak|AlignVCenter|AlignRight</set> + </property> + <property name="buddy" stdset="0"> + <cstring>functionAccess</cstring> + </property> + </widget> + <widget class="QComboBox"> + <item> + <property name="text"> + <string>public</string> + </property> + </item> + <item> + <property name="text"> + <string>protected</string> + </property> + </item> + <item> + <property name="text"> + <string>private</string> + </property> + </item> + <property name="name"> + <cstring>functionAccess</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip" stdset="0"> + <string>Change function access</string> + </property> + <property name="whatsThis" stdset="0"> + <string><b>Change the access policy of the function</b><p>All functions are created virtual and should be reimplemented in subclasses.</p></string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1_2</cstring> + </property> + <property name="text"> + <string>&Type:</string> + </property> + <property name="alignment"> + <set>AlignVCenter|AlignRight</set> + </property> + <property name="buddy" stdset="0"> + <cstring>functionType</cstring> + </property> + </widget> + <widget class="QComboBox"> + <item> + <property name="text"> + <string>slot</string> + </property> + </item> + <item> + <property name="text"> + <string>function</string> + </property> + </item> + <property name="name"> + <cstring>functionType</cstring> + </property> + <property name="toolTip" stdset="0"> + <string>Change function type</string> + </property> + <property name="whatsThis" stdset="0"> + <string><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></string> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer5</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </hbox> + </widget> + </vbox> + </widget> + </vbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout1</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QPushButton"> + <property name="name"> + <cstring>helpButton</cstring> + </property> + <property name="text"> + <string>&Help</string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Horizontal Spacing2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="QPushButton"> + <property name="name"> + <cstring>okButton</cstring> + </property> + <property name="text"> + <string>&OK</string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + <property name="default"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>Close the dialog and apply all the changes.</string> + </property> + </widget> + <widget class="QPushButton"> + <property name="name"> + <cstring>cancelButton</cstring> + </property> + <property name="text"> + <string>&Cancel</string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>Close the dialog and discard any changes.</string> + </property> + </widget> + </hbox> + </widget> + </vbox> +</widget> +<connections> + <connection> + <sender>cancelButton</sender> + <signal>clicked()</signal> + <receiver>EditFunctionsBase</receiver> + <slot>reject()</slot> + </connection> + <connection> + <sender>okButton</sender> + <signal>clicked()</signal> + <receiver>EditFunctionsBase</receiver> + <slot>okClicked()</slot> + </connection> + <connection> + <sender>deleteFunction</sender> + <signal>clicked()</signal> + <receiver>EditFunctionsBase</receiver> + <slot>functionRemove()</slot> + </connection> + <connection> + <sender>addFunction</sender> + <signal>clicked()</signal> + <receiver>EditFunctionsBase</receiver> + <slot>functionAdd()</slot> + </connection> + <connection> + <sender>functionName</sender> + <signal>textChanged(const QString&)</signal> + <receiver>EditFunctionsBase</receiver> + <slot>currentTextChanged(const QString&)</slot> + </connection> + <connection> + <sender>functionListView</sender> + <signal>selectionChanged(QListViewItem*)</signal> + <receiver>EditFunctionsBase</receiver> + <slot>currentItemChanged(QListViewItem*)</slot> + </connection> + <connection> + <sender>functionListView</sender> + <signal>currentChanged(QListViewItem*)</signal> + <receiver>EditFunctionsBase</receiver> + <slot>currentItemChanged(QListViewItem*)</slot> + </connection> + <connection> + <sender>editType</sender> + <signal>textChanged(const QString&)</signal> + <receiver>EditFunctionsBase</receiver> + <slot>currentReturnTypeChanged(const QString&)</slot> + </connection> + <connection> + <sender>functionSpecifier</sender> + <signal>activated(const QString&)</signal> + <receiver>EditFunctionsBase</receiver> + <slot>currentSpecifierChanged(const QString&)</slot> + </connection> + <connection> + <sender>functionAccess</sender> + <signal>activated(const QString&)</signal> + <receiver>EditFunctionsBase</receiver> + <slot>currentAccessChanged(const QString&)</slot> + </connection> + <connection> + <sender>functionType</sender> + <signal>activated(const QString&)</signal> + <receiver>EditFunctionsBase</receiver> + <slot>currentTypeChanged(const QString&)</slot> + </connection> + <connection> + <sender>showOnlySlots</sender> + <signal>toggled(bool)</signal> + <receiver>EditFunctionsBase</receiver> + <slot>displaySlots(bool)</slot> + </connection> +</connections> +<tabstops> + <tabstop>functionName</tabstop> + <tabstop>editType</tabstop> + <tabstop>functionSpecifier</tabstop> + <tabstop>functionAccess</tabstop> + <tabstop>functionType</tabstop> + <tabstop>helpButton</tabstop> + <tabstop>okButton</tabstop> + <tabstop>cancelButton</tabstop> + <tabstop>functionListView</tabstop> + <tabstop>showOnlySlots</tabstop> + <tabstop>addFunction</tabstop> + <tabstop>deleteFunction</tabstop> +</tabstops> +<slots> + <slot access="protected">currentItemChanged( QListViewItem * )</slot> + <slot access="protected">currentSpecifierChanged( const QString & )</slot> + <slot access="protected">currentTextChanged( const QString & )</slot> + <slot access="protected">currentReturnTypeChanged( const QString & )</slot> + <slot access="protected">destroy()</slot> + <slot access="protected">init()</slot> + <slot access="protected">currentAccessChanged( const QString & )</slot> + <slot access="protected">currentTypeChanged( const QString & )</slot> + <slot access="protected">okClicked()</slot> + <slot access="protected">functionAdd()</slot> + <slot access="protected">functionRemove()</slot> + <slot access="protected">displaySlots( bool )</slot> +</slots> +<layoutdefaults spacing="6" margin="11"/> +</UI> |