tests/auto/uic3/baseline/connect.ui.4
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Wed, 21 Apr 2010 09:15:16 +0300
branchRCL_3
changeset 10 68d3b337861b
parent 0 1918ee327afb
permissions -rw-r--r--
bac24638cd0e032feaaaf81f375284a059242729

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" stdsetdef="1">
  <author></author>
  <comment></comment>
  <exportmacro></exportmacro>
  <class>ConnectDialog</class>
  <widget class="QDialog" name="ConnectDialog">
    <property name="geometry">
      <rect>
        <x>0</x>
        <y>0</y>
        <width>303</width>
        <height>247</height>
      </rect>
    </property>
    <property name="windowTitle">
      <string>Connect...</string>
    </property>
    <layout class="QVBoxLayout">
      <property name="margin">
        <number>11</number>
      </property>
      <property name="spacing">
        <number>6</number>
      </property>
      <item>
        <widget class="Q3GroupBox" name="GroupBox3">
          <property name="title">
            <string>Connection settings</string>
          </property>
          <layout class="QGridLayout">
            <property name="margin">
              <number>11</number>
            </property>
            <property name="spacing">
              <number>6</number>
            </property>
            <item row="1" column="1">
              <widget class="QLineEdit" name="editDatabase"/>
            </item>
            <item row="1" column="0">
              <widget class="QLabel" name="TextLabel3">
                <property name="text">
                  <string>Database Name:</string>
                </property>
                <property name="buddy" stdset="0">
                  <cstring>comboDatabase</cstring>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="3" column="1">
              <widget class="QLineEdit" name="editPassword">
                <property name="echoMode">
                  <enum>QLineEdit::Password</enum>
                </property>
              </widget>
            </item>
            <item row="2" column="0">
              <widget class="QLabel" name="TextLabel4">
                <property name="text">
                  <string>&amp;Username:</string>
                </property>
                <property name="buddy" stdset="0">
                  <cstring>editUsername</cstring>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="3" column="0">
              <widget class="QLabel" name="TextLabel4_2">
                <property name="text">
                  <string>&amp;Password:</string>
                </property>
                <property name="buddy" stdset="0">
                  <cstring>editPassword</cstring>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="0" column="1">
              <widget class="QComboBox" name="comboDriver"/>
            </item>
            <item row="2" column="1">
              <widget class="QLineEdit" name="editUsername"/>
            </item>
            <item row="4" column="1">
              <widget class="QLineEdit" name="editHostname"/>
            </item>
            <item row="4" column="0">
              <widget class="QLabel" name="TextLabel5">
                <property name="text">
                  <string>&amp;Hostname:</string>
                </property>
                <property name="buddy" stdset="0">
                  <cstring>editHostname</cstring>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="5" column="0">
              <widget class="QLabel" name="TextLabel5_2">
                <property name="text">
                  <string>P&amp;ort:</string>
                </property>
                <property name="buddy" stdset="0">
                  <cstring>portSpinBox</cstring>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="5" column="1">
              <widget class="QSpinBox" name="portSpinBox">
                <property name="specialValueText">
                  <string>Default</string>
                </property>
                <property name="maximum">
                  <number>65535</number>
                </property>
                <property name="minimum">
                  <number>-1</number>
                </property>
                <property name="value">
                  <number>-1</number>
                </property>
              </widget>
            </item>
            <item row="0" column="0">
              <widget class="QLabel" name="TextLabel2">
                <property name="text">
                  <string>D&amp;river</string>
                </property>
                <property name="buddy" stdset="0">
                  <cstring>comboDriver</cstring>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
          </layout>
        </widget>
      </item>
      <item>
        <layout class="QHBoxLayout">
          <property name="margin">
            <number>0</number>
          </property>
          <property name="spacing">
            <number>6</number>
          </property>
          <item>
            <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::Horizontal</enum>
              </property>
            </spacer>
          </item>
          <item>
            <widget class="QPushButton" name="PushButton1">
              <property name="text">
                <string>&amp;OK</string>
              </property>
              <property name="default">
                <bool>true</bool>
              </property>
            </widget>
          </item>
          <item>
            <widget class="QPushButton" name="PushButton2">
              <property name="text">
                <string>&amp;Cancel</string>
              </property>
            </widget>
          </item>
        </layout>
      </item>
    </layout>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
  <tabstops>
    <tabstop>comboDriver</tabstop>
    <tabstop>editDatabase</tabstop>
    <tabstop>editUsername</tabstop>
    <tabstop>editPassword</tabstop>
    <tabstop>editHostname</tabstop>
    <tabstop>portSpinBox</tabstop>
    <tabstop>PushButton1</tabstop>
    <tabstop>PushButton2</tabstop>
  </tabstops>
  <connections>
    <connection>
      <sender>PushButton1</sender>
      <signal>clicked()</signal>
      <receiver>ConnectDialog</receiver>
      <slot>accept()</slot>
    </connection>
    <connection>
      <sender>PushButton2</sender>
      <signal>clicked()</signal>
      <receiver>ConnectDialog</receiver>
      <slot>reject()</slot>
    </connection>
  </connections>
</ui>