Bitcoin Core 28.99.0
P2P Digital Currency
|
Introduction screen (pre-GUI startup). More...
#include <intro.h>
Public Slots | |
void | setStatus (int status, const QString &message, quint64 bytesAvailable) |
Signals | |
void | requestCheck () |
Public Member Functions | |
Intro (QWidget *parent=nullptr, int64_t blockchain_size_gb=0, int64_t chain_state_size_gb=0) | |
~Intro () | |
QString | getDataDirectory () |
void | setDataDirectory (const QString &dataDir) |
int64_t | getPruneMiB () const |
Static Public Member Functions | |
static bool | showIfNeeded (bool &did_show_intro, int64_t &prune_MiB) |
Determine data directory. More... | |
Private Slots | |
void | on_dataDirectory_textChanged (const QString &arg1) |
void | on_ellipsisButton_clicked () |
void | on_dataDirDefault_clicked () |
void | on_dataDirCustom_clicked () |
Private Member Functions | |
void | startThread () |
void | checkPath (const QString &dataDir) |
QString | getPathToCheck () |
void | UpdatePruneLabels (bool prune_checked) |
void | UpdateFreeSpaceLabel () |
Private Attributes | |
Ui::Intro * | ui |
bool | m_prune_checkbox_is_default {true} |
QThread * | thread {nullptr} |
QMutex | mutex |
bool | signalled {false} |
QString | pathToCheck |
const int64_t | m_blockchain_size_gb |
const int64_t | m_chain_state_size_gb |
int64_t | m_required_space_gb {0} |
Total required space (in GB) depending on user choice (prune or not prune). More... | |
uint64_t | m_bytes_available {0} |
int64_t | m_prune_target_gb |
Friends | |
class | FreespaceChecker |
Introduction screen (pre-GUI startup).
Allows the user to choose a data directory, in which the wallet and block chain will be stored.
|
explicit |
|
private |
QString Intro::getDataDirectory | ( | ) |
|
private |
int64_t Intro::getPruneMiB | ( | ) | const |
|
privateslot |
|
privateslot |
|
signal |
void Intro::setDataDirectory | ( | const QString & | dataDir | ) |
|
slot |
|
static |
Determine data directory.
Let the user choose if the current one doesn't exist. Let the user configure additional preferences such as pruning.
Definition at line 205 of file intro.cpp.
|
private |
|
private |
|
private |
|
friend |
|
private |