5 #ifndef BITCOIN_QT_BITCOIN_H
6 #define BITCOIN_QT_BITCOIN_H
8 #if defined(HAVE_CONFIG_H)
19 #include <QApplication>
45 void createPaymentServer();
92 bool event(QEvent* e)
override;
107 std::unique_ptr<interfaces::Node>
m_node;
112 int GuiMain(
int argc,
char* argv[]);
int GuiMain(int argc, char *argv[])
Main Bitcoin application object.
bool createOptionsModel(bool resetSettings)
Create options model.
std::optional< InitExecutor > m_executor
void requestedInitialize()
ClientModel * clientModel
void InitPruneSetting(int64_t prune_MiB)
Initialize prune setting.
void createSplashScreen(const NetworkStyle *networkStyle)
Create splash screen.
void requestShutdown()
Request core shutdown.
void windowShown(BitcoinGUI *window)
void initializeResult(bool success, interfaces::BlockAndHeaderTipInfo tip_info)
void createNode(interfaces::Init &init)
Create or spawn node.
QTimer * pollShutdownTimer
const PlatformStyle * platformStyle
bool baseInitialize()
Basic initialization, before starting initialization/shutdown thread. Return true on success.
void createWindow(const NetworkStyle *networkStyle)
Create main window.
void parameterSetup()
parameter interaction/setup based on rules
void handleRunawayException(const QString &message)
Handle runaway exceptions. Shows a message box with the problem and quits the program.
OptionsModel * optionsModel
bool event(QEvent *e) override
void setupPlatformStyle()
Setup platform style.
std::unique_ptr< interfaces::Node > m_node
std::unique_ptr< QWidget > shutdownWindow
void requestInitialize()
Request core initialization.
WId getMainWinId() const
Get window identifier of QMainWindow (BitcoinGUI)
void handleNonFatalException(const QString &message)
A helper function that shows a message box with details about a non-fatal exception.
interfaces::Node & node() const
Model for Bitcoin network client.
Interface from Qt to configuration data structure for Bitcoin client.
Class for the splashscreen with information of the running client.
Controller between interfaces::Node, WalletModel instances and the GUI.
Interface to Bitcoin wallet from Qt view code.
Initial interface created when a process is first started, and used to give and get access to other i...
Top-level interface for a bitcoin node (bitcoind process).
Block and header tip information.