Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.cpp
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | #ifndef Q_OS_MAC | ||||
QApplication::setWindowIcon(networkStyle->getTrayAndWindowIcon()); | QApplication::setWindowIcon(networkStyle->getTrayAndWindowIcon()); | ||||
setWindowIcon(networkStyle->getTrayAndWindowIcon()); | setWindowIcon(networkStyle->getTrayAndWindowIcon()); | ||||
#else | #else | ||||
MacDockIconHandler::instance()->setIcon(networkStyle->getAppIcon()); | MacDockIconHandler::instance()->setIcon(networkStyle->getAppIcon()); | ||||
#endif | #endif | ||||
setWindowTitle(windowTitle); | setWindowTitle(windowTitle); | ||||
rpcConsole = new RPCConsole(_platformStyle, 0); | rpcConsole = new RPCConsole(_platformStyle, 0); | ||||
helpMessageDialog = new HelpMessageDialog(this, false); | helpMessageDialog = new HelpMessageDialog(node, 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, config, this); | walletFrame = new WalletFrame(_platformStyle, config, this); | ||||
setCentralWidget(walletFrame); | setCentralWidget(walletFrame); | ||||
} else | } else | ||||
#endif // ENABLE_WALLET | #endif // ENABLE_WALLET | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 572 Lines • ▼ Show 20 Lines | void BitcoinGUI::optionsClicked() { | ||||
OptionsDialog dlg(this, enableWallet); | OptionsDialog dlg(this, enableWallet); | ||||
dlg.setModel(clientModel->getOptionsModel()); | dlg.setModel(clientModel->getOptionsModel()); | ||||
dlg.exec(); | dlg.exec(); | ||||
} | } | ||||
void BitcoinGUI::aboutClicked() { | void BitcoinGUI::aboutClicked() { | ||||
if (!clientModel) return; | if (!clientModel) return; | ||||
HelpMessageDialog dlg(this, true); | HelpMessageDialog dlg(m_node, this, true); | ||||
dlg.exec(); | dlg.exec(); | ||||
} | } | ||||
void BitcoinGUI::showDebugWindow() { | void BitcoinGUI::showDebugWindow() { | ||||
rpcConsole->showNormal(); | rpcConsole->showNormal(); | ||||
rpcConsole->show(); | rpcConsole->show(); | ||||
rpcConsole->raise(); | rpcConsole->raise(); | ||||
rpcConsole->activateWindow(); | rpcConsole->activateWindow(); | ||||
▲ Show 20 Lines • Show All 632 Lines • Show Last 20 Lines |