tests/auto/uic3/baseline/dbconnections.ui.4
changeset 0 1918ee327afb
child 4 3b1da2848fc7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/auto/uic3/baseline/dbconnections.ui.4	Mon Jan 11 14:00:40 2010 +0000
@@ -0,0 +1,298 @@
+<?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>DatabaseConnectionBase</class>
+  <widget class="QDialog" name="DatabaseConnectionBase">
+    <property name="geometry">
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>512</width>
+        <height>309</height>
+      </rect>
+    </property>
+    <property name="windowTitle">
+      <string>Edit Database Connections</string>
+    </property>
+    <property name="sizeGripEnabled">
+      <bool>true</bool>
+    </property>
+    <layout class="QGridLayout">
+      <property name="margin">
+        <number>11</number>
+      </property>
+      <property name="spacing">
+        <number>6</number>
+      </property>
+      <item row="0" column="1">
+        <widget class="QPushButton" name="buttonNew">
+          <property name="text">
+            <string>&amp;New Connection</string>
+          </property>
+        </widget>
+      </item>
+      <item row="0" column="0" rowspan="5" colspan="1">
+        <widget class="Q3ListBox" name="listConnections"/>
+      </item>
+      <item row="1" column="1">
+        <widget class="QPushButton" name="buttonDelete">
+          <property name="text">
+            <string>&amp;Delete Connection</string>
+          </property>
+        </widget>
+      </item>
+      <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="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="buttonClose">
+              <property name="text">
+                <string>&amp;Close</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="2" column="1" rowspan="3" colspan="1">
+        <spacer name="Spacer1">
+          <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="0" column="2" rowspan="3" colspan="1">
+        <widget class="Q3GroupBox" name="grp">
+          <property name="title">
+            <string>Connection</string>
+          </property>
+          <layout class="QGridLayout">
+            <property name="margin">
+              <number>11</number>
+            </property>
+            <property name="spacing">
+              <number>6</number>
+            </property>
+            <item row="0" column="0">
+              <spacer name="Spacer3">
+                <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>
+        </widget>
+      </item>
+      <item row="3" column="2">
+        <layout class="QHBoxLayout">
+          <property name="margin">
+            <number>0</number>
+          </property>
+          <property name="spacing">
+            <number>6</number>
+          </property>
+          <item>
+            <spacer name="Spacer4">
+              <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="buttonConnect">
+              <property name="enabled">
+                <bool>false</bool>
+              </property>
+              <property name="text">
+                <string>Connec&amp;t</string>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <spacer name="Spacer5">
+              <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>
+        </layout>
+      </item>
+      <item row="4" column="2">
+        <spacer name="Spacer6">
+          <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>
+  </widget>
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <tabstops>
+    <tabstop>buttonClose</tabstop>
+    <tabstop>listConnections</tabstop>
+    <tabstop>buttonNew</tabstop>
+    <tabstop>buttonDelete</tabstop>
+    <tabstop>buttonConnect</tabstop>
+    <tabstop>buttonHelp</tabstop>
+  </tabstops>
+  <connections>
+    <connection>
+      <sender>buttonClose</sender>
+      <signal>clicked()</signal>
+      <receiver>DatabaseConnectionBase</receiver>
+      <slot>accept()</slot>
+    </connection>
+    <connection>
+      <sender>buttonNew</sender>
+      <signal>clicked()</signal>
+      <receiver>DatabaseConnectionBase</receiver>
+      <slot>newConnection()</slot>
+    </connection>
+    <connection>
+      <sender>buttonDelete</sender>
+      <signal>clicked()</signal>
+      <receiver>DatabaseConnectionBase</receiver>
+      <slot>deleteConnection()</slot>
+    </connection>
+    <connection>
+      <sender>buttonConnect</sender>
+      <signal>clicked()</signal>
+      <receiver>DatabaseConnectionBase</receiver>
+      <slot>doConnect()</slot>
+    </connection>
+    <connection>
+      <sender>listConnections</sender>
+      <signal>highlighted(QString)</signal>
+      <receiver>DatabaseConnectionBase</receiver>
+      <slot>currentConnectionChanged(QString)</slot>
+    </connection>
+    <connection>
+      <sender>listConnections</sender>
+      <signal>selected(QString)</signal>
+      <receiver>DatabaseConnectionBase</receiver>
+      <slot>currentConnectionChanged(QString)</slot>
+    </connection>
+  </connections>
+</ui>