diff --git a/src/qt/bitcoin.qrc b/src/qt/bitcoin.qrc index bf7d777b..b3ef5f96 100644 --- a/src/qt/bitcoin.qrc +++ b/src/qt/bitcoin.qrc @@ -57,6 +57,8 @@ res/icons/message.png res/icons/address-book-sidebar.png res/icons/send-sidebar.png + res/icons/lock_closed_toolbar.png + res/icons/lock_open_toolbar .png res/icons/dark/connect0_16.png diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 4c5f3696..affcc5e8 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -358,7 +358,7 @@ void DigitalNoteGUI::createActions() optionsAction->setToolTip(tr("Modify configuration options for DigitalNote")); optionsAction->setMenuRole(QAction::PreferencesRole); toggleHideAction = new QAction(QIcon(fUseDarkTheme ? ":/icons/dark/bitcoin-dark" : ":/icons/bitcoin"), tr("&Show / Hide"), this); - encryptWalletAction = new QAction(QIcon(":/icons/lock_closed"), tr("&Encrypt Wallet..."), this); + encryptWalletAction = new QAction(QIcon(":/icons/lock_closed_toolbar"), tr("&Encrypt Wallet..."), this); encryptWalletAction->setToolTip(tr("Encrypt or decrypt wallet")); backupWalletAction = new QAction(QIcon(":/icons/filesave"), tr("&Backup Wallet..."), this); backupWalletAction->setToolTip(tr("Backup wallet to another location")); @@ -366,9 +366,9 @@ void DigitalNoteGUI::createActions() importPrivateKeyAction->setToolTip(tr("Import a private key")); changePassphraseAction = new QAction(QIcon(":/icons/key"), tr("&Change Passphrase..."), this); changePassphraseAction->setToolTip(tr("Change the passphrase used for wallet encryption")); - unlockWalletAction = new QAction(QIcon(":/icons/lock_open"),tr("&Unlock Wallet..."), this); + unlockWalletAction = new QAction(QIcon(":/icons/lock_open_toolbar"),tr("&Unlock Wallet..."), this); unlockWalletAction->setToolTip(tr("Unlock wallet")); - lockWalletAction = new QAction(QIcon(":/icons/lock_closed"),tr("&Lock Wallet"), this); + lockWalletAction = new QAction(QIcon(":/icons/lock_closed_toolbar"),tr("&Lock Wallet"), this); lockWalletAction->setToolTip(tr("Lock wallet")); signMessageAction = new QAction(QIcon(":/icons/edit"), tr("Sign &message..."), this); verifyMessageAction = new QAction(QIcon(":/icons/transaction_0"), tr("&Verify message..."), this); @@ -1026,14 +1026,14 @@ void DigitalNoteGUI::gotoVerifyMessageTab(QString addr) } void DigitalNoteGUI::gotoMessagePage() -{/* +{ messageAction->setChecked(true); centralStackedWidget->setCurrentWidget(messagePage); exportAction->setEnabled(true); disconnect(exportAction, SIGNAL(triggered()), 0, 0); connect(exportAction, SIGNAL(triggered()), messagePage, SLOT(exportClicked())); -*/} +} void DigitalNoteGUI::dragEnterEvent(QDragEnterEvent *event) { diff --git a/src/qt/forms/messagepage.ui b/src/qt/forms/messagepage.ui index c58ee76e..c29a85f7 100644 --- a/src/qt/forms/messagepage.ui +++ b/src/qt/forms/messagepage.ui @@ -85,6 +85,9 @@ + + false + &Back diff --git a/src/qt/res/icons/lock_closed.png b/src/qt/res/icons/lock_closed.png index 3def8c96..c4872388 100644 Binary files a/src/qt/res/icons/lock_closed.png and b/src/qt/res/icons/lock_closed.png differ diff --git a/src/qt/res/icons/lock_closed_toolbar.png b/src/qt/res/icons/lock_closed_toolbar.png new file mode 100644 index 00000000..639612f0 Binary files /dev/null and b/src/qt/res/icons/lock_closed_toolbar.png differ diff --git a/src/qt/res/icons/lock_open.png b/src/qt/res/icons/lock_open.png index 17afb114..a45c6780 100644 Binary files a/src/qt/res/icons/lock_open.png and b/src/qt/res/icons/lock_open.png differ diff --git a/src/qt/res/icons/lock_open_toolbar .png b/src/qt/res/icons/lock_open_toolbar .png new file mode 100644 index 00000000..d01e7013 Binary files /dev/null and b/src/qt/res/icons/lock_open_toolbar .png differ diff --git a/src/qt/res/icons/staking_on.png b/src/qt/res/icons/staking_on.png index ab24eecf..db9b1a2a 100644 Binary files a/src/qt/res/icons/staking_on.png and b/src/qt/res/icons/staking_on.png differ diff --git a/src/qt/res/icons/synced.png b/src/qt/res/icons/synced.png index 651e6afd..02889027 100644 Binary files a/src/qt/res/icons/synced.png and b/src/qt/res/icons/synced.png differ