mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-12 15:56:28 +00:00
4f1bb64010
Password input is removed: not secure, tomb provides pinentry key location option is actually ignored. USB support is yet to come
404 lines
13 KiB
XML
Executable File
404 lines
13 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Wizard</class>
|
|
<widget class="QWizard" name="Wizard">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>710</width>
|
|
<height>368</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Wizard</string>
|
|
</property>
|
|
<property name="options">
|
|
<set>QWizard::HaveHelpButton|QWizard::IndependentPages</set>
|
|
</property>
|
|
<widget class="QWizardPage" name="wizardPage_intro">
|
|
<property name="title">
|
|
<string>Tomb</string>
|
|
</property>
|
|
<property name="subTitle">
|
|
<string>tomb creation</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>This wizard will guide you to the creation of a tomb.<br> It will be fun!</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::RichText</enum>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWizardPage" name="wizardPage_tomb_size">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Please enter tomb size. Digging the tomb will require some time: usually, one minute per GB, but your mileage may vary. <br>Keep in mind that resizing it in the future is still NOT implemented</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Enter tomb size, in MB. 1GB=1000MB)</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>spinBox_size</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="spinBox_size">
|
|
<property name="maximum">
|
|
<number>100000</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>100</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWizardPage" name="wizardPage_tomb_location">
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Where do you want your tomb to be digged?</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>lineEdit_tombpath</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_tombpath">
|
|
<property name="frame">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>/path/to/file.tomb</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="button_tombpath">
|
|
<property name="text">
|
|
<string>Open file</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWizardPage" name="wizardPage_key_location">
|
|
<property name="title">
|
|
<string>Key creation</string>
|
|
</property>
|
|
<property name="subTitle">
|
|
<string>Choose the location for your key</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
<item>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Now, you have to decide where to put the <span style=" font-weight:600;">key</span> for your tomb<br />You should not leave your key at the door, as this will lower security A LOT</p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Also, the keyfile is very small (less than a KB), so disk space is not an issue</p></body></html></string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::RichText</enum>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton">
|
|
<property name="text">
|
|
<string>On a USB pen (best security)</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Maximum</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string>If you choose to do so, do not insert it NOW. Do it when you are asked to do so</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_2">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">It will be created as a regular file in the same directory of your tomb.</p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">It is much easier to use, but also much more <span style=" font-style:italic;">insecure</span>: all your security will be guaranteed by your <span style=" font-weight:600;">password</span>. If you really want to do this, choose a strong password (lot of random/non-dictionary words, spaces, numbers, odd characters)</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Near to the tomb itself (this is BAD)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_3">
|
|
<property name="text">
|
|
<string>Specify location</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Maximum</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_2">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_2">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Choose location</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_11">
|
|
<property name="text">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Help: </span>the key file is very small, so disk usage is not an issue</p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWizardPage" name="wizardPage_progress">
|
|
<property name="title">
|
|
<string>Creating</string>
|
|
</property>
|
|
<property name="subTitle">
|
|
<string>Please wait</string>
|
|
</property>
|
|
<widget class="QWidget" name="">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>30</y>
|
|
<width>276</width>
|
|
<height>52</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
<item>
|
|
<widget class="QProgressBar" name="progressBar">
|
|
<property name="value">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="textVisible">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="invertedAppearance">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string>Creating tomb, please wait...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWizardPage" name="wizardPage_end">
|
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
|
<item>
|
|
<widget class="QLabel" name="label_10">
|
|
<property name="text">
|
|
<string>You successfully created the tomb!</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBox">
|
|
<property name="text">
|
|
<string>Open the just-created tomb NOW!</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="tristate">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>radioButton_3</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>lineEdit_2</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>81</x>
|
|
<y>212</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>164</x>
|
|
<y>243</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>radioButton_3</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>pushButton_2</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>118</x>
|
|
<y>212</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>677</x>
|
|
<y>246</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>Wizard</sender>
|
|
<signal>currentIdChanged(int)</signal>
|
|
<receiver>label_11</receiver>
|
|
<slot>hide()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>181</x>
|
|
<y>335</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>95</x>
|
|
<y>267</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>Wizard</sender>
|
|
<signal>helpRequested()</signal>
|
|
<receiver>label_11</receiver>
|
|
<slot>show()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>135</x>
|
|
<y>356</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>117</x>
|
|
<y>267</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>check_passwords_equal()</slot>
|
|
</slots>
|
|
</ui>
|