tests/auto/uic3/baseline/connectdialog.ui.4
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <ui version="4.0" stdsetdef="1">
       
     3   <author></author>
       
     4   <comment></comment>
       
     5   <exportmacro></exportmacro>
       
     6   <class>ConnectDialog</class>
       
     7   <widget class="QDialog" name="ConnectDialog">
       
     8     <property name="geometry">
       
     9       <rect>
       
    10         <x>0</x>
       
    11         <y>0</y>
       
    12         <width>384</width>
       
    13         <height>165</height>
       
    14       </rect>
       
    15     </property>
       
    16     <property name="windowTitle">
       
    17       <string>Choose host to connect to</string>
       
    18     </property>
       
    19     <property name="sizeGripEnabled">
       
    20       <bool>true</bool>
       
    21     </property>
       
    22     <layout class="QVBoxLayout">
       
    23       <item>
       
    24         <widget class="Q3Frame" name="Frame3">
       
    25           <property name="frameShape">
       
    26             <enum>QFrame::StyledPanel</enum>
       
    27           </property>
       
    28           <property name="frameShadow">
       
    29             <enum>QFrame::Raised</enum>
       
    30           </property>
       
    31           <layout class="QGridLayout">
       
    32             <item row="0" column="0">
       
    33               <widget class="QLabel" name="TextLabel2">
       
    34                 <property name="text">
       
    35                   <string>&amp;Remote Host:</string>
       
    36                 </property>
       
    37                 <property name="buddy" stdset="0">
       
    38                   <cstring>host</cstring>
       
    39                 </property>
       
    40                 <property name="wordWrap">
       
    41                   <bool>false</bool>
       
    42                 </property>
       
    43               </widget>
       
    44             </item>
       
    45             <item row="1" column="0">
       
    46               <widget class="QLabel" name="TextLabel5">
       
    47                 <property name="text">
       
    48                   <string>&amp;Username:</string>
       
    49                 </property>
       
    50                 <property name="buddy" stdset="0">
       
    51                   <cstring>username</cstring>
       
    52                 </property>
       
    53                 <property name="wordWrap">
       
    54                   <bool>false</bool>
       
    55                 </property>
       
    56               </widget>
       
    57             </item>
       
    58             <item row="2" column="0">
       
    59               <widget class="QLabel" name="TextLabel6">
       
    60                 <property name="text">
       
    61                   <string>&amp;Password:</string>
       
    62                 </property>
       
    63                 <property name="buddy" stdset="0">
       
    64                   <cstring>password</cstring>
       
    65                 </property>
       
    66                 <property name="wordWrap">
       
    67                   <bool>false</bool>
       
    68                 </property>
       
    69               </widget>
       
    70             </item>
       
    71             <item row="2" column="1">
       
    72               <widget class="QLineEdit" name="password">
       
    73                 <property name="text">
       
    74                   <string/>
       
    75                 </property>
       
    76                 <property name="echoMode">
       
    77                   <enum>QLineEdit::Password</enum>
       
    78                 </property>
       
    79               </widget>
       
    80             </item>
       
    81             <item row="1" column="1">
       
    82               <widget class="QLineEdit" name="username">
       
    83                 <property name="text">
       
    84                   <string>anonymous</string>
       
    85                 </property>
       
    86               </widget>
       
    87             </item>
       
    88             <item row="0" column="1">
       
    89               <layout class="QHBoxLayout">
       
    90                 <item>
       
    91                   <widget class="QLineEdit" name="host"/>
       
    92                 </item>
       
    93                 <item>
       
    94                   <widget class="QLabel" name="TextLabel3">
       
    95                     <property name="text">
       
    96                       <string>P&amp;ort:</string>
       
    97                     </property>
       
    98                     <property name="buddy" stdset="0">
       
    99                       <cstring>port</cstring>
       
   100                     </property>
       
   101                     <property name="wordWrap">
       
   102                       <bool>false</bool>
       
   103                     </property>
       
   104                   </widget>
       
   105                 </item>
       
   106                 <item>
       
   107                   <widget class="QSpinBox" name="port">
       
   108                     <property name="sizePolicy">
       
   109                       <sizepolicy>
       
   110                         <hsizetype>1</hsizetype>
       
   111                         <vsizetype>0</vsizetype>
       
   112                         <horstretch>0</horstretch>
       
   113                         <verstretch>0</verstretch>
       
   114                       </sizepolicy>
       
   115                     </property>
       
   116                     <property name="maximum">
       
   117                       <number>1000</number>
       
   118                     </property>
       
   119                     <property name="value">
       
   120                       <number>21</number>
       
   121                     </property>
       
   122                   </widget>
       
   123                 </item>
       
   124               </layout>
       
   125             </item>
       
   126           </layout>
       
   127         </widget>
       
   128       </item>
       
   129       <item>
       
   130         <spacer name="Spacer5">
       
   131           <property name="sizeHint">
       
   132             <size>
       
   133               <width>31</width>
       
   134               <height>0</height>
       
   135             </size>
       
   136           </property>
       
   137           <property name="sizeType">
       
   138             <enum>QSizePolicy::Expanding</enum>
       
   139           </property>
       
   140           <property name="orientation">
       
   141             <enum>Qt::Vertical</enum>
       
   142           </property>
       
   143         </spacer>
       
   144       </item>
       
   145       <item>
       
   146         <layout class="QHBoxLayout">
       
   147           <property name="margin">
       
   148             <number>0</number>
       
   149           </property>
       
   150           <property name="spacing">
       
   151             <number>6</number>
       
   152           </property>
       
   153           <item>
       
   154             <spacer name="Horizontal Spacing2">
       
   155               <property name="sizeHint">
       
   156                 <size>
       
   157                   <width>0</width>
       
   158                   <height>20</height>
       
   159                 </size>
       
   160               </property>
       
   161               <property name="sizeType">
       
   162                 <enum>QSizePolicy::Expanding</enum>
       
   163               </property>
       
   164               <property name="orientation">
       
   165                 <enum>Qt::Horizontal</enum>
       
   166               </property>
       
   167             </spacer>
       
   168           </item>
       
   169           <item>
       
   170             <widget class="QPushButton" name="buttonOk">
       
   171               <property name="text">
       
   172                 <string>OK</string>
       
   173               </property>
       
   174               <property name="shortcut">
       
   175                 <number>0</number>
       
   176               </property>
       
   177               <property name="autoDefault">
       
   178                 <bool>true</bool>
       
   179               </property>
       
   180               <property name="default">
       
   181                 <bool>true</bool>
       
   182               </property>
       
   183             </widget>
       
   184           </item>
       
   185           <item>
       
   186             <widget class="QPushButton" name="buttonCancel">
       
   187               <property name="text">
       
   188                 <string>Cancel</string>
       
   189               </property>
       
   190               <property name="shortcut">
       
   191                 <number>0</number>
       
   192               </property>
       
   193               <property name="autoDefault">
       
   194                 <bool>true</bool>
       
   195               </property>
       
   196             </widget>
       
   197           </item>
       
   198         </layout>
       
   199       </item>
       
   200     </layout>
       
   201   </widget>
       
   202   <layoutdefault spacing="6" margin="11"/>
       
   203   <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
       
   204   <tabstops>
       
   205     <tabstop>host</tabstop>
       
   206     <tabstop>port</tabstop>
       
   207     <tabstop>username</tabstop>
       
   208     <tabstop>password</tabstop>
       
   209     <tabstop>buttonOk</tabstop>
       
   210     <tabstop>buttonCancel</tabstop>
       
   211   </tabstops>
       
   212   <connections>
       
   213     <connection>
       
   214       <sender>buttonOk</sender>
       
   215       <signal>clicked()</signal>
       
   216       <receiver>ConnectDialog</receiver>
       
   217       <slot>accept()</slot>
       
   218     </connection>
       
   219     <connection>
       
   220       <sender>buttonCancel</sender>
       
   221       <signal>clicked()</signal>
       
   222       <receiver>ConnectDialog</receiver>
       
   223       <slot>reject()</slot>
       
   224     </connection>
       
   225   </connections>
       
   226 </ui>