diff options
Diffstat (limited to 'tests/auto/uic3/baseline/listboxeditor.ui.4')
-rw-r--r-- | tests/auto/uic3/baseline/listboxeditor.ui.4 | 433 |
1 files changed, 433 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..93e4f0f --- /dev/null +++ b/tests/auto/uic3/baseline/listboxeditor.ui.4 @@ -0,0 +1,433 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0" stdsetdef="1"> + <author></author> + <comment>********************************************************************* +** +** Copyright (C) 2011 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$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, 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. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +*********************************************************************</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> |