Wallet encryption part 2: ask passphrase when needed, add menu options
[novacoin.git] / src / qt / forms / askpassphrasedialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>AskPassphraseDialog</class>
4  <widget class="QDialog" name="AskPassphraseDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>589</width>
10     <height>228</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="minimumSize">
20    <size>
21     <width>550</width>
22     <height>0</height>
23    </size>
24   </property>
25   <property name="windowTitle">
26    <string>Dialog</string>
27   </property>
28   <layout class="QVBoxLayout" name="verticalLayout">
29    <item>
30     <widget class="QLabel" name="warningLabel">
31      <property name="text">
32       <string>TextLabel</string>
33      </property>
34      <property name="textFormat">
35       <enum>Qt::RichText</enum>
36      </property>
37     </widget>
38    </item>
39    <item>
40     <layout class="QFormLayout" name="formLayout">
41      <property name="fieldGrowthPolicy">
42       <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
43      </property>
44      <item row="1" column="0">
45       <widget class="QLabel" name="passLabel1">
46        <property name="text">
47         <string>Enter passphrase</string>
48        </property>
49       </widget>
50      </item>
51      <item row="1" column="1">
52       <widget class="QLineEdit" name="passEdit1">
53        <property name="echoMode">
54         <enum>QLineEdit::Password</enum>
55        </property>
56       </widget>
57      </item>
58      <item row="2" column="0">
59       <widget class="QLabel" name="passLabel2">
60        <property name="text">
61         <string>New passphrase</string>
62        </property>
63       </widget>
64      </item>
65      <item row="2" column="1">
66       <widget class="QLineEdit" name="passEdit2">
67        <property name="echoMode">
68         <enum>QLineEdit::Password</enum>
69        </property>
70       </widget>
71      </item>
72      <item row="3" column="0">
73       <widget class="QLabel" name="passLabel3">
74        <property name="text">
75         <string>Repeat new passphrase</string>
76        </property>
77       </widget>
78      </item>
79      <item row="3" column="1">
80       <widget class="QLineEdit" name="passEdit3">
81        <property name="echoMode">
82         <enum>QLineEdit::Password</enum>
83        </property>
84       </widget>
85      </item>
86     </layout>
87    </item>
88    <item>
89     <spacer name="verticalSpacer">
90      <property name="orientation">
91       <enum>Qt::Vertical</enum>
92      </property>
93      <property name="sizeHint" stdset="0">
94       <size>
95        <width>20</width>
96        <height>40</height>
97       </size>
98      </property>
99     </spacer>
100    </item>
101    <item>
102     <widget class="QDialogButtonBox" name="buttonBox">
103      <property name="orientation">
104       <enum>Qt::Horizontal</enum>
105      </property>
106      <property name="standardButtons">
107       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
108      </property>
109     </widget>
110    </item>
111   </layout>
112  </widget>
113  <resources/>
114  <connections>
115   <connection>
116    <sender>buttonBox</sender>
117    <signal>accepted()</signal>
118    <receiver>AskPassphraseDialog</receiver>
119    <slot>accept()</slot>
120    <hints>
121     <hint type="sourcelabel">
122      <x>248</x>
123      <y>254</y>
124     </hint>
125     <hint type="destinationlabel">
126      <x>157</x>
127      <y>274</y>
128     </hint>
129    </hints>
130   </connection>
131   <connection>
132    <sender>buttonBox</sender>
133    <signal>rejected()</signal>
134    <receiver>AskPassphraseDialog</receiver>
135    <slot>reject()</slot>
136    <hints>
137     <hint type="sourcelabel">
138      <x>316</x>
139      <y>260</y>
140     </hint>
141     <hint type="destinationlabel">
142      <x>286</x>
143      <y>274</y>
144     </hint>
145    </hints>
146   </connection>
147  </connections>
148 </ui>