X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Fbitcoingui.h;h=0f8565436ab2ac6323d4b8b3a7d3adee35224ff3;hb=2c2107310f7c2f50fbb257283f223ec9b7007f41;hp=b4dd7500b24ee51f5629981f168230f317b158ec;hpb=5411280b44a6c211ec7ce15919068a92ff2d9f51;p=novacoin.git diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h index b4dd750..0f85654 100644 --- a/src/qt/bitcoingui.h +++ b/src/qt/bitcoingui.h @@ -69,6 +69,7 @@ private: QLabel *labelEncryptionIcon; QLabel *labelConnectionsIcon; QLabel *labelBlocksIcon; + QLabel *labelMiningIcon; QLabel *progressBarLabel; QProgressBar *progressBar; @@ -86,6 +87,9 @@ private: QAction *toggleHideAction; QAction *exportAction; QAction *encryptWalletAction; + QAction *lockWalletAction; + QAction *unlockWalletAction; + QAction *unlockWalletMiningAction; QAction *backupWalletAction; QAction *dumpWalletAction; QAction *importWalletAction; @@ -114,6 +118,8 @@ public slots: void setNumConnections(int count); /** Set number of blocks shown in the UI */ void setNumBlocks(int count, int nTotalBlocks); + /** Set stake miner status in the UI */ + void updateMining(); /** Set the encryption status as shown in the UI. @param[in] status current encryption status @see WalletModel::EncryptionStatus @@ -176,7 +182,9 @@ private slots: void changePassphrase(); /** Ask for passphrase to unlock wallet temporarily */ + void lockWallet(); void unlockWallet(); + void unlockWalletMining(bool status); /** Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHidden is true */ void showNormalIfMinimized(bool fToggleHidden = false);