diff options
Diffstat (limited to 'tests/auto/uic3/baseline/listboxeditor.ui.4')
-rw-r--r-- | tests/auto/uic3/baseline/listboxeditor.ui.4 | 425 |
1 files changed, 425 insertions, 0 deletions
diff --git a/tests/auto/uic3/baseline/listboxeditor.ui.4 b/tests/auto/uic3/baseline/listboxeditor.ui.4 new file mode 100644 index 0000000..a1ec225 --- /dev/null +++ b/tests/auto/uic3/baseline/listboxeditor.ui.4 @@ -0,0 +1,425 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0" stdsetdef="1"> + <author></author> + <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> + <exportmacro></exportmacro> + <class>ListBoxEditorBase</class> + <widget class="QDialog" name="ListBoxEditorBase"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>482</width> + <height>229</height> + </rect> + </property> + <property name="windowTitle"> + <string>Edit Listbox</string> + </property> + <property name="sizeGripEnabled"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string><b>Edit Listbox</b><p>Add, edit or delete items in the listbox.</p><p>Click the <b>New Item</b>-button to create a new listbox entry, then enter text and choose a pixmap.</p><p>Select an item from the list and click the <b>Delete Item</b>-button to remove the item from the list.</p></string> + </property> + <layout class="QGridLayout"> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <item row="5" column="0" rowspan="1" colspan="3"> + <layout class="QHBoxLayout"> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <item> + <widget class="QPushButton" name="helpButton"> + <property name="text"> + <string>&Help</string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <spacer name="Horizontal Spacing2"> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="buttonApply"> + <property name="text"> + <string>&Apply</string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>Apply all changes.</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="buttonOk"> + <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> + </item> + <item> + <widget class="QPushButton" name="buttonCancel"> + <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> + </item> + </layout> + </item> + <item row="0" column="0" rowspan="5" colspan="1"> + <widget class="Q3ListBox" name="preview"> + <property name="toolTip" stdset="0"> + <string>Item list</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The list of items.</string> + </property> + </widget> + </item> + <item row="0" column="2" rowspan="5" colspan="1"> + <widget class="Q3GroupBox" name="GroupBox1"> + <property name="title"> + <string>&Item Properties</string> + </property> + <layout class="QGridLayout"> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <item row="1" column="0"> + <widget class="QLabel" name="Label2"> + <property name="text"> + <string>&Pixmap:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>itemChoosePixmap</cstring> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="itemPixmap"> + <property name="text"> + <string>Label4</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QPushButton" name="itemDeletePixmap"> + <property name="maximumSize"> + <size> + <width>30</width> + <height>22</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <pixmap>designer_s_editcut.png</pixmap> + </property> + <property name="toolTip" stdset="0"> + <string>Delete Pixmap</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Delete the selected item's pixmap.</string> + </property> + </widget> + </item> + <item row="1" column="3"> + <widget class="QPushButton" name="itemChoosePixmap"> + <property name="maximumSize"> + <size> + <width>30</width> + <height>22</height> + </size> + </property> + <property name="text"> + <string>...</string> + </property> + <property name="toolTip" stdset="0"> + <string>Select a Pixmap</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Choose a pixmap file for the selected item.</string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="Label1"> + <property name="text"> + <string>&Text:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>itemText</cstring> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="0" column="1" rowspan="1" colspan="3"> + <widget class="QLineEdit" name="itemText"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>0</height> + </size> + </property> + <property name="toolTip" stdset="0"> + <string>Change text</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Change the selected item's text.</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="0" column="1"> + <widget class="QPushButton" name="itemNew"> + <property name="text"> + <string>&New Item</string> + </property> + <property name="toolTip" stdset="0"> + <string>Add an item</string> + </property> + <property name="whatsThis" stdset="0"> + <string><b>Add a new item.</b><p>New items are appended to the list.</p></string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QPushButton" name="itemDelete"> + <property name="text"> + <string>&Delete Item</string> + </property> + <property name="toolTip" stdset="0"> + <string>Delete Item</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Delete the selected item</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <spacer name="Vertical Spacing1"> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </spacer> + </item> + <item row="3" column="1"> + <widget class="QPushButton" name="itemUp"> + <property name="text"> + <string/> + </property> + <property name="icon"> + <pixmap>designer_s_up.png</pixmap> + </property> + <property name="toolTip" stdset="0"> + <string>Move up</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Moves the selected item up.</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QPushButton" name="itemDown"> + <property name="text"> + <string/> + </property> + <property name="icon"> + <pixmap>designer_s_down.png</pixmap> + </property> + <property name="toolTip" stdset="0"> + <string>Move down</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Move the selected item down.</string> + </property> + </widget> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="11"/> + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <tabstops> + <tabstop>buttonOk</tabstop> + <tabstop>buttonCancel</tabstop> + <tabstop>preview</tabstop> + <tabstop>itemNew</tabstop> + <tabstop>itemDelete</tabstop> + <tabstop>itemUp</tabstop> + <tabstop>itemDown</tabstop> + <tabstop>itemText</tabstop> + <tabstop>itemDeletePixmap</tabstop> + <tabstop>itemChoosePixmap</tabstop> + <tabstop>helpButton</tabstop> + <tabstop>buttonApply</tabstop> + </tabstops> + <connections> + <connection> + <sender>itemNew</sender> + <signal>clicked()</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>insertNewItem()</slot> + </connection> + <connection> + <sender>itemDelete</sender> + <signal>clicked()</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>deleteCurrentItem()</slot> + </connection> + <connection> + <sender>itemText</sender> + <signal>textChanged(QString)</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>currentTextChanged(QString)</slot> + </connection> + <connection> + <sender>buttonOk</sender> + <signal>clicked()</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>okClicked()</slot> + </connection> + <connection> + <sender>buttonApply</sender> + <signal>clicked()</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>applyClicked()</slot> + </connection> + <connection> + <sender>buttonCancel</sender> + <signal>clicked()</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>cancelClicked()</slot> + </connection> + <connection> + <sender>itemChoosePixmap</sender> + <signal>clicked()</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>choosePixmap()</slot> + </connection> + <connection> + <sender>itemDeletePixmap</sender> + <signal>clicked()</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>deletePixmap()</slot> + </connection> + <connection> + <sender>itemUp</sender> + <signal>clicked()</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>moveItemUp()</slot> + </connection> + <connection> + <sender>itemDown</sender> + <signal>clicked()</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>moveItemDown()</slot> + </connection> + <connection> + <sender>preview</sender> + <signal>selectionChanged(Q3ListBoxItem*)</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>currentItemChanged(Q3ListBoxItem*)</slot> + </connection> + <connection> + <sender>preview</sender> + <signal>currentChanged(Q3ListBoxItem*)</signal> + <receiver>ListBoxEditorBase</receiver> + <slot>currentItemChanged(Q3ListBoxItem*)</slot> + </connection> + </connections> +</ui> |