Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.cpp
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | |||||
* Display name for default wallet name. Uses tilde to avoid name collisions in | * Display name for default wallet name. Uses tilde to avoid name collisions in | ||||
* the future with additional wallets | * the future with additional wallets | ||||
*/ | */ | ||||
const QString BitcoinGUI::DEFAULT_WALLET = "~Default"; | const QString BitcoinGUI::DEFAULT_WALLET = "~Default"; | ||||
BitcoinGUI::BitcoinGUI(const Config *configIn, | BitcoinGUI::BitcoinGUI(const Config *configIn, | ||||
const PlatformStyle *_platformStyle, | const PlatformStyle *_platformStyle, | ||||
const NetworkStyle *networkStyle, QWidget *parent) | const NetworkStyle *networkStyle, QWidget *parent) | ||||
: QMainWindow(parent), enableWallet(false), clientModel(0), walletFrame(0), | : QMainWindow(parent), enableWallet(false), platformStyle(_platformStyle), | ||||
unitDisplayControl(0), labelWalletEncryptionIcon(0), | config(configIn) { | ||||
labelWalletHDStatusIcon(0), connectionsControl(0), labelBlocksIcon(0), | |||||
progressBarLabel(0), progressBar(0), progressDialog(0), appMenuBar(0), | |||||
overviewAction(0), historyAction(0), quitAction(0), sendCoinsAction(0), | |||||
sendCoinsMenuAction(0), usedSendingAddressesAction(0), | |||||
usedReceivingAddressesAction(0), signMessageAction(0), | |||||
verifyMessageAction(0), aboutAction(0), receiveCoinsAction(0), | |||||
receiveCoinsMenuAction(0), optionsAction(0), toggleHideAction(0), | |||||
encryptWalletAction(0), backupWalletAction(0), changePassphraseAction(0), | |||||
aboutQtAction(0), openRPCConsoleAction(0), openAction(0), | |||||
showHelpMessageAction(0), trayIcon(0), trayIconMenu(0), notificator(0), | |||||
rpcConsole(0), helpMessageDialog(0), modalOverlay(0), prevBlocks(0), | |||||
spinnerFrame(0), platformStyle(_platformStyle), config(configIn) { | |||||
GUIUtil::restoreWindowGeometry("nWindow", QSize(850, 550), this); | GUIUtil::restoreWindowGeometry("nWindow", QSize(850, 550), this); | ||||
QString windowTitle = tr(PACKAGE_NAME) + " - "; | QString windowTitle = tr(PACKAGE_NAME) + " - "; | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
enableWallet = WalletModel::isWalletEnabled(); | enableWallet = WalletModel::isWalletEnabled(); | ||||
#endif // ENABLE_WALLET | #endif // ENABLE_WALLET | ||||
if (enableWallet) { | if (enableWallet) { | ||||
windowTitle += tr("Wallet"); | windowTitle += tr("Wallet"); | ||||
▲ Show 20 Lines • Show All 1,186 Lines • Show Last 20 Lines |