#include <bitcoin-build-config.h>
#include <qt/bitcoin.h>
#include <chainparams.h>
#include <common/args.h>
#include <common/init.h>
#include <common/system.h>
#include <init.h>
#include <interfaces/handler.h>
#include <interfaces/init.h>
#include <interfaces/node.h>
#include <logging.h>
#include <node/context.h>
#include <node/interface_ui.h>
#include <noui.h>
#include <qt/bitcoingui.h>
#include <qt/clientmodel.h>
#include <qt/guiconstants.h>
#include <qt/guiutil.h>
#include <qt/initexecutor.h>
#include <qt/intro.h>
#include <qt/networkstyle.h>
#include <qt/optionsmodel.h>
#include <qt/platformstyle.h>
#include <qt/splashscreen.h>
#include <qt/utilitydialog.h>
#include <qt/winshutdownmonitor.h>
#include <uint256.h>
#include <util/exception.h>
#include <util/string.h>
#include <util/threadnames.h>
#include <util/translation.h>
#include <validation.h>
#include <boost/signals2/connection.hpp>
#include <chrono>
#include <memory>
#include <QApplication>
#include <QDebug>
#include <QLatin1String>
#include <QLibraryInfo>
#include <QLocale>
#include <QMessageBox>
#include <QSettings>
#include <QThread>
#include <QTimer>
#include <QTranslator>
#include <QWindow>
Go to the source code of this file.
◆ DebugMessageHandler()
void DebugMessageHandler |
( |
QtMsgType |
type, |
|
|
const QMessageLogContext & |
context, |
|
|
const QString & |
msg |
|
) |
| |
◆ ErrorSettingsRead()
static bool ErrorSettingsRead |
( |
const bilingual_str & |
error, |
|
|
const std::vector< std::string > & |
details |
|
) |
| |
|
static |
◆ ErrorSettingsWrite()
static void ErrorSettingsWrite |
( |
const bilingual_str & |
error, |
|
|
const std::vector< std::string > & |
details |
|
) |
| |
|
static |
◆ GetLangTerritory()
static QString GetLangTerritory |
( |
| ) |
|
|
static |
◆ GuiMain()
int GuiMain |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
- Basic Qt initialization (not dependent on parameters or configuration)
- Parse command-line options. We do this after qt in order to show an error if there are problems parsing these
- Application identification
- Initialization of translations, so that intro dialog is in user's language
- Now that settings and translations are available, ask user for data directory
6-7. Parse bitcoin.conf, determine network, switch to network specific options, and create datadir and settings.json.
- Main GUI initialization
Definition at line 488 of file bitcoin.cpp.
◆ initTranslations()
static void initTranslations |
( |
QTranslator & |
qtTranslatorBase, |
|
|
QTranslator & |
qtTranslator, |
|
|
QTranslator & |
translatorBase, |
|
|
QTranslator & |
translator |
|
) |
| |
|
static |
◆ RegisterMetaTypes()
static void RegisterMetaTypes |
( |
| ) |
|
|
static |
◆ SetupUIArgs()
◆ qt_argc
◆ qt_argv
const char* qt_argv = "bitcoin-qt" |
|
static |