Add Kyber to algorithm strings.
[qpwmc.git] / pwmdKeyGenDialog.ui
blob9f12b1a556125ef9e2708359779d6eb0c6bffec7
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>PwmdKeyGenDialog</class>
4 <widget class="QDialog" name="PwmdKeyGenDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>568</width>
10 <height>398</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>QPwmc - Generate key</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <property name="leftMargin">
18 <number>3</number>
19 </property>
20 <property name="topMargin">
21 <number>3</number>
22 </property>
23 <property name="rightMargin">
24 <number>3</number>
25 </property>
26 <property name="bottomMargin">
27 <number>3</number>
28 </property>
29 <item>
30 <widget class="QFrame" name="f_params">
31 <property name="frameShape">
32 <enum>QFrame::NoFrame</enum>
33 </property>
34 <property name="frameShadow">
35 <enum>QFrame::Raised</enum>
36 </property>
37 <layout class="QVBoxLayout" name="verticalLayout_2">
38 <property name="leftMargin">
39 <number>0</number>
40 </property>
41 <property name="topMargin">
42 <number>0</number>
43 </property>
44 <property name="rightMargin">
45 <number>0</number>
46 </property>
47 <property name="bottomMargin">
48 <number>0</number>
49 </property>
50 <item>
51 <layout class="QGridLayout" name="gridLayout">
52 <item row="0" column="0">
53 <widget class="QLabel" name="nameLabel">
54 <property name="whatsThis">
55 <string>A name to identify the generated key.</string>
56 </property>
57 <property name="text">
58 <string>&amp;Name:</string>
59 </property>
60 <property name="buddy">
61 <cstring>le_name</cstring>
62 </property>
63 </widget>
64 </item>
65 <item row="7" column="3">
66 <widget class="QCheckBox" name="ck_neverExpire">
67 <property name="whatsThis">
68 <string>Never expire the generated key.</string>
69 </property>
70 <property name="text">
71 <string>&amp;Never</string>
72 </property>
73 <property name="checked">
74 <bool>false</bool>
75 </property>
76 </widget>
77 </item>
78 <item row="7" column="2">
79 <widget class="QDateEdit" name="de_expire">
80 <property name="enabled">
81 <bool>true</bool>
82 </property>
83 <property name="wrapping">
84 <bool>false</bool>
85 </property>
86 <property name="frame">
87 <bool>true</bool>
88 </property>
89 <property name="showGroupSeparator" stdset="0">
90 <bool>false</bool>
91 </property>
92 <property name="currentSection">
93 <enum>QDateTimeEdit::MonthSection</enum>
94 </property>
95 <property name="displayFormat">
96 <string>MM/dd/yyyy</string>
97 </property>
98 <property name="calendarPopup">
99 <bool>true</bool>
100 </property>
101 </widget>
102 </item>
103 <item row="1" column="2" colspan="2">
104 <widget class="QLineEdit" name="le_email">
105 <property name="placeholderText">
106 <string>Enter your email address</string>
107 </property>
108 <property name="clearButtonEnabled">
109 <bool>true</bool>
110 </property>
111 </widget>
112 </item>
113 <item row="0" column="2" colspan="2">
114 <widget class="QLineEdit" name="le_name">
115 <property name="placeholderText">
116 <string>Enter your name</string>
117 </property>
118 <property name="clearButtonEnabled">
119 <bool>true</bool>
120 </property>
121 </widget>
122 </item>
123 <item row="5" column="2">
124 <layout class="QHBoxLayout" name="horizontalLayout">
125 <item>
126 <widget class="QRadioButton" name="rb_default">
127 <property name="whatsThis">
128 <string>Use the default key usage for the selected algorithm.</string>
129 </property>
130 <property name="text">
131 <string>&amp;Default</string>
132 </property>
133 <property name="checkable">
134 <bool>true</bool>
135 </property>
136 <property name="checked">
137 <bool>true</bool>
138 </property>
139 </widget>
140 </item>
141 <item>
142 <widget class="QRadioButton" name="rb_encrypt">
143 <property name="whatsThis">
144 <string>Generate only an encryption key.</string>
145 </property>
146 <property name="text">
147 <string>En&amp;crypt</string>
148 </property>
149 <property name="checked">
150 <bool>false</bool>
151 </property>
152 </widget>
153 </item>
154 <item>
155 <widget class="QRadioButton" name="rb_sign">
156 <property name="whatsThis">
157 <string>Generate only a signing key.</string>
158 </property>
159 <property name="text">
160 <string>&amp;Sign</string>
161 </property>
162 </widget>
163 </item>
164 <item>
165 <spacer name="horizontalSpacer">
166 <property name="orientation">
167 <enum>Qt::Horizontal</enum>
168 </property>
169 <property name="sizeHint" stdset="0">
170 <size>
171 <width>40</width>
172 <height>20</height>
173 </size>
174 </property>
175 </spacer>
176 </item>
177 </layout>
178 </item>
179 <item row="5" column="0">
180 <widget class="QLabel" name="label">
181 <property name="whatsThis">
182 <string>What the generated key will be used for.</string>
183 </property>
184 <property name="text">
185 <string>&amp;Usage:</string>
186 </property>
187 <property name="buddy">
188 <cstring>rb_default</cstring>
189 </property>
190 </widget>
191 </item>
192 <item row="7" column="0">
193 <widget class="QLabel" name="expiresLabel">
194 <property name="whatsThis">
195 <string>When the generated key will expire.</string>
196 </property>
197 <property name="text">
198 <string>E&amp;xpires:</string>
199 </property>
200 <property name="buddy">
201 <cstring>de_expire</cstring>
202 </property>
203 </widget>
204 </item>
205 <item row="2" column="0">
206 <widget class="QLabel" name="algorithmLabel_2">
207 <property name="whatsThis">
208 <string>The algorithm to use.</string>
209 </property>
210 <property name="text">
211 <string>&amp;Algorithm:</string>
212 </property>
213 <property name="buddy">
214 <cstring>le_algorithm</cstring>
215 </property>
216 </widget>
217 </item>
218 <item row="1" column="0">
219 <widget class="QLabel" name="emailLabel">
220 <property name="whatsThis">
221 <string>An email address to associated the generated key to.</string>
222 </property>
223 <property name="text">
224 <string>&amp;Email:</string>
225 </property>
226 <property name="buddy">
227 <cstring>le_email</cstring>
228 </property>
229 </widget>
230 </item>
231 <item row="5" column="3">
232 <widget class="QCheckBox" name="ck_protected">
233 <property name="whatsThis">
234 <string>When not checked, no passphrase will be required to use the generated key.</string>
235 </property>
236 <property name="text">
237 <string>&amp;Protected</string>
238 </property>
239 <property name="checked">
240 <bool>true</bool>
241 </property>
242 </widget>
243 </item>
244 <item row="2" column="2" colspan="2">
245 <widget class="QLineEdit" name="le_algorithm">
246 <property name="placeholderText">
247 <string>Leave blank to use the default</string>
248 </property>
249 <property name="clearButtonEnabled">
250 <bool>true</bool>
251 </property>
252 </widget>
253 </item>
254 <item row="3" column="0">
255 <widget class="QLabel" name="label_3">
256 <property name="whatsThis">
257 <string>Fingerprint of the main key ID to generate a subkey for.</string>
258 </property>
259 <property name="text">
260 <string>Subkey &amp;of:</string>
261 </property>
262 <property name="buddy">
263 <cstring>le_subKey</cstring>
264 </property>
265 </widget>
266 </item>
267 <item row="3" column="2" colspan="2">
268 <widget class="QLineEdit" name="le_subKey">
269 <property name="placeholderText">
270 <string>Fingerprint or blank to create a new main key</string>
271 </property>
272 <property name="clearButtonEnabled">
273 <bool>true</bool>
274 </property>
275 </widget>
276 </item>
277 <item row="6" column="2">
278 <widget class="QLineEdit" name="le_keyFile">
279 <property name="placeholderText">
280 <string>Leave blank to use pinentry</string>
281 </property>
282 <property name="clearButtonEnabled">
283 <bool>true</bool>
284 </property>
285 </widget>
286 </item>
287 <item row="6" column="0">
288 <widget class="QLabel" name="label_2">
289 <property name="whatsThis">
290 <string>Obtain the passphrase to use from the specified filename.</string>
291 </property>
292 <property name="text">
293 <string>&amp;Key file:</string>
294 </property>
295 <property name="buddy">
296 <cstring>le_keyFile</cstring>
297 </property>
298 </widget>
299 </item>
300 <item row="6" column="3">
301 <widget class="QToolButton" name="tb_keyFile">
302 <property name="whatsThis">
303 <string/>
304 </property>
305 <property name="text">
306 <string>Select</string>
307 </property>
308 </widget>
309 </item>
310 </layout>
311 </item>
312 </layout>
313 </widget>
314 </item>
315 <item>
316 <widget class="QFrame" name="f_generate">
317 <property name="frameShape">
318 <enum>QFrame::StyledPanel</enum>
319 </property>
320 <property name="frameShadow">
321 <enum>QFrame::Raised</enum>
322 </property>
323 <layout class="QVBoxLayout" name="verticalLayout_3">
324 <property name="leftMargin">
325 <number>0</number>
326 </property>
327 <property name="topMargin">
328 <number>0</number>
329 </property>
330 <property name="rightMargin">
331 <number>0</number>
332 </property>
333 <property name="bottomMargin">
334 <number>0</number>
335 </property>
336 <item>
337 <widget class="QLabel" name="l_genkey">
338 <property name="text">
339 <string>Generating key(s)...</string>
340 </property>
341 </widget>
342 </item>
343 <item>
344 <widget class="QProgressBar" name="progressBar">
345 <property name="maximum">
346 <number>0</number>
347 </property>
348 <property name="value">
349 <number>0</number>
350 </property>
351 <property name="alignment">
352 <set>Qt::AlignHCenter</set>
353 </property>
354 </widget>
355 </item>
356 </layout>
357 </widget>
358 </item>
359 <item>
360 <spacer name="verticalSpacer">
361 <property name="orientation">
362 <enum>Qt::Vertical</enum>
363 </property>
364 <property name="sizeHint" stdset="0">
365 <size>
366 <width>20</width>
367 <height>40</height>
368 </size>
369 </property>
370 </spacer>
371 </item>
372 <item>
373 <widget class="QDialogButtonBox" name="buttonBox">
374 <property name="orientation">
375 <enum>Qt::Horizontal</enum>
376 </property>
377 <property name="standardButtons">
378 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
379 </property>
380 </widget>
381 </item>
382 </layout>
383 </widget>
384 <tabstops>
385 <tabstop>le_name</tabstop>
386 <tabstop>le_email</tabstop>
387 <tabstop>le_algorithm</tabstop>
388 <tabstop>le_subKey</tabstop>
389 <tabstop>rb_default</tabstop>
390 <tabstop>rb_encrypt</tabstop>
391 <tabstop>rb_sign</tabstop>
392 <tabstop>ck_protected</tabstop>
393 <tabstop>le_keyFile</tabstop>
394 <tabstop>tb_keyFile</tabstop>
395 <tabstop>de_expire</tabstop>
396 <tabstop>ck_neverExpire</tabstop>
397 </tabstops>
398 <resources/>
399 <connections>
400 <connection>
401 <sender>buttonBox</sender>
402 <signal>accepted()</signal>
403 <receiver>PwmdKeyGenDialog</receiver>
404 <slot>accept()</slot>
405 <hints>
406 <hint type="sourcelabel">
407 <x>248</x>
408 <y>254</y>
409 </hint>
410 <hint type="destinationlabel">
411 <x>157</x>
412 <y>274</y>
413 </hint>
414 </hints>
415 </connection>
416 <connection>
417 <sender>buttonBox</sender>
418 <signal>rejected()</signal>
419 <receiver>PwmdKeyGenDialog</receiver>
420 <slot>reject()</slot>
421 <hints>
422 <hint type="sourcelabel">
423 <x>316</x>
424 <y>260</y>
425 </hint>
426 <hint type="destinationlabel">
427 <x>286</x>
428 <y>274</y>
429 </hint>
430 </hints>
431 </connection>
432 </connections>
433 </ui>