|
|
@ -215,11 +215,6 @@ BitcoinGUI::BitcoinGUI(const PlatformStyle *platformStyle, const NetworkStyle *n |
|
|
|
statusBar()->addWidget(progressBar); |
|
|
|
statusBar()->addWidget(progressBar); |
|
|
|
statusBar()->addPermanentWidget(frameBlocks); |
|
|
|
statusBar()->addPermanentWidget(frameBlocks); |
|
|
|
|
|
|
|
|
|
|
|
connect(openRPCConsoleAction, SIGNAL(triggered()), rpcConsole, SLOT(show())); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// prevents an open debug window from becoming stuck/unusable on client shutdown
|
|
|
|
|
|
|
|
connect(quitAction, SIGNAL(triggered()), rpcConsole, SLOT(hide())); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Install event filter to be able to catch status tip events (QEvent::StatusTip)
|
|
|
|
// Install event filter to be able to catch status tip events (QEvent::StatusTip)
|
|
|
|
this->installEventFilter(this); |
|
|
|
this->installEventFilter(this); |
|
|
|
|
|
|
|
|
|
|
@ -352,6 +347,10 @@ void BitcoinGUI::createActions() |
|
|
|
connect(optionsAction, SIGNAL(triggered()), this, SLOT(optionsClicked())); |
|
|
|
connect(optionsAction, SIGNAL(triggered()), this, SLOT(optionsClicked())); |
|
|
|
connect(toggleHideAction, SIGNAL(triggered()), this, SLOT(toggleHidden())); |
|
|
|
connect(toggleHideAction, SIGNAL(triggered()), this, SLOT(toggleHidden())); |
|
|
|
connect(showHelpMessageAction, SIGNAL(triggered()), this, SLOT(showHelpMessageClicked())); |
|
|
|
connect(showHelpMessageAction, SIGNAL(triggered()), this, SLOT(showHelpMessageClicked())); |
|
|
|
|
|
|
|
connect(openRPCConsoleAction, SIGNAL(triggered()), this, SLOT(showDebugWindow())); |
|
|
|
|
|
|
|
// prevents an open debug window from becoming stuck/unusable on client shutdown
|
|
|
|
|
|
|
|
connect(quitAction, SIGNAL(triggered()), rpcConsole, SLOT(hide())); |
|
|
|
|
|
|
|
|
|
|
|
#ifdef ENABLE_WALLET |
|
|
|
#ifdef ENABLE_WALLET |
|
|
|
if(walletFrame) |
|
|
|
if(walletFrame) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -590,6 +589,14 @@ void BitcoinGUI::aboutClicked() |
|
|
|
dlg.exec(); |
|
|
|
dlg.exec(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void BitcoinGUI::showDebugWindow() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
rpcConsole->showNormal(); |
|
|
|
|
|
|
|
rpcConsole->show(); |
|
|
|
|
|
|
|
rpcConsole->raise(); |
|
|
|
|
|
|
|
rpcConsole->activateWindow(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void BitcoinGUI::showHelpMessageClicked() |
|
|
|
void BitcoinGUI::showHelpMessageClicked() |
|
|
|
{ |
|
|
|
{ |
|
|
|
helpMessageDialog->show(); |
|
|
|
helpMessageDialog->show(); |
|
|
|