examples/network/http/authenticationdialog.ui
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <ui version="4.0" >
       
     2  <class>Dialog</class>
       
     3  <widget class="QDialog" name="Dialog" >
       
     4   <property name="geometry" >
       
     5    <rect>
       
     6     <x>0</x>
       
     7     <y>0</y>
       
     8     <width>389</width>
       
     9     <height>243</height>
       
    10    </rect>
       
    11   </property>
       
    12   <property name="windowTitle" >
       
    13    <string>Http authentication required</string>
       
    14   </property>
       
    15   <layout class="QGridLayout" >
       
    16    <item row="0" column="0" colspan="2" >
       
    17     <widget class="QLabel" name="label" >
       
    18      <property name="text" >
       
    19       <string>You need to supply a Username and a Password to access this site</string>
       
    20      </property>
       
    21      <property name="wordWrap" >
       
    22       <bool>false</bool>
       
    23      </property>
       
    24     </widget>
       
    25    </item>
       
    26    <item row="2" column="0" >
       
    27     <widget class="QLabel" name="label_2" >
       
    28      <property name="text" >
       
    29       <string>Username:</string>
       
    30      </property>
       
    31     </widget>
       
    32    </item>
       
    33    <item row="2" column="1" >
       
    34     <widget class="QLineEdit" name="userEdit" />
       
    35    </item>
       
    36    <item row="3" column="0" >
       
    37     <widget class="QLabel" name="label_3" >
       
    38      <property name="text" >
       
    39       <string>Password:</string>
       
    40      </property>
       
    41     </widget>
       
    42    </item>
       
    43    <item row="3" column="1" >
       
    44     <widget class="QLineEdit" name="passwordEdit" />
       
    45    </item>
       
    46    <item row="5" column="0" colspan="2" >
       
    47     <widget class="QDialogButtonBox" name="buttonBox" >
       
    48      <property name="orientation" >
       
    49       <enum>Qt::Horizontal</enum>
       
    50      </property>
       
    51      <property name="standardButtons" >
       
    52       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
       
    53      </property>
       
    54     </widget>
       
    55    </item>
       
    56    <item row="1" column="0" >
       
    57     <widget class="QLabel" name="label_4" >
       
    58      <property name="text" >
       
    59       <string>Site:</string>
       
    60      </property>
       
    61     </widget>
       
    62    </item>
       
    63    <item row="1" column="1" >
       
    64     <widget class="QLabel" name="siteDescription" >
       
    65      <property name="font" >
       
    66       <font>
       
    67        <weight>75</weight>
       
    68        <bold>true</bold>
       
    69       </font>
       
    70      </property>
       
    71      <property name="text" >
       
    72       <string>%1 at %2</string>
       
    73      </property>
       
    74      <property name="wordWrap" >
       
    75       <bool>true</bool>
       
    76      </property>
       
    77     </widget>
       
    78    </item>
       
    79    <item row="4" column="0" >
       
    80     <spacer>
       
    81      <property name="orientation" >
       
    82       <enum>Qt::Vertical</enum>
       
    83      </property>
       
    84      <property name="sizeHint" >
       
    85       <size>
       
    86        <width>20</width>
       
    87        <height>40</height>
       
    88       </size>
       
    89      </property>
       
    90     </spacer>
       
    91    </item>
       
    92   </layout>
       
    93  </widget>
       
    94  <resources/>
       
    95  <connections>
       
    96   <connection>
       
    97    <sender>buttonBox</sender>
       
    98    <signal>accepted()</signal>
       
    99    <receiver>Dialog</receiver>
       
   100    <slot>accept()</slot>
       
   101    <hints>
       
   102     <hint type="sourcelabel" >
       
   103      <x>248</x>
       
   104      <y>254</y>
       
   105     </hint>
       
   106     <hint type="destinationlabel" >
       
   107      <x>157</x>
       
   108      <y>274</y>
       
   109     </hint>
       
   110    </hints>
       
   111   </connection>
       
   112   <connection>
       
   113    <sender>buttonBox</sender>
       
   114    <signal>rejected()</signal>
       
   115    <receiver>Dialog</receiver>
       
   116    <slot>reject()</slot>
       
   117    <hints>
       
   118     <hint type="sourcelabel" >
       
   119      <x>316</x>
       
   120      <y>260</y>
       
   121     </hint>
       
   122     <hint type="destinationlabel" >
       
   123      <x>286</x>
       
   124      <y>274</y>
       
   125     </hint>
       
   126    </hints>
       
   127   </connection>
       
   128  </connections>
       
   129 </ui>