rename password to passphrase
This commit is contained in:
@@ -516,7 +516,7 @@ void MainWindow::sendChat() {
|
|||||||
QString Name = ui->contactNameMemo->text();
|
QString Name = ui->contactNameMemo->text();
|
||||||
int sizename = Name.size();
|
int sizename = Name.size();
|
||||||
qDebug()<< sizename;
|
qDebug()<< sizename;
|
||||||
if (ui->contactNameMemo->text().trimmed().isEmpty() || ui->memoTxtChat->toPlainText().trimmed().isEmpty()) {
|
if ((sizename < 1) || (ui->memoTxtChat->toPlainText().trimmed().isEmpty())) {
|
||||||
|
|
||||||
QMessageBox msg(QMessageBox::Critical, tr("You have to select a contact and insert a Memo"),
|
QMessageBox msg(QMessageBox::Critical, tr("You have to select a contact and insert a Memo"),
|
||||||
tr("You have selected no Contact from Contactlist,\n") + tr("\nor your Memo is empty"),
|
tr("You have selected no Contact from Contactlist,\n") + tr("\nor your Memo is empty"),
|
||||||
|
|||||||
@@ -1442,7 +1442,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>460</x>
|
<x>460</x>
|
||||||
<y>20</y>
|
<y>20</y>
|
||||||
<width>161</width>
|
<width>291</width>
|
||||||
<height>20</height>
|
<height>20</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><html><head/><body><p><span style=" font-size:14pt; color:#ef2929;">WARNING:</span> If yo remove your encryption, all your Data is Plaintext on your Disk!</p></body></html></string>
|
<string><html><head/><body><p><span style=" font-size:14pt; color:#ef2929;">WARNING:</span> If you remove your encryption, all your transactions and Contacts are plaintext on disk! Messages are still encrypt.</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
|||||||
@@ -7,99 +7,65 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>400</width>
|
<width>400</width>
|
||||||
<height>300</height>
|
<height>177</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>SDL Startup Decryption</string>
|
<string>SDL Startup Decryption</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QDialogButtonBox" name="buttonBox">
|
<layout class="QFormLayout" name="formLayout">
|
||||||
<property name="geometry">
|
<item row="0" column="0" colspan="2">
|
||||||
<rect>
|
<widget class="QLabel" name="label_2">
|
||||||
<x>50</x>
|
<property name="text">
|
||||||
<y>260</y>
|
<string><html><head/><body><p>If you have forgotten your passphrase restore your wallet with your seed!</p></body></html></string>
|
||||||
<width>341</width>
|
</property>
|
||||||
<height>32</height>
|
<property name="alignment">
|
||||||
</rect>
|
<set>Qt::AlignCenter</set>
|
||||||
</property>
|
</property>
|
||||||
<property name="orientation">
|
<property name="wordWrap">
|
||||||
<enum>Qt::Horizontal</enum>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="standardButtons">
|
</widget>
|
||||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
</item>
|
||||||
</property>
|
<item row="3" column="0" colspan="2">
|
||||||
</widget>
|
<widget class="Line" name="line_2">
|
||||||
<widget class="Line" name="line_2">
|
<property name="orientation">
|
||||||
<property name="geometry">
|
<enum>Qt::Horizontal</enum>
|
||||||
<rect>
|
</property>
|
||||||
<x>10</x>
|
</widget>
|
||||||
<y>166</y>
|
</item>
|
||||||
<width>382</width>
|
<item row="6" column="0" colspan="2">
|
||||||
<height>3</height>
|
<widget class="QLabel" name="label_3">
|
||||||
</rect>
|
<property name="text">
|
||||||
</property>
|
<string>Encryption Passphrase:</string>
|
||||||
<property name="orientation">
|
</property>
|
||||||
<enum>Qt::Horizontal</enum>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</widget>
|
<item row="7" column="1">
|
||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLineEdit" name="txtPassword">
|
||||||
<property name="geometry">
|
<property name="echoMode">
|
||||||
<rect>
|
<enum>QLineEdit::Password</enum>
|
||||||
<x>10</x>
|
</property>
|
||||||
<y>58</y>
|
</widget>
|
||||||
<width>382</width>
|
</item>
|
||||||
<height>56</height>
|
<item row="9" column="0">
|
||||||
</rect>
|
<widget class="Line" name="line">
|
||||||
</property>
|
<property name="orientation">
|
||||||
<property name="text">
|
<enum>Qt::Horizontal</enum>
|
||||||
<string><html><head/><body><p>If you have forgotten your password, restore your wallet with your seed!</p></body></html></string>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
<property name="alignment">
|
</item>
|
||||||
<set>Qt::AlignCenter</set>
|
<item row="9" column="1">
|
||||||
</property>
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||||||
<property name="wordWrap">
|
<property name="orientation">
|
||||||
<bool>true</bool>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="standardButtons">
|
||||||
<widget class="Line" name="line">
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||||
<property name="geometry">
|
</property>
|
||||||
<rect>
|
</widget>
|
||||||
<x>10</x>
|
</item>
|
||||||
<y>260</y>
|
</layout>
|
||||||
<width>382</width>
|
|
||||||
<height>3</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLabel" name="label_3">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>10</x>
|
|
||||||
<y>198</y>
|
|
||||||
<width>146</width>
|
|
||||||
<height>25</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Encryption Password:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLineEdit" name="txtPassword">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>162</x>
|
|
||||||
<y>198</y>
|
|
||||||
<width>230</width>
|
|
||||||
<height>25</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="echoMode">
|
|
||||||
<enum>QLineEdit::Password</enum>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections>
|
<connections>
|
||||||
|
|||||||
Reference in New Issue
Block a user