|
|
|
@ -308,11 +308,15 @@ void BitcoinGUI::createActions(bool fIsTestnet)
@@ -308,11 +308,15 @@ void BitcoinGUI::createActions(bool fIsTestnet)
|
|
|
|
|
openAction = new QAction(QApplication::style()->standardIcon(QStyle::SP_FileIcon), tr("Open &URI..."), this); |
|
|
|
|
openAction->setStatusTip(tr("Open a bitcoin: URI or payment request")); |
|
|
|
|
|
|
|
|
|
showHelpMessageAction = new QAction(QApplication::style()->standardIcon(QStyle::SP_MessageBoxInformation), tr("&Command-line options"), this); |
|
|
|
|
showHelpMessageAction->setStatusTip(tr("Show the Bitcoin Core help message to get a list with possible Bitcoin command-line options")); |
|
|
|
|
|
|
|
|
|
connect(quitAction, SIGNAL(triggered()), qApp, SLOT(quit())); |
|
|
|
|
connect(aboutAction, SIGNAL(triggered()), this, SLOT(aboutClicked())); |
|
|
|
|
connect(aboutQtAction, SIGNAL(triggered()), qApp, SLOT(aboutQt())); |
|
|
|
|
connect(optionsAction, SIGNAL(triggered()), this, SLOT(optionsClicked())); |
|
|
|
|
connect(toggleHideAction, SIGNAL(triggered()), this, SLOT(toggleHidden())); |
|
|
|
|
connect(showHelpMessageAction, SIGNAL(triggered()), this, SLOT(showHelpMessageClicked())); |
|
|
|
|
#ifdef ENABLE_WALLET |
|
|
|
|
if(walletFrame) |
|
|
|
|
{ |
|
|
|
@ -366,8 +370,9 @@ void BitcoinGUI::createMenuBar()
@@ -366,8 +370,9 @@ void BitcoinGUI::createMenuBar()
|
|
|
|
|
if(walletFrame) |
|
|
|
|
{ |
|
|
|
|
help->addAction(openRPCConsoleAction); |
|
|
|
|
help->addSeparator(); |
|
|
|
|
} |
|
|
|
|
help->addAction(showHelpMessageAction); |
|
|
|
|
help->addSeparator(); |
|
|
|
|
help->addAction(aboutAction); |
|
|
|
|
help->addAction(aboutQtAction); |
|
|
|
|
} |
|
|
|
@ -546,6 +551,13 @@ void BitcoinGUI::aboutClicked()
@@ -546,6 +551,13 @@ void BitcoinGUI::aboutClicked()
|
|
|
|
|
dlg.exec(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void BitcoinGUI::showHelpMessageClicked() |
|
|
|
|
{ |
|
|
|
|
HelpMessageDialog *help = new HelpMessageDialog(this); |
|
|
|
|
help->setAttribute(Qt::WA_DeleteOnClose); |
|
|
|
|
help->show(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#ifdef ENABLE_WALLET |
|
|
|
|
void BitcoinGUI::openClicked() |
|
|
|
|
{ |
|
|
|
|