tests/auto/uic3/baseline/connectdialog.ui.4
author Alex Gilkes <alex.gilkes@nokia.com>
Mon, 11 Jan 2010 14:00:40 +0000
changeset 0 1918ee327afb
permissions -rw-r--r--
Revision: 200952

<?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>384</width>
        <height>165</height>
      </rect>
    </property>
    <property name="windowTitle">
      <string>Choose host to connect to</string>
    </property>
    <property name="sizeGripEnabled">
      <bool>true</bool>
    </property>
    <layout class="QVBoxLayout">
      <item>
        <widget class="Q3Frame" name="Frame3">
          <property name="frameShape">
            <enum>QFrame::StyledPanel</enum>
          </property>
          <property name="frameShadow">
            <enum>QFrame::Raised</enum>
          </property>
          <layout class="QGridLayout">
            <item row="0" column="0">
              <widget class="QLabel" name="TextLabel2">
                <property name="text">
                  <string>&amp;Remote Host:</string>
                </property>
                <property name="buddy" stdset="0">
                  <cstring>host</cstring>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="1" column="0">
              <widget class="QLabel" name="TextLabel5">
                <property name="text">
                  <string>&amp;Username:</string>
                </property>
                <property name="buddy" stdset="0">
                  <cstring>username</cstring>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="2" column="0">
              <widget class="QLabel" name="TextLabel6">
                <property name="text">
                  <string>&amp;Password:</string>
                </property>
                <property name="buddy" stdset="0">
                  <cstring>password</cstring>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="2" column="1">
              <widget class="QLineEdit" name="password">
                <property name="text">
                  <string/>
                </property>
                <property name="echoMode">
                  <enum>QLineEdit::Password</enum>
                </property>
              </widget>
            </item>
            <item row="1" column="1">
              <widget class="QLineEdit" name="username">
                <property name="text">
                  <string>anonymous</string>
                </property>
              </widget>
            </item>
            <item row="0" column="1">
              <layout class="QHBoxLayout">
                <item>
                  <widget class="QLineEdit" name="host"/>
                </item>
                <item>
                  <widget class="QLabel" name="TextLabel3">
                    <property name="text">
                      <string>P&amp;ort:</string>
                    </property>
                    <property name="buddy" stdset="0">
                      <cstring>port</cstring>
                    </property>
                    <property name="wordWrap">
                      <bool>false</bool>
                    </property>
                  </widget>
                </item>
                <item>
                  <widget class="QSpinBox" name="port">
                    <property name="sizePolicy">
                      <sizepolicy>
                        <hsizetype>1</hsizetype>
                        <vsizetype>0</vsizetype>
                        <horstretch>0</horstretch>
                        <verstretch>0</verstretch>
                      </sizepolicy>
                    </property>
                    <property name="maximum">
                      <number>1000</number>
                    </property>
                    <property name="value">
                      <number>21</number>
                    </property>
                  </widget>
                </item>
              </layout>
            </item>
          </layout>
        </widget>
      </item>
      <item>
        <spacer name="Spacer5">
          <property name="sizeHint">
            <size>
              <width>31</width>
              <height>0</height>
            </size>
          </property>
          <property name="sizeType">
            <enum>QSizePolicy::Expanding</enum>
          </property>
          <property name="orientation">
            <enum>Qt::Vertical</enum>
          </property>
        </spacer>
      </item>
      <item>
        <layout class="QHBoxLayout">
          <property name="margin">
            <number>0</number>
          </property>
          <property name="spacing">
            <number>6</number>
          </property>
          <item>
            <spacer name="Horizontal Spacing2">
              <property name="sizeHint">
                <size>
                  <width>0</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="buttonOk">
              <property name="text">
                <string>OK</string>
              </property>
              <property name="shortcut">
                <number>0</number>
              </property>
              <property name="autoDefault">
                <bool>true</bool>
              </property>
              <property name="default">
                <bool>true</bool>
              </property>
            </widget>
          </item>
          <item>
            <widget class="QPushButton" name="buttonCancel">
              <property name="text">
                <string>Cancel</string>
              </property>
              <property name="shortcut">
                <number>0</number>
              </property>
              <property name="autoDefault">
                <bool>true</bool>
              </property>
            </widget>
          </item>
        </layout>
      </item>
    </layout>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
  <tabstops>
    <tabstop>host</tabstop>
    <tabstop>port</tabstop>
    <tabstop>username</tabstop>
    <tabstop>password</tabstop>
    <tabstop>buttonOk</tabstop>
    <tabstop>buttonCancel</tabstop>
  </tabstops>
  <connections>
    <connection>
      <sender>buttonOk</sender>
      <signal>clicked()</signal>
      <receiver>ConnectDialog</receiver>
      <slot>accept()</slot>
    </connection>
    <connection>
      <sender>buttonCancel</sender>
      <signal>clicked()</signal>
      <receiver>ConnectDialog</receiver>
      <slot>reject()</slot>
    </connection>
  </connections>
</ui>