tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

create.ui (19881B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <ui version="4.0">
      3  <class>Wizard</class>
      4  <widget class="QWizard" name="Wizard">
      5   <property name="geometry">
      6    <rect>
      7     <x>0</x>
      8     <y>0</y>
      9     <width>710</width>
     10     <height>368</height>
     11    </rect>
     12   </property>
     13   <property name="windowTitle">
     14    <string>Wizard</string>
     15   </property>
     16   <property name="options">
     17    <set>QWizard::HaveHelpButton|QWizard::IndependentPages</set>
     18   </property>
     19   <widget class="QWizardPage" name="wizardPage_intro">
     20    <property name="title">
     21     <string>Tomb</string>
     22    </property>
     23    <property name="subTitle">
     24     <string>tomb creation</string>
     25    </property>
     26    <layout class="QVBoxLayout" name="verticalLayout">
     27     <item>
     28      <widget class="QLabel" name="label">
     29       <property name="text">
     30        <string>This wizard will guide you to the creation of a tomb.&lt;br&gt; It will be fun!</string>
     31       </property>
     32       <property name="textFormat">
     33        <enum>Qt::RichText</enum>
     34       </property>
     35       <property name="wordWrap">
     36        <bool>true</bool>
     37       </property>
     38      </widget>
     39     </item>
     40    </layout>
     41   </widget>
     42   <widget class="QWizardPage" name="wizardPage_check">
     43    <property name="title">
     44     <string>Requirements check</string>
     45    </property>
     46    <layout class="QVBoxLayout" name="verticalLayout_12">
     47     <item>
     48      <widget class="QLabel" name="label_check">
     49       <property name="text">
     50        <string>Checking...</string>
     51       </property>
     52      </widget>
     53     </item>
     54     <item>
     55      <widget class="QGroupBox" name="groupBox_swap">
     56       <property name="enabled">
     57        <bool>true</bool>
     58       </property>
     59       <property name="title">
     60        <string>Swap error</string>
     61       </property>
     62       <layout class="QVBoxLayout" name="verticalLayout_13">
     63        <item>
     64         <widget class="QLabel" name="label_7">
     65          <property name="text">
     66           <string>It seems that you have swap activated. It is very dangerous, since you could leave LOT of traces on your computer UNencrypted. You have some options:</string>
     67          </property>
     68          <property name="wordWrap">
     69           <bool>true</bool>
     70          </property>
     71         </widget>
     72        </item>
     73        <item>
     74         <layout class="QVBoxLayout" name="verticalLayout_swapoff">
     75          <item>
     76           <widget class="QRadioButton" name="radioButton_swapoff">
     77            <property name="text">
     78             <string>Swapoff</string>
     79            </property>
     80           </widget>
     81          </item>
     82          <item>
     83           <layout class="QHBoxLayout" name="horizontalLayout_6">
     84            <item>
     85             <spacer name="horizontalSpacer_3">
     86              <property name="orientation">
     87               <enum>Qt::Horizontal</enum>
     88              </property>
     89              <property name="sizeType">
     90               <enum>QSizePolicy::Maximum</enum>
     91              </property>
     92              <property name="sizeHint" stdset="0">
     93               <size>
     94                <width>20</width>
     95                <height>20</height>
     96               </size>
     97              </property>
     98             </spacer>
     99            </item>
    100            <item>
    101             <widget class="QLabel" name="label_swapoff">
    102              <property name="text">
    103               <string>Note: swapoff could take a long time, and, in case the memory is not enough, could even make your system crash. Your system seems to have %freeram%MB free</string>
    104              </property>
    105              <property name="wordWrap">
    106               <bool>true</bool>
    107              </property>
    108             </widget>
    109            </item>
    110           </layout>
    111          </item>
    112         </layout>
    113        </item>
    114        <item>
    115         <layout class="QVBoxLayout" name="verticalLayout_11">
    116          <item>
    117           <widget class="QRadioButton" name="radioButton_ignore">
    118            <property name="text">
    119             <string>Ignore</string>
    120            </property>
    121           </widget>
    122          </item>
    123          <item>
    124           <layout class="QHBoxLayout" name="horizontalLayout_7">
    125            <item>
    126             <spacer name="horizontalSpacer_4">
    127              <property name="orientation">
    128               <enum>Qt::Horizontal</enum>
    129              </property>
    130              <property name="sizeType">
    131               <enum>QSizePolicy::Maximum</enum>
    132              </property>
    133              <property name="sizeHint" stdset="0">
    134               <size>
    135                <width>20</width>
    136                <height>20</height>
    137               </size>
    138              </property>
    139             </spacer>
    140            </item>
    141            <item>
    142             <widget class="QLabel" name="label_9">
    143              <property name="text">
    144               <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
    145 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
    146 p, li { white-space: pre-wrap; }
    147 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
    148 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Note:&lt;/span&gt; You should use this only if you are sure that your swap is encrypted, or that you are using compcache.&lt;/p&gt;
    149 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;If this is not the case, DON'T select this, as it is &lt;span style=&quot; font-weight:600;&quot;&gt;VERY DANGEROUS &lt;/span&gt;to use encryption with swap activated&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
    150              </property>
    151              <property name="wordWrap">
    152               <bool>true</bool>
    153              </property>
    154             </widget>
    155            </item>
    156           </layout>
    157          </item>
    158         </layout>
    159        </item>
    160       </layout>
    161      </widget>
    162     </item>
    163    </layout>
    164   </widget>
    165   <widget class="QWizardPage" name="wizardPage_tomb_size">
    166    <layout class="QVBoxLayout" name="verticalLayout_2">
    167     <item>
    168      <widget class="QLabel" name="label_2">
    169       <property name="text">
    170        <string>Please enter tomb size. Digging the tomb will require some time: usually, one minute per GB, but your mileage may vary. &lt;br&gt;Keep in mind that resizing it in the future is still NOT implemented</string>
    171       </property>
    172       <property name="wordWrap">
    173        <bool>true</bool>
    174       </property>
    175      </widget>
    176     </item>
    177     <item>
    178      <layout class="QHBoxLayout" name="horizontalLayout">
    179       <item>
    180        <widget class="QLabel" name="label_3">
    181         <property name="text">
    182          <string>Enter tomb size, in MB. 1GB=1000MB)</string>
    183         </property>
    184         <property name="buddy">
    185          <cstring>spinBox_size</cstring>
    186         </property>
    187        </widget>
    188       </item>
    189       <item>
    190        <widget class="QSpinBox" name="spinBox_size">
    191         <property name="minimum">
    192          <number>10</number>
    193         </property>
    194         <property name="maximum">
    195          <number>100000</number>
    196         </property>
    197         <property name="value">
    198          <number>100</number>
    199         </property>
    200        </widget>
    201       </item>
    202      </layout>
    203     </item>
    204    </layout>
    205   </widget>
    206   <widget class="QWizardPage" name="wizardPage_tomb_location">
    207    <layout class="QVBoxLayout" name="verticalLayout_3">
    208     <item>
    209      <widget class="QLabel" name="label_4">
    210       <property name="text">
    211        <string>Where do you want your tomb to be digged?</string>
    212       </property>
    213       <property name="wordWrap">
    214        <bool>true</bool>
    215       </property>
    216       <property name="buddy">
    217        <cstring>lineEdit_tombpath</cstring>
    218       </property>
    219      </widget>
    220     </item>
    221     <item>
    222      <layout class="QHBoxLayout" name="horizontalLayout_2">
    223       <item>
    224        <widget class="QLineEdit" name="lineEdit_tombpath">
    225         <property name="frame">
    226          <bool>true</bool>
    227         </property>
    228         <property name="placeholderText">
    229          <string>/path/to/file.tomb</string>
    230         </property>
    231        </widget>
    232       </item>
    233       <item>
    234        <widget class="QPushButton" name="button_tombpath">
    235         <property name="text">
    236          <string>Open file</string>
    237         </property>
    238        </widget>
    239       </item>
    240      </layout>
    241     </item>
    242    </layout>
    243   </widget>
    244   <widget class="QWizardPage" name="wizardPage_key_location">
    245    <property name="title">
    246     <string>Key creation</string>
    247    </property>
    248    <property name="subTitle">
    249     <string>Choose the location for your key</string>
    250    </property>
    251    <layout class="QVBoxLayout" name="verticalLayout_6">
    252     <item>
    253      <widget class="QLabel" name="label_5">
    254       <property name="text">
    255        <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
    256 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
    257 p, li { white-space: pre-wrap; }
    258 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
    259 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Now, you have to decide where to put the &lt;span style=&quot; font-weight:600;&quot;&gt;key&lt;/span&gt; for your tomb&lt;br /&gt;You should not leave your key at the door, as this will lower security A LOT&lt;/p&gt;
    260 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Also, the keyfile is very small (less than a KB), so disk space is not an issue&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
    261       </property>
    262       <property name="textFormat">
    263        <enum>Qt::RichText</enum>
    264       </property>
    265       <property name="wordWrap">
    266        <bool>true</bool>
    267       </property>
    268      </widget>
    269     </item>
    270     <item>
    271      <layout class="QVBoxLayout" name="verticalLayout_5">
    272       <item>
    273        <layout class="QVBoxLayout" name="verticalLayout_4">
    274         <item>
    275          <widget class="QRadioButton" name="radioButton_usb">
    276           <property name="enabled">
    277            <bool>false</bool>
    278           </property>
    279           <property name="text">
    280            <string>On a USB pen (best security)</string>
    281           </property>
    282           <property name="checkable">
    283            <bool>true</bool>
    284           </property>
    285           <property name="checked">
    286            <bool>false</bool>
    287           </property>
    288          </widget>
    289         </item>
    290         <item>
    291          <layout class="QHBoxLayout" name="horizontalLayout_4">
    292           <item>
    293            <spacer name="horizontalSpacer_2">
    294             <property name="orientation">
    295              <enum>Qt::Horizontal</enum>
    296             </property>
    297             <property name="sizeType">
    298              <enum>QSizePolicy::Maximum</enum>
    299             </property>
    300             <property name="sizeHint" stdset="0">
    301              <size>
    302               <width>40</width>
    303               <height>20</height>
    304              </size>
    305             </property>
    306            </spacer>
    307           </item>
    308           <item>
    309            <widget class="QLabel" name="label_6">
    310             <property name="enabled">
    311              <bool>false</bool>
    312             </property>
    313             <property name="text">
    314              <string>If you choose to do so, do not insert it NOW. Do it when you are asked to do so</string>
    315             </property>
    316            </widget>
    317           </item>
    318          </layout>
    319         </item>
    320        </layout>
    321       </item>
    322       <item>
    323        <widget class="QRadioButton" name="radioButton_near">
    324         <property name="toolTip">
    325          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
    326 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
    327 p, li { white-space: pre-wrap; }
    328 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
    329 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;It will be created as a regular file in the same directory of your tomb.&lt;/p&gt;
    330 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;It is much easier to use, but also much more &lt;span style=&quot; font-style:italic;&quot;&gt;insecure&lt;/span&gt;: all your security will be guaranteed by your &lt;span style=&quot; font-weight:600;&quot;&gt;password&lt;/span&gt;. If you really want to do this, choose a strong password (lot of random/non-dictionary words, spaces, numbers, odd characters)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
    331         </property>
    332         <property name="text">
    333          <string>Near to the tomb itself (this is BAD)</string>
    334         </property>
    335         <property name="checked">
    336          <bool>true</bool>
    337         </property>
    338        </widget>
    339       </item>
    340       <item>
    341        <widget class="QRadioButton" name="radioButton_custom">
    342         <property name="text">
    343          <string>Specify location</string>
    344         </property>
    345        </widget>
    346       </item>
    347      </layout>
    348     </item>
    349     <item>
    350      <layout class="QHBoxLayout" name="horizontalLayout_3">
    351       <item>
    352        <spacer name="horizontalSpacer">
    353         <property name="orientation">
    354          <enum>Qt::Horizontal</enum>
    355         </property>
    356         <property name="sizeType">
    357          <enum>QSizePolicy::Maximum</enum>
    358         </property>
    359         <property name="sizeHint" stdset="0">
    360          <size>
    361           <width>40</width>
    362           <height>20</height>
    363          </size>
    364         </property>
    365        </spacer>
    366       </item>
    367       <item>
    368        <widget class="QLineEdit" name="lineEdit_custom">
    369         <property name="enabled">
    370          <bool>false</bool>
    371         </property>
    372        </widget>
    373       </item>
    374       <item>
    375        <widget class="QPushButton" name="pushButton_custom">
    376         <property name="enabled">
    377          <bool>false</bool>
    378         </property>
    379         <property name="text">
    380          <string>Choose location</string>
    381         </property>
    382        </widget>
    383       </item>
    384      </layout>
    385     </item>
    386     <item>
    387      <widget class="QLabel" name="label_11">
    388       <property name="text">
    389        <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
    390 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
    391 p, li { white-space: pre-wrap; }
    392 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
    393 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Help: &lt;/span&gt;the key file is very small, so disk usage is not an issue&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
    394       </property>
    395       <property name="wordWrap">
    396        <bool>true</bool>
    397       </property>
    398      </widget>
    399     </item>
    400    </layout>
    401   </widget>
    402   <widget class="QWizardPage" name="wizardPage_progress">
    403    <property name="title">
    404     <string>Creating</string>
    405    </property>
    406    <property name="subTitle">
    407     <string>Please wait</string>
    408    </property>
    409    <layout class="QVBoxLayout" name="verticalLayout_9">
    410     <item>
    411      <layout class="QVBoxLayout" name="verticalLayout_7">
    412       <item>
    413        <widget class="QProgressBar" name="progressBar">
    414         <property name="value">
    415          <number>0</number>
    416         </property>
    417         <property name="textVisible">
    418          <bool>true</bool>
    419         </property>
    420         <property name="invertedAppearance">
    421          <bool>false</bool>
    422         </property>
    423        </widget>
    424       </item>
    425       <item>
    426        <layout class="QHBoxLayout" name="horizontalLayout_5">
    427         <item>
    428          <widget class="QLabel" name="label_progress">
    429           <property name="text">
    430            <string>Creating tomb, please wait...</string>
    431           </property>
    432          </widget>
    433         </item>
    434        </layout>
    435       </item>
    436      </layout>
    437     </item>
    438     <item>
    439      <widget class="QTextBrowser" name="textBrowser_log">
    440       <property name="documentTitle">
    441        <string>Log</string>
    442       </property>
    443       <property name="html">
    444        <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
    445 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;title&gt;Log&lt;/title&gt;&lt;style type=&quot;text/css&quot;&gt;
    446 p, li { white-space: pre-wrap; }
    447 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
    448 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:600;&quot;&gt;Log&lt;/span&gt;&lt;/p&gt;
    449 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt; font-weight:600;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
    450       </property>
    451      </widget>
    452     </item>
    453    </layout>
    454   </widget>
    455   <widget class="QWizardPage" name="wizardPage_end">
    456    <layout class="QVBoxLayout" name="verticalLayout_8">
    457     <item>
    458      <widget class="QLabel" name="label_10">
    459       <property name="text">
    460        <string>You successfully created the tomb!</string>
    461       </property>
    462      </widget>
    463     </item>
    464     <item>
    465      <widget class="QCheckBox" name="checkBox_open">
    466       <property name="enabled">
    467        <bool>false</bool>
    468       </property>
    469       <property name="text">
    470        <string>Open the just-created tomb NOW!</string>
    471       </property>
    472       <property name="checked">
    473        <bool>false</bool>
    474       </property>
    475       <property name="tristate">
    476        <bool>false</bool>
    477       </property>
    478      </widget>
    479     </item>
    480    </layout>
    481   </widget>
    482  </widget>
    483  <resources/>
    484  <connections>
    485   <connection>
    486    <sender>radioButton_custom</sender>
    487    <signal>toggled(bool)</signal>
    488    <receiver>lineEdit_custom</receiver>
    489    <slot>setEnabled(bool)</slot>
    490    <hints>
    491     <hint type="sourcelabel">
    492      <x>91</x>
    493      <y>56</y>
    494     </hint>
    495     <hint type="destinationlabel">
    496      <x>53</x>
    497      <y>56</y>
    498     </hint>
    499    </hints>
    500   </connection>
    501   <connection>
    502    <sender>radioButton_custom</sender>
    503    <signal>toggled(bool)</signal>
    504    <receiver>pushButton_custom</receiver>
    505    <slot>setEnabled(bool)</slot>
    506    <hints>
    507     <hint type="sourcelabel">
    508      <x>98</x>
    509      <y>56</y>
    510     </hint>
    511     <hint type="destinationlabel">
    512      <x>98</x>
    513      <y>56</y>
    514     </hint>
    515    </hints>
    516   </connection>
    517   <connection>
    518    <sender>Wizard</sender>
    519    <signal>currentIdChanged(int)</signal>
    520    <receiver>label_11</receiver>
    521    <slot>hide()</slot>
    522    <hints>
    523     <hint type="sourcelabel">
    524      <x>181</x>
    525      <y>335</y>
    526     </hint>
    527     <hint type="destinationlabel">
    528      <x>99</x>
    529      <y>60</y>
    530     </hint>
    531    </hints>
    532   </connection>
    533   <connection>
    534    <sender>Wizard</sender>
    535    <signal>helpRequested()</signal>
    536    <receiver>label_11</receiver>
    537    <slot>show()</slot>
    538    <hints>
    539     <hint type="sourcelabel">
    540      <x>135</x>
    541      <y>356</y>
    542     </hint>
    543     <hint type="destinationlabel">
    544      <x>99</x>
    545      <y>60</y>
    546     </hint>
    547    </hints>
    548   </connection>
    549  </connections>
    550  <slots>
    551   <slot>check_passwords_equal()</slot>
    552  </slots>
    553 </ui>