Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.cpp
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#if defined(HAVE_CONFIG_H) | #if defined(HAVE_CONFIG_H) | ||||
#include <config/bitcoin-config.h> | #include <config/bitcoin-config.h> | ||||
#endif | #endif | ||||
#include <qt/bitcoingui.h> | #include <qt/bitcoingui.h> | ||||
#include <chain.h> | #include <chain.h> | ||||
#include <chainparams.h> | #include <chainparams.h> | ||||
#include <config.h> | |||||
#include <init.h> | #include <init.h> | ||||
#include <interfaces/handler.h> | #include <interfaces/handler.h> | ||||
#include <interfaces/node.h> | #include <interfaces/node.h> | ||||
#include <qt/bitcoinunits.h> | #include <qt/bitcoinunits.h> | ||||
#include <qt/clientmodel.h> | #include <qt/clientmodel.h> | ||||
#include <qt/guiconstants.h> | #include <qt/guiconstants.h> | ||||
#include <qt/guiutil.h> | #include <qt/guiutil.h> | ||||
#ifdef Q_OS_MAC | #ifdef Q_OS_MAC | ||||
▲ Show 20 Lines • Show All 686 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
void BitcoinGUI::showHelpMessageClicked() { | void BitcoinGUI::showHelpMessageClicked() { | ||||
helpMessageDialog->show(); | helpMessageDialog->show(); | ||||
} | } | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
void BitcoinGUI::openClicked() { | void BitcoinGUI::openClicked() { | ||||
OpenURIDialog dlg(config, this); | OpenURIDialog dlg(config->GetChainParams(), this); | ||||
if (dlg.exec()) { | if (dlg.exec()) { | ||||
Q_EMIT receivedURI(dlg.getURI()); | Q_EMIT receivedURI(dlg.getURI()); | ||||
} | } | ||||
} | } | ||||
void BitcoinGUI::gotoOverviewPage() { | void BitcoinGUI::gotoOverviewPage() { | ||||
overviewAction->setChecked(true); | overviewAction->setChecked(true); | ||||
if (walletFrame) walletFrame->gotoOverviewPage(); | if (walletFrame) walletFrame->gotoOverviewPage(); | ||||
▲ Show 20 Lines • Show All 612 Lines • Show Last 20 Lines |