tests/auto/uic3/baseline/iconvieweditor.ui.4
changeset 0 1918ee327afb
child 4 3b1da2848fc7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/auto/uic3/baseline/iconvieweditor.ui.4	Mon Jan 11 14:00:40 2010 +0000
@@ -0,0 +1,422 @@
+<?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.
+** 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>IconViewEditorBase</class>
+  <widget class="QDialog" name="IconViewEditorBase">
+    <property name="geometry">
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>567</width>
+        <height>321</height>
+      </rect>
+    </property>
+    <property name="windowTitle">
+      <string>Edit Iconview</string>
+    </property>
+    <property name="sizeGripEnabled">
+      <bool>true</bool>
+    </property>
+    <property name="whatsThis" stdset="0">
+      <string>&lt;b&gt;Edit Iconview&lt;/b&gt;&lt;p&gt;Add, edit or delete items in the icon view.&lt;/p&gt;&lt;p&gt;Click the &lt;b&gt;New Item&lt;/b&gt;-button to create a new item, then enter text and choose a pixmap.&lt;/p&gt;&lt;p&gt;Select an item from the view and click the &lt;b&gt;Delete Item&lt;/b&gt;-button to remove the item from the iconview.&lt;/p&gt;</string>
+    </property>
+    <layout class="QVBoxLayout">
+      <property name="margin">
+        <number>11</number>
+      </property>
+      <property name="spacing">
+        <number>6</number>
+      </property>
+      <item>
+        <layout class="QHBoxLayout">
+          <property name="margin">
+            <number>0</number>
+          </property>
+          <property name="spacing">
+            <number>6</number>
+          </property>
+          <item>
+            <widget class="Q3IconView" name="preview">
+              <property name="whatsThis" stdset="0">
+                <string>All items in the iconview.</string>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <layout class="QVBoxLayout">
+              <property name="margin">
+                <number>0</number>
+              </property>
+              <property name="spacing">
+                <number>6</number>
+              </property>
+              <item>
+                <widget class="QPushButton" name="itemNew">
+                  <property name="text">
+                    <string>&amp;New Item</string>
+                  </property>
+                  <property name="toolTip" stdset="0">
+                    <string>Add an item</string>
+                  </property>
+                  <property name="whatsThis" stdset="0">
+                    <string>Create a new item for the iconview.</string>
+                  </property>
+                </widget>
+              </item>
+              <item>
+                <widget class="QPushButton" name="itemDelete">
+                  <property name="text">
+                    <string>&amp;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>
+                <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>
+            </layout>
+          </item>
+          <item>
+            <widget class="Q3GroupBox" name="GroupBox1">
+              <property name="sizePolicy">
+                <sizepolicy>
+                  <hsizetype>0</hsizetype>
+                  <vsizetype>5</vsizetype>
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                </sizepolicy>
+              </property>
+              <property name="title">
+                <string>&amp;Item Properties</string>
+              </property>
+              <layout class="QGridLayout">
+                <property name="margin">
+                  <number>11</number>
+                </property>
+                <property name="spacing">
+                  <number>6</number>
+                </property>
+                <item row="0" column="0">
+                  <widget class="QLabel" name="Label1">
+                    <property name="text">
+                      <string>&amp;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">
+                  <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 text for the selected item.</string>
+                    </property>
+                  </widget>
+                </item>
+                <item row="1" column="0">
+                  <widget class="QLabel" name="Label2">
+                    <property name="text">
+                      <string>&amp;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">
+                  <layout class="QHBoxLayout">
+                    <property name="margin">
+                      <number>0</number>
+                    </property>
+                    <property name="spacing">
+                      <number>6</number>
+                    </property>
+                    <item>
+                      <widget class="QLabel" name="itemPixmap">
+                        <property name="text">
+                          <string>Label4</string>
+                        </property>
+                        <property name="wordWrap">
+                          <bool>false</bool>
+                        </property>
+                      </widget>
+                    </item>
+                    <item>
+                      <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>
+                      <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>Select a pixmap file for the current item.</string>
+                        </property>
+                      </widget>
+                    </item>
+                  </layout>
+                </item>
+              </layout>
+            </widget>
+          </item>
+        </layout>
+      </item>
+      <item>
+        <layout class="QHBoxLayout">
+          <property name="margin">
+            <number>0</number>
+          </property>
+          <property name="spacing">
+            <number>6</number>
+          </property>
+          <item>
+            <widget class="QPushButton" name="buttonHelp">
+              <property name="text">
+                <string>&amp;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>&amp;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>&amp;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>&amp;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>
+    </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>itemText</tabstop>
+    <tabstop>itemDeletePixmap</tabstop>
+    <tabstop>itemChoosePixmap</tabstop>
+    <tabstop>buttonHelp</tabstop>
+    <tabstop>buttonApply</tabstop>
+  </tabstops>
+  <connections>
+    <connection>
+      <sender>itemNew</sender>
+      <signal>clicked()</signal>
+      <receiver>IconViewEditorBase</receiver>
+      <slot>insertNewItem()</slot>
+    </connection>
+    <connection>
+      <sender>itemDelete</sender>
+      <signal>clicked()</signal>
+      <receiver>IconViewEditorBase</receiver>
+      <slot>deleteCurrentItem()</slot>
+    </connection>
+    <connection>
+      <sender>itemText</sender>
+      <signal>textChanged(QString)</signal>
+      <receiver>IconViewEditorBase</receiver>
+      <slot>currentTextChanged(QString)</slot>
+    </connection>
+    <connection>
+      <sender>buttonOk</sender>
+      <signal>clicked()</signal>
+      <receiver>IconViewEditorBase</receiver>
+      <slot>okClicked()</slot>
+    </connection>
+    <connection>
+      <sender>buttonApply</sender>
+      <signal>clicked()</signal>
+      <receiver>IconViewEditorBase</receiver>
+      <slot>applyClicked()</slot>
+    </connection>
+    <connection>
+      <sender>buttonCancel</sender>
+      <signal>clicked()</signal>
+      <receiver>IconViewEditorBase</receiver>
+      <slot>cancelClicked()</slot>
+    </connection>
+    <connection>
+      <sender>itemChoosePixmap</sender>
+      <signal>clicked()</signal>
+      <receiver>IconViewEditorBase</receiver>
+      <slot>choosePixmap()</slot>
+    </connection>
+    <connection>
+      <sender>preview</sender>
+      <signal>selectionChanged(Q3IconViewItem*)</signal>
+      <receiver>IconViewEditorBase</receiver>
+      <slot>currentItemChanged(Q3IconViewItem*)</slot>
+    </connection>
+    <connection>
+      <sender>preview</sender>
+      <signal>currentChanged(Q3IconViewItem*)</signal>
+      <receiver>IconViewEditorBase</receiver>
+      <slot>currentItemChanged(Q3IconViewItem*)</slot>
+    </connection>
+    <connection>
+      <sender>itemDeletePixmap</sender>
+      <signal>clicked()</signal>
+      <receiver>IconViewEditorBase</receiver>
+      <slot>deletePixmap()</slot>
+    </connection>
+  </connections>
+</ui>