Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
intro.cpp
Go to the documentation of this file.
27 /* Minimum free space (in GB) needed for data directory when pruned; Does not include prune target */
101 replyMessage = tr("Directory already exists. Add %1 if you intend to create a new directory here.").arg(separator);
137 QString storageRequiresMsg = tr("At least %1 GB of data will be stored in this directory, and it will grow over time.");
204 if(!fs::exists(GUIUtil::qstringToBoostPath(dataDir)) || gArgs.GetBoolArg("-choosedatadir", DEFAULT_CHOOSE_DATADIR) || dataDirDefaultCurrent != dataDirDefaultSettings)
242 gArgs.SoftSetArg("-datadir", GUIUtil::qstringToBoostPath(dataDir).string()); // use OS locale for path setting
256 ui->errorMessage->setStyleSheet(GUIUtil::getThemedStyleQString(GUIUtil::ThemedStyle::TS_ERROR));
287 QString dir = QDir::toNativeSeparators(QFileDialog::getExistingDirectory(0, "Choose data directory", ui->dataDirectory->text()));
309 connect(executor, SIGNAL(reply(int,QString,quint64)), this, SLOT(setStatus(int,QString,quint64)));
void reply(int status, const QString &message, quint64 available)
Definition: addressbookpage.h:12
void requestCheck()
bool GetBoolArg(const std::string &strArg, bool fDefault) const
Return boolean argument or default value.
Definition: util.cpp:824
bool SoftSetArg(const std::string &strArg, const std::string &strValue)
Set an argument if it doesn't already have a value.
Definition: util.cpp:832
static QString getDefaultDataDirectory()
Determine default data directory for operating system.
Definition: intro.cpp:185
void on_dataDirectory_textChanged(const QString &arg1)
Definition: intro.cpp:278
void setStatus(int status, const QString &message, quint64 bytesAvailable)
Definition: intro.cpp:246
bool TryCreateDirectories(const fs::path &p)
Ignores exceptions thrown by Boost's create_directories if the requested directory exists...
Definition: util.cpp:1085
Definition: intro.cpp:42
Definition: intro.cpp:51
void disableMacFocusRect(const QWidget *w)
Disable the OS default focus rect for macOS because we have custom focus rects set in the css files...
Definition: guiutil.cpp:1789
fs::path qstringToBoostPath(const QString &path)
Definition: guiutil.cpp:1823
Definition: intro.cpp:50
std::string GetArg(const std::string &strArg, const std::string &strDefault) const
Return string argument or default value.
Definition: util.cpp:808
QString getThemedStyleQString(ThemedStyle style)
Helper to get css style strings which are injected into rich text through qt.
Definition: guiutil.cpp:210
void loadStyleSheet(QWidget *widget, bool fForceUpdate)
Updates the widgets stylesheet and adds it to the list of ui debug elements.
Definition: guiutil.cpp:1155
QString boostPathToQString(const fs::path &path)
Definition: guiutil.cpp:1828
void stopThread()