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