Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.cpp
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | |||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
enableWallet = WalletModel::isWalletEnabled(); | enableWallet = WalletModel::isWalletEnabled(); | ||||
#endif // ENABLE_WALLET | #endif // ENABLE_WALLET | ||||
QApplication::setWindowIcon(m_network_style->getTrayAndWindowIcon()); | QApplication::setWindowIcon(m_network_style->getTrayAndWindowIcon()); | ||||
setWindowIcon(m_network_style->getTrayAndWindowIcon()); | setWindowIcon(m_network_style->getTrayAndWindowIcon()); | ||||
updateWindowTitle(); | updateWindowTitle(); | ||||
rpcConsole = new RPCConsole(node, _platformStyle, nullptr); | rpcConsole = new RPCConsole(node, _platformStyle, nullptr); | ||||
helpMessageDialog = new HelpMessageDialog(node, this, false); | helpMessageDialog = new HelpMessageDialog(this, false); | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
if (enableWallet) { | if (enableWallet) { | ||||
/** Create wallet frame and make it the central widget */ | /** Create wallet frame and make it the central widget */ | ||||
walletFrame = new WalletFrame(_platformStyle, this); | walletFrame = new WalletFrame(_platformStyle, this); | ||||
setCentralWidget(walletFrame); | setCentralWidget(walletFrame); | ||||
} else | } else | ||||
#endif // ENABLE_WALLET | #endif // ENABLE_WALLET | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 813 Lines • ▼ Show 20 Lines | void BitcoinGUI::optionsClicked() { | ||||
openOptionsDialogWithTab(OptionsDialog::TAB_MAIN); | openOptionsDialogWithTab(OptionsDialog::TAB_MAIN); | ||||
} | } | ||||
void BitcoinGUI::aboutClicked() { | void BitcoinGUI::aboutClicked() { | ||||
if (!clientModel) { | if (!clientModel) { | ||||
return; | return; | ||||
} | } | ||||
HelpMessageDialog dlg(m_node, this, true); | HelpMessageDialog dlg(this, true); | ||||
dlg.exec(); | dlg.exec(); | ||||
} | } | ||||
void BitcoinGUI::showDebugWindow() { | void BitcoinGUI::showDebugWindow() { | ||||
GUIUtil::bringToFront(rpcConsole); | GUIUtil::bringToFront(rpcConsole); | ||||
Q_EMIT consoleShown(rpcConsole); | Q_EMIT consoleShown(rpcConsole); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 720 Lines • Show Last 20 Lines |