1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>stick20HiddenVolumeDialog</class>
4 <widget class="QDialog" name="stick20HiddenVolumeDialog">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>525</width>
10    <height>668</height>
11   </rect>
12  </property>
13  <property name="sizePolicy">
14   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
15    <horstretch>0</horstretch>
16    <verstretch>0</verstretch>
17   </sizepolicy>
18  </property>
19  <property name="windowTitle">
20   <string>Setup hidden volume</string>
21  </property>
22  <property name="windowIcon">
23   <iconset resource="../../resources.qrc">
24    <normaloff>:/images/new/icon_NK.svg</normaloff>:/images/new/icon_NK.svg</iconset>
25  </property>
26  <layout class="QVBoxLayout" name="verticalLayout_4">
27   <item>
28    <widget class="QFrame" name="main_frame">
29     <property name="sizePolicy">
30      <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
31       <horstretch>0</horstretch>
32       <verstretch>0</verstretch>
33      </sizepolicy>
34     </property>
35     <property name="autoFillBackground">
36      <bool>false</bool>
37     </property>
38     <property name="frameShape">
39      <enum>QFrame::NoFrame</enum>
40     </property>
41     <property name="frameShadow">
42      <enum>QFrame::Plain</enum>
43     </property>
44     <layout class="QVBoxLayout" name="verticalLayout_2">
45      <item>
46       <layout class="QHBoxLayout" name="top_layout">
47        <item>
48         <widget class="QLabel" name="l_warning">
49          <property name="sizePolicy">
50           <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
51            <horstretch>0</horstretch>
52            <verstretch>0</verstretch>
53           </sizepolicy>
54          </property>
55          <property name="minimumSize">
56           <size>
57            <width>66</width>
58            <height>58</height>
59           </size>
60          </property>
61          <property name="maximumSize">
62           <size>
63            <width>66</width>
64            <height>58</height>
65           </size>
66          </property>
67          <property name="baseSize">
68           <size>
69            <width>66</width>
70            <height>58</height>
71           </size>
72          </property>
73          <property name="text">
74           <string notr="true"/>
75          </property>
76          <property name="pixmap">
77           <pixmap resource="../../resources.qrc">:/images/warning.png</pixmap>
78          </property>
79         </widget>
80        </item>
81        <item>
82         <widget class="QLabel" name="l_top_instructions">
83          <property name="sizePolicy">
84           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
85            <horstretch>0</horstretch>
86            <verstretch>0</verstretch>
87           </sizepolicy>
88          </property>
89          <property name="focusPolicy">
90           <enum>Qt::StrongFocus</enum>
91          </property>
92          <property name="text">
93           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;You should understand the properties of hidden volumes before proceeding. It can destroy your encrypted data! &lt;br/&gt;Please read &lt;/span&gt;&lt;a href=&quot;https://www.nitrokey.com/documentation/hidden-volumes&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;these instructions&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-weight:600;&quot;&gt; first.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
94          </property>
95          <property name="scaledContents">
96           <bool>false</bool>
97          </property>
98          <property name="wordWrap">
99           <bool>true</bool>
100          </property>
101          <property name="openExternalLinks">
102           <bool>true</bool>
103          </property>
104         </widget>
105        </item>
106       </layout>
107      </item>
108      <item>
109       <widget class="QLabel" name="l_instructions">
110        <property name="sizePolicy">
111         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
112          <horstretch>0</horstretch>
113          <verstretch>0</verstretch>
114         </sizepolicy>
115        </property>
116        <property name="focusPolicy">
117         <enum>Qt::StrongFocus</enum>
118        </property>
119        <property name="text">
120         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;1. You may want to copy some innocuous files to the encrypted data.&lt;br/&gt;2. Configure hidden volumes in this dialogue. &lt;br/&gt;3. Once you configured a hidden volume you must not use/write to the encryption volume anymore. Otherwise it may destroy the data in your hidden volume.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
121        </property>
122        <property name="wordWrap">
123         <bool>true</bool>
124        </property>
125       </widget>
126      </item>
127      <item>
128       <widget class="QGroupBox" name="password_group">
129        <property name="title">
130         <string>Password settings</string>
131        </property>
132        <layout class="QFormLayout" name="passwordObjects">
133         <item row="0" column="0">
134          <widget class="QLabel" name="label">
135           <property name="text">
136            <string>Password:</string>
137           </property>
138          </widget>
139         </item>
140         <item row="0" column="1">
141          <widget class="QLineEdit" name="HVPasswordEdit">
142           <property name="accessibleName">
143            <string>Hidden volume password</string>
144           </property>
145           <property name="accessibleDescription">
146            <string>Please use shift+tab key shortcut for instructions</string>
147           </property>
148           <property name="text">
149            <string notr="true">12345678901234567890</string>
150           </property>
151           <property name="maxLength">
152            <number>20</number>
153           </property>
154           <property name="echoMode">
155            <enum>QLineEdit::Password</enum>
156           </property>
157          </widget>
158         </item>
159         <item row="1" column="0">
160          <widget class="QLabel" name="label_4">
161           <property name="text">
162            <string>Password:</string>
163           </property>
164          </widget>
165         </item>
166         <item row="1" column="1">
167          <widget class="QLineEdit" name="HVPasswordEdit_2">
168           <property name="focusPolicy">
169            <enum>Qt::StrongFocus</enum>
170           </property>
171           <property name="accessibleName">
172            <string>Hidden volume password (repeated)</string>
173           </property>
174           <property name="text">
175            <string notr="true">12345678901234567890</string>
176           </property>
177           <property name="maxLength">
178            <number>20</number>
179           </property>
180           <property name="echoMode">
181            <enum>QLineEdit::Password</enum>
182           </property>
183          </widget>
184         </item>
185         <item row="2" column="1">
186          <widget class="QCheckBox" name="ShowPasswordCheckBox">
187           <property name="text">
188            <string>Show password</string>
189           </property>
190          </widget>
191         </item>
192         <item row="3" column="0" colspan="2">
193          <layout class="QVBoxLayout" name="entropy_verticalLayout">
194           <item>
195            <widget class="QLabel" name="label_6">
196             <property name="text">
197              <string>Password strength:</string>
198             </property>
199            </widget>
200           </item>
201           <item>
202            <widget class="QProgressBar" name="password_strength_progressBar">
203             <property name="accessibleName">
204              <string>Password strength:</string>
205             </property>
206             <property name="value">
207              <number>42</number>
208             </property>
209            </widget>
210           </item>
211           <item>
212            <layout class="QHBoxLayout" name="chars_kind_layout">
213             <item>
214              <widget class="QCheckBox" name="cb_length">
215               <property name="enabled">
216                <bool>false</bool>
217               </property>
218               <property name="focusPolicy">
219                <enum>Qt::NoFocus</enum>
220               </property>
221               <property name="text">
222                <string>length</string>
223               </property>
224              </widget>
225             </item>
226             <item>
227              <widget class="QCheckBox" name="cb_lower_case">
228               <property name="enabled">
229                <bool>false</bool>
230               </property>
231               <property name="focusPolicy">
232                <enum>Qt::NoFocus</enum>
233               </property>
234               <property name="text">
235                <string>lower case</string>
236               </property>
237              </widget>
238             </item>
239             <item>
240              <widget class="QCheckBox" name="cb_upper_case">
241               <property name="enabled">
242                <bool>false</bool>
243               </property>
244               <property name="focusPolicy">
245                <enum>Qt::NoFocus</enum>
246               </property>
247               <property name="text">
248                <string>upper case</string>
249               </property>
250               <property name="checkable">
251                <bool>true</bool>
252               </property>
253              </widget>
254             </item>
255             <item>
256              <widget class="QCheckBox" name="cb_numbers">
257               <property name="enabled">
258                <bool>false</bool>
259               </property>
260               <property name="focusPolicy">
261                <enum>Qt::NoFocus</enum>
262               </property>
263               <property name="text">
264                <string>numbers</string>
265               </property>
266              </widget>
267             </item>
268             <item>
269              <widget class="QCheckBox" name="cb_symbols">
270               <property name="enabled">
271                <bool>false</bool>
272               </property>
273               <property name="focusPolicy">
274                <enum>Qt::NoFocus</enum>
275               </property>
276               <property name="text">
277                <string>symbols</string>
278               </property>
279              </widget>
280             </item>
281            </layout>
282           </item>
283          </layout>
284         </item>
285        </layout>
286       </widget>
287      </item>
288      <item>
289       <widget class="QGroupBox" name="HV_settings_groupBox">
290        <property name="sizePolicy">
291         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
292          <horstretch>0</horstretch>
293          <verstretch>0</verstretch>
294         </sizepolicy>
295        </property>
296        <property name="minimumSize">
297         <size>
298          <width>100</width>
299          <height>101</height>
300         </size>
301        </property>
302        <property name="title">
303         <string>Hidden Volume settings</string>
304        </property>
305        <property name="checkable">
306         <bool>false</bool>
307        </property>
308        <layout class="QGridLayout" name="gridLayout">
309         <item row="0" column="0">
310          <widget class="QFrame" name="verticalFrame">
311           <property name="sizePolicy">
312            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
313             <horstretch>0</horstretch>
314             <verstretch>0</verstretch>
315            </sizepolicy>
316           </property>
317           <layout class="QVBoxLayout" name="verticalLayout_6">
318            <item>
319             <widget class="QComboBox" name="comboBox">
320              <property name="accessibleDescription">
321               <string>Slot under which hidden volume information will be stored</string>
322              </property>
323              <item>
324               <property name="text">
325                <string>Hidden volume slot 1</string>
326               </property>
327              </item>
328              <item>
329               <property name="text">
330                <string>Hidden volume slot 2</string>
331               </property>
332              </item>
333              <item>
334               <property name="text">
335                <string>Hidden volume slot 3</string>
336               </property>
337              </item>
338              <item>
339               <property name="text">
340                <string>Hidden volume slot 4</string>
341               </property>
342              </item>
343             </widget>
344            </item>
345            <item>
346             <widget class="QLabel" name="HVSdCardHighWaterMark">
347              <property name="text">
348               <string notr="true">SD card information</string>
349              </property>
350              <property name="alignment">
351               <set>Qt::AlignCenter</set>
352              </property>
353             </widget>
354            </item>
355            <item>
356             <widget class="QFrame" name="rd_frame">
357              <property name="frameShape">
358               <enum>QFrame::Box</enum>
359              </property>
360              <layout class="QHBoxLayout" name="horizontalLayout_5">
361               <item>
362                <widget class="QLabel" name="l_sd_size">
363                 <property name="focusPolicy">
364                  <enum>Qt::StrongFocus</enum>
365                 </property>
366                 <property name="text">
367                  <string notr="true">Storage capacity: %1GB</string>
368                 </property>
369                </widget>
370               </item>
371               <item>
372                <spacer name="horizontalSpacer_5">
373                 <property name="orientation">
374                  <enum>Qt::Horizontal</enum>
375                 </property>
376                 <property name="sizeHint" stdset="0">
377                  <size>
378                   <width>40</width>
379                   <height>20</height>
380                  </size>
381                 </property>
382                </spacer>
383               </item>
384               <item>
385                <widget class="QLabel" name="label_5">
386                 <property name="text">
387                  <string>Unit:</string>
388                 </property>
389                </widget>
390               </item>
391               <item>
392                <widget class="QRadioButton" name="rd_percent">
393                 <property name="accessibleName">
394                  <string/>
395                 </property>
396                 <property name="accessibleDescription">
397                  <string>Use this as hidden volume size unit</string>
398                 </property>
399                 <property name="text">
400                  <string>%</string>
401                 </property>
402                </widget>
403               </item>
404               <item>
405                <widget class="QRadioButton" name="rd_MB">
406                 <property name="accessibleDescription">
407                  <string>Use this as hidden volume size unit</string>
408                 </property>
409                 <property name="text">
410                  <string>MB</string>
411                 </property>
412                </widget>
413               </item>
414               <item>
415                <widget class="QRadioButton" name="rd_GB">
416                 <property name="accessibleDescription">
417                  <string>Use this as hidden volume size unit</string>
418                 </property>
419                 <property name="text">
420                  <string>GB</string>
421                 </property>
422                </widget>
423               </item>
424              </layout>
425             </widget>
426            </item>
427            <item>
428             <layout class="QHBoxLayout" name="StartControls">
429              <item>
430               <widget class="QLabel" name="l_sd_start">
431                <property name="text">
432                 <string notr="true">Start at %1 of SD size:</string>
433                </property>
434               </widget>
435              </item>
436              <item>
437               <spacer name="horizontalSpacer_2">
438                <property name="orientation">
439                 <enum>Qt::Horizontal</enum>
440                </property>
441                <property name="sizeHint" stdset="0">
442                 <size>
443                  <width>40</width>
444                  <height>20</height>
445                 </size>
446                </property>
447               </spacer>
448              </item>
449              <item>
450               <widget class="QDoubleSpinBox" name="StartBlockSpin">
451                <property name="sizePolicy">
452                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
453                  <horstretch>0</horstretch>
454                  <verstretch>0</verstretch>
455                 </sizepolicy>
456                </property>
457                <property name="accessibleName">
458                 <string/>
459                </property>
460                <property name="alignment">
461                 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
462                </property>
463                <property name="maximum">
464                 <double>999999999999999983222784.000000000000000</double>
465                </property>
466               </widget>
467              </item>
468             </layout>
469            </item>
470            <item>
471             <layout class="QHBoxLayout" name="StopControls">
472              <item>
473               <widget class="QLabel" name="l_sd_end">
474                <property name="text">
475                 <string notr="true">End at %1 of SD size:</string>
476                </property>
477               </widget>
478              </item>
479              <item>
480               <spacer name="horizontalSpacer_3">
481                <property name="orientation">
482                 <enum>Qt::Horizontal</enum>
483                </property>
484                <property name="sizeHint" stdset="0">
485                 <size>
486                  <width>40</width>
487                  <height>20</height>
488                 </size>
489                </property>
490               </spacer>
491              </item>
492              <item>
493               <widget class="QDoubleSpinBox" name="EndBlockSpin">
494                <property name="sizePolicy">
495                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
496                  <horstretch>0</horstretch>
497                  <verstretch>0</verstretch>
498                 </sizepolicy>
499                </property>
500                <property name="alignment">
501                 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
502                </property>
503                <property name="maximum">
504                 <double>99999999999999997748809823456034029568.000000000000000</double>
505                </property>
506               </widget>
507              </item>
508             </layout>
509            </item>
510            <item>
511             <widget class="QLabel" name="l_rounding_info">
512              <property name="sizePolicy">
513               <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
514                <horstretch>0</horstretch>
515                <verstretch>0</verstretch>
516               </sizepolicy>
517              </property>
518              <property name="minimumSize">
519               <size>
520                <width>0</width>
521                <height>0</height>
522               </size>
523              </property>
524              <property name="text">
525               <string>Size will be rounded down to integral percent of total storage size (%1MB)</string>
526              </property>
527             </widget>
528            </item>
529           </layout>
530          </widget>
531         </item>
532        </layout>
533       </widget>
534      </item>
535     </layout>
536    </widget>
537   </item>
538   <item>
539    <widget class="Line" name="line">
540     <property name="orientation">
541      <enum>Qt::Horizontal</enum>
542     </property>
543    </widget>
544   </item>
545   <item>
546    <layout class="QHBoxLayout" name="bottom_buttons">
547     <item>
548      <spacer name="horizontalSpacer">
549       <property name="orientation">
550        <enum>Qt::Horizontal</enum>
551       </property>
552       <property name="sizeHint" stdset="0">
553        <size>
554         <width>40</width>
555         <height>20</height>
556        </size>
557       </property>
558      </spacer>
559     </item>
560     <item>
561      <widget class="QDialogButtonBox" name="buttonBox">
562       <property name="orientation">
563        <enum>Qt::Horizontal</enum>
564       </property>
565       <property name="standardButtons">
566        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
567       </property>
568      </widget>
569     </item>
570    </layout>
571   </item>
572  </layout>
573 </widget>
574 <tabstops>
575  <tabstop>l_top_instructions</tabstop>
576  <tabstop>l_instructions</tabstop>
577  <tabstop>HVPasswordEdit</tabstop>
578  <tabstop>HVPasswordEdit_2</tabstop>
579  <tabstop>ShowPasswordCheckBox</tabstop>
580  <tabstop>comboBox</tabstop>
581  <tabstop>l_sd_size</tabstop>
582  <tabstop>rd_percent</tabstop>
583  <tabstop>rd_MB</tabstop>
584  <tabstop>rd_GB</tabstop>
585  <tabstop>StartBlockSpin</tabstop>
586  <tabstop>EndBlockSpin</tabstop>
587 </tabstops>
588 <resources>
589  <include location="../../resources.qrc"/>
590 </resources>
591 <connections/>
592</ui>
593