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>400</width> 10 <height>108</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>Authentication Required</string> 15 </property> 16 <layout class="QVBoxLayout" name="verticalLayout"> 17 <item> 18 <layout class="QGridLayout" name="gridLayout"> 19 <property name="margin"> 20 <number>0</number> 21 </property> 22 <item row="2" column="1"> 23 <widget class="LineEdit" name="passwordLineEdit"/> 24 </item> 25 <item row="0" column="1" rowspan="2"> 26 <widget class="QLabel" name="descriptionLabel"> 27 <property name="text"> 28 <string><p>Please provide password for %1 on %2.</p></string> 29 </property> 30 <property name="alignment"> 31 <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> 32 </property> 33 <property name="wordWrap"> 34 <bool>true</bool> 35 </property> 36 </widget> 37 </item> 38 <item row="0" column="0" rowspan="3"> 39 <widget class="QLabel" name="iconLabel"> 40 <property name="text"> 41 <string/> 42 </property> 43 <property name="pixmap"> 44 <pixmap resource="../icons.qrc">:/icons/dialog-password.png</pixmap> 45 </property> 46 </widget> 47 </item> 48 </layout> 49 </item> 50 <item> 51 <widget class="QDialogButtonBox" name="buttonBox"> 52 <property name="orientation"> 53 <enum>Qt::Horizontal</enum> 54 </property> 55 <property name="standardButtons"> 56 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 57 </property> 58 </widget> 59 </item> 60 </layout> 61 </widget> 62 <customwidgets> 63 <customwidget> 64 <class>LineEdit</class> 65 <extends>QLineEdit</extends> 66 <header>LineEdit.h</header> 67 </customwidget> 68 </customwidgets> 69 <resources> 70 <include location="../icons.qrc"/> 71 </resources> 72 <connections> 73 <connection> 74 <sender>buttonBox</sender> 75 <signal>accepted()</signal> 76 <receiver>PasswordDialog</receiver> 77 <slot>accept()</slot> 78 <hints> 79 <hint type="sourcelabel"> 80 <x>248</x> 81 <y>254</y> 82 </hint> 83 <hint type="destinationlabel"> 84 <x>157</x> 85 <y>274</y> 86 </hint> 87 </hints> 88 </connection> 89 <connection> 90 <sender>buttonBox</sender> 91 <signal>rejected()</signal> 92 <receiver>PasswordDialog</receiver> 93 <slot>reject()</slot> 94 <hints> 95 <hint type="sourcelabel"> 96 <x>316</x> 97 <y>260</y> 98 </hint> 99 <hint type="destinationlabel"> 100 <x>286</x> 101 <y>274</y> 102 </hint> 103 </hints> 104 </connection> 105 </connections> 106</ui> 107