11 class FreespaceChecker;
13 /** Introduction screen (pre-GUI startup).
14 Allows the user to choose a data directory,
15 in which the wallet and block chain will be stored.
17 class Intro : public QDialog
22 explicit Intro(QWidget *parent = 0);
25 QString getDataDirectory();
26 void setDataDirectory(const QString &dataDir);
29 * Determine data directory. Let the user choose if the current one doesn't exist.
31 * @note do NOT call global GetDataDir() before calling this function, this
32 * will cause the wrong path to be cached.
34 static void pickDataDirectory();
37 * Determine default data directory for operating system.
39 static QString getDefaultDataDirectory();
46 void setStatus(int status, const QString &message, quint64 bytesAvailable);
49 void on_dataDirectory_textChanged(const QString &arg1);
50 void on_ellipsisButton_clicked();
51 void on_dataDirDefault_clicked();
52 void on_dataDirCustom_clicked();
62 void checkPath(const QString &dataDir);
63 QString getPathToCheck();
65 friend class FreespaceChecker;