Enable kinetic scrolling.
[secretnotes] / src / passworddialog.ui
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="windowModality">
6    <enum>Qt::ApplicationModal</enum>
7   </property>
8   <property name="geometry">
9    <rect>
10     <x>0</x>
11     <y>0</y>
12     <width>400</width>
13     <height>300</height>
14    </rect>
15   </property>
16   <property name="windowTitle">
17    <string>Set password</string>
18   </property>
19   <layout class="QVBoxLayout" name="verticalLayout">
20    <item>
21     <layout class="QGridLayout" name="gridLayout">
22      <item row="0" column="0">
23       <widget class="QLabel" name="oldLabel">
24        <property name="text">
25         <string>Old password:</string>
26        </property>
27       </widget>
28      </item>
29      <item row="0" column="1">
30       <widget class="QLineEdit" name="oldEdit">
31        <property name="echoMode">
32         <enum>QLineEdit::PasswordEchoOnEdit</enum>
33        </property>
34       </widget>
35      </item>
36      <item row="1" column="0">
37       <widget class="QLabel" name="label">
38        <property name="text">
39         <string>New password:</string>
40        </property>
41       </widget>
42      </item>
43      <item row="1" column="1">
44       <widget class="QLineEdit" name="newEdit">
45        <property name="echoMode">
46         <enum>QLineEdit::PasswordEchoOnEdit</enum>
47        </property>
48       </widget>
49      </item>
50      <item row="2" column="0">
51       <widget class="QLabel" name="label_2">
52        <property name="text">
53         <string>Repeat new password:</string>
54        </property>
55       </widget>
56      </item>
57      <item row="2" column="1">
58       <widget class="QLineEdit" name="newAgainEdit">
59        <property name="echoMode">
60         <enum>QLineEdit::PasswordEchoOnEdit</enum>
61        </property>
62       </widget>
63      </item>
64     </layout>
65    </item>
66    <item>
67     <spacer name="verticalSpacer">
68      <property name="orientation">
69       <enum>Qt::Vertical</enum>
70      </property>
71      <property name="sizeHint" stdset="0">
72       <size>
73        <width>20</width>
74        <height>145</height>
75       </size>
76      </property>
77     </spacer>
78    </item>
79    <item>
80     <widget class="QDialogButtonBox" name="buttonBox">
81      <property name="orientation">
82       <enum>Qt::Horizontal</enum>
83      </property>
84      <property name="standardButtons">
85       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
86      </property>
87     </widget>
88    </item>
89   </layout>
90  </widget>
91  <resources/>
92  <connections>
93   <connection>
94    <sender>buttonBox</sender>
95    <signal>accepted()</signal>
96    <receiver>PasswordDialog</receiver>
97    <slot>accept()</slot>
98    <hints>
99     <hint type="sourcelabel">
100      <x>248</x>
101      <y>254</y>
102     </hint>
103     <hint type="destinationlabel">
104      <x>157</x>
105      <y>274</y>
106     </hint>
107    </hints>
108   </connection>
109   <connection>
110    <sender>buttonBox</sender>
111    <signal>rejected()</signal>
112    <receiver>PasswordDialog</receiver>
113    <slot>reject()</slot>
114    <hints>
115     <hint type="sourcelabel">
116      <x>316</x>
117      <y>260</y>
118     </hint>
119     <hint type="destinationlabel">
120      <x>286</x>
121      <y>274</y>
122     </hint>
123    </hints>
124   </connection>
125  </connections>
126 </ui>