|
|
@ -25,8 +25,7 @@ SignVerifyMessageDialog::SignVerifyMessageDialog(QWidget *parent) : |
|
|
|
{ |
|
|
|
{ |
|
|
|
ui->setupUi(this); |
|
|
|
ui->setupUi(this); |
|
|
|
|
|
|
|
|
|
|
|
#if (QT_VERSION >= 0x040700) |
|
|
|
#if QT_VERSION >= 0x040700 |
|
|
|
/* Do not move this to the XML file, Qt before 4.7 will choke on it */ |
|
|
|
|
|
|
|
ui->addressIn_SM->setPlaceholderText(tr("Enter a Bitcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)")); |
|
|
|
ui->addressIn_SM->setPlaceholderText(tr("Enter a Bitcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)")); |
|
|
|
ui->signatureOut_SM->setPlaceholderText(tr("Click \"Sign Message\" to generate signature")); |
|
|
|
ui->signatureOut_SM->setPlaceholderText(tr("Click \"Sign Message\" to generate signature")); |
|
|
|
|
|
|
|
|
|
|
@ -73,7 +72,6 @@ void SignVerifyMessageDialog::setAddress_VM(const QString &address) |
|
|
|
void SignVerifyMessageDialog::showTab_SM(bool fShow) |
|
|
|
void SignVerifyMessageDialog::showTab_SM(bool fShow) |
|
|
|
{ |
|
|
|
{ |
|
|
|
ui->tabWidget->setCurrentIndex(0); |
|
|
|
ui->tabWidget->setCurrentIndex(0); |
|
|
|
|
|
|
|
|
|
|
|
if (fShow) |
|
|
|
if (fShow) |
|
|
|
this->show(); |
|
|
|
this->show(); |
|
|
|
} |
|
|
|
} |
|
|
@ -164,7 +162,7 @@ void SignVerifyMessageDialog::on_signMessageButton_SM_clicked() |
|
|
|
|
|
|
|
|
|
|
|
void SignVerifyMessageDialog::on_copySignatureButton_SM_clicked() |
|
|
|
void SignVerifyMessageDialog::on_copySignatureButton_SM_clicked() |
|
|
|
{ |
|
|
|
{ |
|
|
|
QApplication::clipboard()->setText(ui->signatureOut_SM->text()); |
|
|
|
GUIUtil::setClipboard(ui->signatureOut_SM->text()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void SignVerifyMessageDialog::on_clearButton_SM_clicked() |
|
|
|
void SignVerifyMessageDialog::on_clearButton_SM_clicked() |
|
|
|