Fabcoin Core  0.16.2
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Private Slots | Private Member Functions | Private Attributes | Friends | List of all members
Intro Class Reference

Introduction screen (pre-GUI startup). More...

#include <intro.h>

Inheritance diagram for Intro:
[legend]
Collaboration diagram for Intro:
[legend]

Public Slots

void setStatus (int status, const QString &message, quint64 bytesAvailable)
 

Signals

void requestCheck ()
 
void stopThread ()
 

Public Member Functions

 Intro (QWidget *parent=0)
 
 ~Intro ()
 
QString getDataDirectory ()
 
void setDataDirectory (const QString &dataDir)
 

Static Public Member Functions

static bool pickDataDirectory ()
 Determine data directory. More...
 
static QString getDefaultDataDirectory ()
 Determine default data directory for operating system. 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 ()
 

Private Attributes

Ui::Introui
 
QThread * thread
 
QMutex mutex
 
bool signalled
 
QString pathToCheck
 

Friends

class FreespaceChecker
 

Detailed Description

Introduction screen (pre-GUI startup).

Allows the user to choose a data directory, in which the wallet and block chain will be stored.

Definition at line 24 of file intro.h.

Constructor & Destructor Documentation

Intro::Intro ( QWidget *  parent = 0)
explicit

Definition at line 116 of file intro.cpp.

Here is the call graph for this function:

Intro::~Intro ( )

Definition at line 156 of file intro.cpp.

Member Function Documentation

void Intro::checkPath ( const QString &  dataDir)
private

Definition at line 310 of file intro.cpp.

Here is the caller graph for this function:

QString Intro::getDataDirectory ( )

Definition at line 164 of file intro.cpp.

Here is the caller graph for this function:

QString Intro::getDefaultDataDirectory ( )
static

Determine default data directory for operating system.

Definition at line 184 of file intro.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QString Intro::getPathToCheck ( )
private

Definition at line 322 of file intro.cpp.

Here is the caller graph for this function:

void Intro::on_dataDirCustom_clicked ( )
privateslot

Definition at line 289 of file intro.cpp.

void Intro::on_dataDirDefault_clicked ( )
privateslot

Definition at line 284 of file intro.cpp.

Here is the call graph for this function:

void Intro::on_dataDirectory_textChanged ( const QString &  arg1)
privateslot

Definition at line 270 of file intro.cpp.

Here is the call graph for this function:

void Intro::on_ellipsisButton_clicked ( )
privateslot

Definition at line 277 of file intro.cpp.

bool Intro::pickDataDirectory ( )
static

Determine data directory.

Let the user choose if the current one doesn't exist.

Returns
true if a data directory was selected, false if the user cancelled the selection dialog.
Note
do NOT call global GetDataDir() before calling this function, this will cause the wrong path to be cached.

Definition at line 189 of file intro.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Intro::requestCheck ( )
signal

Definition at line 163 of file moc_intro.cpp.

Here is the caller graph for this function:

void Intro::setDataDirectory ( const QString &  dataDir)

Definition at line 169 of file intro.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Intro::setStatus ( int  status,
const QString &  message,
quint64  bytesAvailable 
)
slot

Definition at line 238 of file intro.cpp.

Here is the caller graph for this function:

void Intro::startThread ( )
private

Definition at line 295 of file intro.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Intro::stopThread ( )
signal

Definition at line 169 of file moc_intro.cpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class FreespaceChecker
friend

Definition at line 75 of file intro.h.

Member Data Documentation

QMutex Intro::mutex
private

Definition at line 67 of file intro.h.

QString Intro::pathToCheck
private

Definition at line 69 of file intro.h.

bool Intro::signalled
private

Definition at line 68 of file intro.h.

QThread* Intro::thread
private

Definition at line 66 of file intro.h.

Ui::Intro* Intro::ui
private

Definition at line 65 of file intro.h.


The documentation for this class was generated from the following files: