2011-10-24 02:04:50 +00:00
<?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</cstring>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox">
<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">
2011-10-24 16:52:10 +00:00
<cstring>lineEdit_tombpath</cstring>
2011-10-24 02:04:50 +00:00
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
2011-10-24 16:52:10 +00:00
<widget class="QLineEdit" name="lineEdit_tombpath">
<property name="frame">
<bool>true</bool>
</property>
<property name="placeholderText">
<string>/path/to/file.tomb</string>
</property>
</widget>
2011-10-24 02:04:50 +00:00
</item>
<item>
<widget class="QPushButton" name="pushButton">
<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="WizardPage_pass" name="wizardPage_pass">
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="title">
<string>Key</string>
</property>
<property name="subTitle">
<string>Password</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>Choose a <b>strong</b> password now</string>
</property>
</widget>
</item>
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Password</string>
</property>
<property name="buddy">
<cstring>lineEdit_pass</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_pass">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Password (again, for confirmation)</string>
</property>
<property name="buddy">
<cstring>lineEdit_pass_again</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_pass_again">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_pwd_match">
<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;">Warning: password doesn't match</span></p></body></html></string>
</property>
</widget>
</item>
</layout>
</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>
<customwidgets>
<customwidget>
<class>WizardPage_pass</class>
<extends>QWizardPage</extends>
<header>wizardpage_pass.h</header>
<container>1</container>
<slots>
<signal>password_not_match(bool)</signal>
<slot>check_password_match()</slot>
</slots>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>radioButton_3</sender>
<signal>toggled(bool)</signal>
<receiver>lineEdit_2</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>62</x>
2011-10-24 16:52:10 +00:00
<y>29</y>
2011-10-24 02:04:50 +00:00
</hint>
<hint type="destinationlabel">
2011-10-24 16:52:10 +00:00
<x>99</x>
<y>29</y>
2011-10-24 02:04:50 +00:00
</hint>
</hints>
</connection>
<connection>
<sender>radioButton_3</sender>
<signal>toggled(bool)</signal>
<receiver>pushButton_2</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
2011-10-24 16:52:10 +00:00
<x>99</x>
<y>29</y>
2011-10-24 02:04:50 +00:00
</hint>
<hint type="destinationlabel">
2011-10-24 16:52:10 +00:00
<x>99</x>
<y>29</y>
2011-10-24 02:04:50 +00:00
</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>77</x>
2011-10-24 16:52:10 +00:00
<y>29</y>
2011-10-24 02:04:50 +00:00
</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">
2011-10-24 16:52:10 +00:00
<x>99</x>
<y>29</y>
2011-10-24 02:04:50 +00:00
</hint>
</hints>
</connection>
<connection>
<sender>lineEdit_pass</sender>
<signal>textChanged(QString)</signal>
<receiver>wizardPage_pass</receiver>
<slot>check_password_match()</slot>
<hints>
<hint type="sourcelabel">
2011-10-24 16:52:10 +00:00
<x>99</x>
<y>29</y>
2011-10-24 02:04:50 +00:00
</hint>
<hint type="destinationlabel">
<x>99</x>
2011-10-24 16:52:10 +00:00
<y>29</y>
2011-10-24 02:04:50 +00:00
</hint>
</hints>
</connection>
<connection>
<sender>wizardPage_pass</sender>
<signal>password_match(bool)</signal>
<receiver>label_pwd_match</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>99</x>
2011-10-24 16:52:10 +00:00
<y>29</y>
2011-10-24 02:04:50 +00:00
</hint>
<hint type="destinationlabel">
2011-10-24 16:52:10 +00:00
<x>99</x>
<y>29</y>
2011-10-24 02:04:50 +00:00
</hint>
</hints>
</connection>
<connection>
<sender>lineEdit_pass_again</sender>
<signal>textChanged(QString)</signal>
<receiver>wizardPage_pass</receiver>
<slot>check_password_match()</slot>
<hints>
<hint type="sourcelabel">
2011-10-24 16:52:10 +00:00
<x>99</x>
<y>29</y>
2011-10-24 02:04:50 +00:00
</hint>
<hint type="destinationlabel">
<x>49</x>
2011-10-24 16:52:10 +00:00
<y>14</y>
2011-10-24 02:04:50 +00:00
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>check_passwords_equal()</slot>
</slots>
</ui>