passworddialog.ui
上传用户:huahtool
上传日期:2015-12-10
资源大小:1089k
文件大小:3k
源码类别:

浏览器

开发平台:

Visual C++

  1. <ui version="4.0" >
  2.  <class>PasswordDialog</class>
  3.  <widget class="QDialog" name="PasswordDialog" >
  4.   <property name="geometry" >
  5.    <rect>
  6.     <x>0</x>
  7.     <y>0</y>
  8.     <width>399</width>
  9.     <height>148</height>
  10.    </rect>
  11.   </property>
  12.   <property name="windowTitle" >
  13.    <string>Authentication Required</string>
  14.   </property>
  15.   <layout class="QGridLayout" name="gridLayout" >
  16.    <item row="0" column="0" colspan="2" >
  17.     <layout class="QHBoxLayout" >
  18.      <item>
  19.       <widget class="QLabel" name="iconLabel" >
  20.        <property name="text" >
  21.         <string>DUMMY ICON</string>
  22.        </property>
  23.       </widget>
  24.      </item>
  25.      <item>
  26.       <widget class="QLabel" name="introLabel" >
  27.        <property name="sizePolicy" >
  28.         <sizepolicy vsizetype="MinimumExpanding" hsizetype="MinimumExpanding" >
  29.          <horstretch>0</horstretch>
  30.          <verstretch>0</verstretch>
  31.         </sizepolicy>
  32.        </property>
  33.        <property name="text" >
  34.         <string>INTRO TEXT DUMMY</string>
  35.        </property>
  36.       </widget>
  37.      </item>
  38.     </layout>
  39.    </item>
  40.    <item row="1" column="0" >
  41.     <widget class="QLabel" name="label" >
  42.      <property name="text" >
  43.       <string>Username:</string>
  44.      </property>
  45.     </widget>
  46.    </item>
  47.    <item row="1" column="1" >
  48.     <widget class="QLineEdit" name="userNameLineEdit" />
  49.    </item>
  50.    <item row="2" column="0" >
  51.     <widget class="QLabel" name="lblPassword" >
  52.      <property name="text" >
  53.       <string>Password:</string>
  54.      </property>
  55.     </widget>
  56.    </item>
  57.    <item row="2" column="1" >
  58.     <widget class="QLineEdit" name="passwordLineEdit" >
  59.      <property name="echoMode" >
  60.       <enum>QLineEdit::Password</enum>
  61.      </property>
  62.     </widget>
  63.    </item>
  64.    <item row="3" column="0" colspan="2" >
  65.     <widget class="QDialogButtonBox" name="buttonBox" >
  66.      <property name="orientation" >
  67.       <enum>Qt::Horizontal</enum>
  68.      </property>
  69.      <property name="standardButtons" >
  70.       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  71.      </property>
  72.     </widget>
  73.    </item>
  74.   </layout>
  75.  </widget>
  76.  <resources/>
  77.  <connections>
  78.   <connection>
  79.    <sender>buttonBox</sender>
  80.    <signal>accepted()</signal>
  81.    <receiver>PasswordDialog</receiver>
  82.    <slot>accept()</slot>
  83.    <hints>
  84.     <hint type="sourcelabel" >
  85.      <x>248</x>
  86.      <y>254</y>
  87.     </hint>
  88.     <hint type="destinationlabel" >
  89.      <x>157</x>
  90.      <y>274</y>
  91.     </hint>
  92.    </hints>
  93.   </connection>
  94.   <connection>
  95.    <sender>buttonBox</sender>
  96.    <signal>rejected()</signal>
  97.    <receiver>PasswordDialog</receiver>
  98.    <slot>reject()</slot>
  99.    <hints>
  100.     <hint type="sourcelabel" >
  101.      <x>316</x>
  102.      <y>260</y>
  103.     </hint>
  104.     <hint type="destinationlabel" >
  105.      <x>286</x>
  106.      <y>274</y>
  107.     </hint>
  108.    </hints>
  109.   </connection>
  110.  </connections>
  111. </ui>