More GUI fixes, typos and GUI updates for fixed frame sizes encrypt/decrypt boxes.

This commit is contained in:
Charles
2020-06-08 18:11:18 -04:00
parent c5c3eab002
commit f734976773
4 changed files with 388 additions and 359 deletions

View File

@@ -7,85 +7,51 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>780</width> <width>780</width>
<height>427</height> <height>351</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize">
<size>
<width>780</width>
<height>351</height>
</size>
</property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>780</width> <width>780</width>
<height>427</height> <height>351</height>
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Send a contact request</string> <string>Send a contact request</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="9" column="0"> <item row="8" column="0" colspan="2">
<widget class="QLineEdit" name="memorequest"> <widget class="QLabel" name="label_2">
<property name="minimumSize">
<size>
<width>500</width>
<height>71</height>
</size>
</property>
<property name="contextMenuPolicy">
<enum>Qt::NoContextMenu</enum>
</property>
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="inputMethodHints">
<set>Qt::ImhSensitiveData</set>
</property>
<property name="maxLength">
<number>512</number>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>Add a memo to your request</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0" colspan="5">
<widget class="QLineEdit" name="zaddr">
<property name="minimumSize">
<size>
<width>650</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>650</width>
<height>25</height>
</size>
</property>
</widget>
</item>
<item row="11" column="4" colspan="2">
<widget class="QPushButton" name="sendRequestButton">
<property name="text"> <property name="text">
<string>Add Contact and Send Request</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline;&quot;&gt;Insert a memo for your request:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="autoDefault"> </widget>
<bool>false</bool> </item>
<item row="5" column="0" colspan="6">
<widget class="QLineEdit" name="zaddr">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="flat"> <property name="minimumSize">
<bool>false</bool> <size>
<width>650</width>
<height>25</height>
</size>
</property> </property>
</widget> </widget>
</item> </item>
@@ -108,99 +74,11 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="11" column="3" alignment="Qt::AlignRight">
<widget class="QPushButton" name="cancel">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="baseSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="8" column="0" colspan="2">
<widget class="QLabel" name="label_2">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline;&quot;&gt;Insert a memo for your request:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QLabel" name="label">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline;&quot;&gt;Insert the address of your contact:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="6">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>12</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item>
<widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline;&quot;&gt;Your HushChat Address:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="newZaddr">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Create New Address</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="3" column="0" colspan="6"> <item row="3" column="0" colspan="6">
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="sizeConstraint">
<enum>QLayout::SetMaximumSize</enum>
</property>
<item> <item>
<widget class="QLineEdit" name="labelRequest"> <widget class="QLineEdit" name="labelRequest">
<property name="sizePolicy"> <property name="sizePolicy">
@@ -394,8 +272,108 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="11" column="3">
<widget class="QPushButton" name="cancel">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="baseSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="11" column="4" colspan="2">
<widget class="QPushButton" name="sendRequestButton">
<property name="text">
<string>Add Contact and Send Request</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QLabel" name="label">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline;&quot;&gt;Insert the address of your contact:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="6">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetMaximumSize</enum>
</property>
<item>
<widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline;&quot;&gt;Your HushChat Address:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="newZaddr">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Create New Address</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="0" column="0" colspan="6"> <item row="0" column="0" colspan="6">
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="sizeConstraint">
<enum>QLayout::SetMaximumSize</enum>
</property>
<item alignment="Qt::AlignLeft"> <item alignment="Qt::AlignLeft">
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="sizePolicy"> <property name="sizePolicy">
@@ -453,6 +431,13 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="9" column="0" colspan="6">
<widget class="QTextEdit" name="textEdit">
<property name="placeholderText">
<string>Add a memo to your request</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>

View File

@@ -10,12 +10,37 @@
<height>300</height> <height>300</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Encrypt Your Wallet</string> <string>Encrypt Your Wallet</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0"> <item row="8" column="0">
<spacer name="verticalSpacer_2"> <widget class="QLabel" name="label_3">
<property name="text">
<string>Encryption Passphrase:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
@@ -29,8 +54,14 @@
</item> </item>
<item row="1" column="0" colspan="3"> <item row="1" column="0" colspan="3">
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt; color:#ef2929;&quot;&gt;WARNING:&lt;/span&gt; If you forget your passphrase the only way to recover the wallet is from the seed phrase. If you dont have Backup your seed phrase, please do it now!&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt; color:#ef2929;&quot;&gt;WARNING:&lt;/span&gt; If you forget your passphrase, the only way to recover the wallet is from the seed phrase. If you don't have a backup of your seed phrase, please do it now!&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignCenter</set> <set>Qt::AlignCenter</set>
@@ -40,8 +71,48 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="10" column="0" colspan="3">
<spacer name="verticalSpacer"> <widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="8" column="1" colspan="2">
<widget class="QLineEdit" name="txtPassword">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Confirm Passphrase:</string>
</property>
</widget>
</item>
<item row="11" column="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
@@ -53,78 +124,49 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="3" column="0" rowspan="2" colspan="3"> <item row="4" column="0" rowspan="2" colspan="3">
<widget class="Line" name="line_2"> <widget class="Line" name="line_2">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="2" rowspan="2"> <item row="9" column="1" colspan="2">
<widget class="QLabel" name="label">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;16 letters minimum&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<widget class="QLabel" name="lblPasswordMatch">
<property name="styleSheet">
<string notr="true">color: red;</string>
</property>
<property name="text">
<string>Passphrase don't match</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Encryption Passphrase:</string>
</property>
</widget>
</item>
<item row="6" column="1" colspan="2">
<widget class="QLineEdit" name="txtPassword">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Confirm Passphrase:</string>
</property>
</widget>
</item>
<item row="7" column="1" colspan="2">
<widget class="QLineEdit" name="txtConfirmPassword"> <widget class="QLineEdit" name="txtConfirmPassword">
<property name="echoMode"> <property name="echoMode">
<enum>QLineEdit::Password</enum> <enum>QLineEdit::Password</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="8" column="0" colspan="3"> <item row="7" column="0">
<widget class="Line" name="line"> <widget class="QLabel" name="lblPasswordMatch">
<property name="orientation"> <property name="sizePolicy">
<enum>Qt::Horizontal</enum> <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">color: red;</string>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Passphrase don't match&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property> </property>
</widget> </widget>
</item> </item>
<item row="9" column="0" colspan="2"> <item row="7" column="1" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox"> <widget class="QLabel" name="label">
<property name="orientation"> <property name="sizePolicy">
<enum>Qt::Horizontal</enum> <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="standardButtons"> <property name="text">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;16 letters minimum&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="centerButtons">
<bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>

View File

@@ -10,154 +10,132 @@
<height>300</height> <height>300</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="sizePolicy">
<string>Remove your Wallet encryption</string> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<widget class="QDialogButtonBox" name="buttonBox"> <property name="minimumSize">
<property name="geometry"> <size>
<rect> <width>400</width>
<x>50</x> <height>300</height>
<y>260</y> </size>
<width>341</width> </property>
<height>32</height> <property name="maximumSize">
</rect> <size>
</property> <width>400</width>
<property name="orientation"> <height>300</height>
<enum>Qt::Horizontal</enum> </size>
</property> </property>
<property name="standardButtons"> <property name="windowTitle">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> <string>Decrypt Your Wallet</string>
</property> </property>
</widget> <layout class="QGridLayout" name="gridLayout">
<widget class="QLabel" name="label"> <item row="5" column="0" colspan="4">
<property name="geometry"> <widget class="Line" name="line">
<rect> <property name="orientation">
<x>260</x> <enum>Qt::Horizontal</enum>
<y>170</y> </property>
<width>133</width> </widget>
<height>23</height> </item>
</rect> <item row="0" column="0" colspan="4">
</property> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;16 letters minimum&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt; color:#ef2929;&quot;&gt;WARNING:&lt;/span&gt; If you remove your wallet.dat encryption, all your transactions and contacts are plaintext on disk!&lt;br/&gt;&lt;br/&gt;Messages sent and received are always encrypted.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> <property name="alignment">
<widget class="QLabel" name="label_4"> <set>Qt::AlignCenter</set>
<property name="geometry"> </property>
<rect> <property name="wordWrap">
<x>10</x> <bool>true</bool>
<y>229</y> </property>
<width>157</width> </widget>
<height>25</height> </item>
</rect> <item row="3" column="2" colspan="2">
</property> <widget class="QLineEdit" name="txtPassword">
<property name="text"> <property name="echoMode">
<string>Confirm Passphrase:</string> <enum>QLineEdit::Password</enum>
</property> </property>
</widget> </widget>
<widget class="Line" name="line_2"> </item>
<property name="geometry"> <item row="2" column="2">
<rect> <widget class="QLabel" name="label">
<x>10</x> <property name="sizePolicy">
<y>164</y> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<width>382</width> <horstretch>0</horstretch>
<height>3</height> <verstretch>0</verstretch>
</rect> </sizepolicy>
</property> </property>
<property name="orientation"> <property name="text">
<enum>Qt::Horizontal</enum> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;16 letters minimum&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
<widget class="QLineEdit" name="txtConfirmPassword"> </item>
<property name="geometry"> <item row="6" column="2" colspan="2" alignment="Qt::AlignRight">
<rect> <widget class="QDialogButtonBox" name="buttonBox">
<x>173</x> <property name="sizePolicy">
<y>229</y> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<width>219</width> <horstretch>0</horstretch>
<height>25</height> <verstretch>0</verstretch>
</rect> </sizepolicy>
</property> </property>
<property name="echoMode"> <property name="orientation">
<enum>QLineEdit::Password</enum> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> <property name="standardButtons">
<widget class="QLabel" name="label_2"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
<property name="geometry"> </property>
<rect> </widget>
<x>10</x> </item>
<y>56</y> <item row="3" column="0" colspan="2">
<width>382</width> <widget class="QLabel" name="label_3">
<height>56</height> <property name="text">
</rect> <string>Encryption Passphrase:</string>
</property> </property>
<property name="text"> </widget>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt; color:#ef2929;&quot;&gt;WARNING:&lt;/span&gt; If you remove your encryption, all your transactions and contacts are plaintext on disk! Messages are still encrypt.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> </item>
</property> <item row="4" column="0" colspan="2">
<property name="alignment"> <widget class="QLabel" name="label_4">
<set>Qt::AlignCenter</set> <property name="text">
</property> <string>Confirm Passphrase:</string>
<property name="wordWrap"> </property>
<bool>true</bool> </widget>
</property> </item>
</widget> <item row="1" column="0" colspan="4">
<widget class="Line" name="line"> <widget class="Line" name="line_2">
<property name="geometry"> <property name="orientation">
<rect> <enum>Qt::Horizontal</enum>
<x>10</x> </property>
<y>260</y> </widget>
<width>382</width> </item>
<height>3</height> <item row="4" column="2" colspan="2">
</rect> <widget class="QLineEdit" name="txtConfirmPassword">
</property> <property name="echoMode">
<property name="orientation"> <enum>QLineEdit::Password</enum>
<enum>Qt::Horizontal</enum> </property>
</property> </widget>
</widget> </item>
<widget class="QLabel" name="label_3"> <item row="2" column="0" colspan="2">
<property name="geometry"> <widget class="QLabel" name="lblPasswordMatch">
<rect> <property name="sizePolicy">
<x>10</x> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<y>198</y> <horstretch>0</horstretch>
<width>157</width> <verstretch>0</verstretch>
<height>25</height> </sizepolicy>
</rect> </property>
</property> <property name="styleSheet">
<property name="text"> <string notr="true">color: red;</string>
<string>Encryption Passphrase:</string> </property>
</property> <property name="text">
</widget> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Passphrase don't match&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<widget class="QLabel" name="lblPasswordMatch"> </property>
<property name="geometry"> <property name="alignment">
<rect> <set>Qt::AlignCenter</set>
<x>10</x> </property>
<y>175</y> </widget>
<width>243</width> </item>
<height>17</height> </layout>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: red;</string>
</property>
<property name="text">
<string>Passphrase don't match</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLineEdit" name="txtPassword">
<property name="geometry">
<rect>
<x>173</x>
<y>198</y>
<width>219</width>
<height>25</height>
</rect>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</widget> </widget>
<resources/> <resources/>
<connections> <connections>

View File

@@ -10,6 +10,24 @@
<height>177</height> <height>177</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>400</width>
<height>177</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<height>177</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>SDL Startup Decryption</string> <string>SDL Startup Decryption</string>
</property> </property>
@@ -43,6 +61,12 @@
</item> </item>
<item row="7" column="1"> <item row="7" column="1">
<widget class="QLineEdit" name="txtPassword"> <widget class="QLineEdit" name="txtPassword">
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="echoMode"> <property name="echoMode">
<enum>QLineEdit::Password</enum> <enum>QLineEdit::Password</enum>
</property> </property>