General Purpose Geodetic Library
|
#include <VmStartupWizard.h>
Public Member Functions | |
VmStartupWizard (bool isFirstRun, bool isForcedRun, bool isSystemWideRun, QSettings *settings, QWidget *parent=0) | |
virtual | ~VmStartupWizard () |
QString | className () const |
VmWizardPage * | createIntroPage () |
VmWizardPage * | createPageHomeDir () |
VmWizardPage * | createPageOne () |
VmWizardPage * | createPageTwo () |
VmWizardPage * | createPageThree () |
VmWizardPage * | createConclusionPage () |
Static Public Member Functions | |
static int | serialNumber () |
Private Slots | |
void | accept () |
Private Attributes | |
bool | isFirstRun_ |
bool | isForcedRun_ |
bool | isSystemWideRun_ |
QLineEdit * | leUserName_ |
QLineEdit * | leUserEmail_ |
QLineEdit * | leUserInitials_ |
QLineEdit * | leAcFullName_ |
QLineEdit * | leAcAbbrevName_ |
QLineEdit * | leAcAbbName_ |
QLineEdit * | leHomeDirName_ |
QLineEdit * | leVgosDbDirName_ |
QLineEdit * | leInputDirName_ |
QLineEdit * | leMasterFilesDirName_ |
QCheckBox * | cbUseLocalLocale_ |
QLineEdit * | leAuxLogsDirName_ |
QCheckBox * | cbMakeAuxLog_ |
QCheckBox * | cbLogStoreInFile_ |
QCheckBox * | cbLogTimeLabel_ |
QLineEdit * | eLogFileName_ |
QSpinBox * | sLogCapacity_ |
QButtonGroup * | bgLogLevels_ |
QSettings * | settings_ |
Static Private Attributes | |
static const int | serialNumber_ = 20150527 |
Definition at line 75 of file VmStartupWizard.h.
VmStartupWizard::VmStartupWizard | ( | bool | isFirstRun, |
bool | isForcedRun, | ||
bool | isSystemWideRun, | ||
QSettings * | settings, | ||
QWidget * | parent = 0 |
||
) |
A constructor.
Definition at line 91 of file VmStartupWizard.cpp.
References createConclusionPage(), createIntroPage(), createPageHomeDir(), createPageOne(), createPageThree(), createPageTwo(), SgVersion::getSoftwareName(), isFirstRun_, isForcedRun_, isSystemWideRun_, settings_, and vgosDbMakeVersion.
|
virtual |
A destructor. Frees allocated memory.
Definition at line 120 of file VmStartupWizard.cpp.
|
privateslot |
Definition at line 644 of file VmStartupWizard.cpp.
References bgLogLevels_, cbLogStoreInFile_, cbLogTimeLabel_, cbMakeAuxLog_, cbUseLocalLocale_, className(), SgLogger::DBG, eLogFileName_, SgLogger::ERR, NsSetup::getPath2Home(), NsSetup::identities(), SgLogger::INF, SgLogger::IO, isSystemWideRun_, leAcAbbName_, leAcAbbrevName_, leAcFullName_, leAuxLogsDirName_, leHomeDirName_, leInputDirName_, leMasterFilesDirName_, leUserEmail_, leUserInitials_, leUserName_, leVgosDbDirName_, logger, SgIdentities::setAcAbbName(), SgIdentities::setAcAbbrevName(), SgIdentities::setAcFullName(), SgLogger::setCapacity(), SgLogger::setFileName(), NsSetup::setHave2SavePerSessionLog(), SgLogger::setIsNeedTimeMark(), SgLogger::setIsStoreInFile(), SgLogger::setLogFacility(), NsSetup::setPath2AuxLogs(), NsSetup::setPath2Home(), NsSetup::setPath2MasterFiles(), NsSetup::setPath2VgosDbFiles(), settings_, setup, SgIdentities::setUserDefaultInitials(), SgIdentities::setUserEmailAddress(), SgIdentities::setUserName(), sLogCapacity_, SgLogger::write(), and SgLogger::WRN.
|
inline |
Definition at line 103 of file VmStartupWizard.h.
Referenced by accept().
VmWizardPage * VmStartupWizard::createConclusionPage | ( | ) |
Definition at line 617 of file VmStartupWizard.cpp.
Referenced by VmStartupWizard().
VmWizardPage * VmStartupWizard::createIntroPage | ( | ) |
Definition at line 127 of file VmStartupWizard.cpp.
References SgVersion::getCodeName(), isFirstRun_, isForcedRun_, libraryVersion, VmWizardPage::registerField(), SgVersion::toString(), and vgosDbMakeVersion.
Referenced by VmStartupWizard().
VmWizardPage * VmStartupWizard::createPageHomeDir | ( | ) |
Definition at line 196 of file VmStartupWizard.cpp.
References cbUseLocalLocale_, NsSetup::getPath2Home(), NsSetup::getPath2MasterFiles(), NsSetup::getPath2VgosDbFiles(), SgVersion::getSoftwareName(), isFirstRun_, isSystemWideRun_, leHomeDirName_, leInputDirName_, leMasterFilesDirName_, leVgosDbDirName_, VmWizardPage::registerField(), setup, and vgosDbMakeVersion.
Referenced by VmStartupWizard().
VmWizardPage * VmStartupWizard::createPageOne | ( | ) |
Definition at line 303 of file VmStartupWizard.cpp.
References SgIdentities::getUserDefaultInitials(), SgIdentities::getUserEmailAddress(), SgIdentities::getUserName(), NsSetup::identities(), isFirstRun_, leUserEmail_, leUserInitials_, leUserName_, and setup.
Referenced by VmStartupWizard().
VmWizardPage * VmStartupWizard::createPageThree | ( | ) |
Definition at line 509 of file VmStartupWizard.cpp.
References bgLogLevels_, cbLogStoreInFile_, cbLogTimeLabel_, cbMakeAuxLog_, eLogFileName_, SgLogger::getCapacity(), SgLogger::getFileName(), NsSetup::getHave2SavePerSessionLog(), SgLogger::getIsNeedTimeMark(), SgLogger::getIsStoreInFile(), NsSetup::getPath2AuxLogs(), leAuxLogsDirName_, logger, settings_, setup, and sLogCapacity_.
Referenced by VmStartupWizard().
VmWizardPage * VmStartupWizard::createPageTwo | ( | ) |
Definition at line 427 of file VmStartupWizard.cpp.
References SgIdentities::getAcAbbName(), SgIdentities::getAcAbbrevName(), SgIdentities::getAcFullName(), NsSetup::identities(), isFirstRun_, leAcAbbName_, leAcAbbrevName_, leAcFullName_, VmWizardPage::registerField(), and setup.
Referenced by VmStartupWizard().
|
static |
|
private |
Definition at line 164 of file VmStartupWizard.h.
Referenced by accept(), and createPageThree().
|
private |
Definition at line 160 of file VmStartupWizard.h.
Referenced by accept(), and createPageThree().
|
private |
Definition at line 161 of file VmStartupWizard.h.
Referenced by accept(), and createPageThree().
|
private |
Definition at line 158 of file VmStartupWizard.h.
Referenced by accept(), and createPageThree().
|
private |
Definition at line 156 of file VmStartupWizard.h.
Referenced by accept(), and createPageHomeDir().
|
private |
Definition at line 162 of file VmStartupWizard.h.
Referenced by accept(), and createPageThree().
|
private |
Definition at line 141 of file VmStartupWizard.h.
Referenced by VmStartupWizard(), createIntroPage(), createPageHomeDir(), createPageOne(), and createPageTwo().
|
private |
Definition at line 142 of file VmStartupWizard.h.
Referenced by VmStartupWizard(), and createIntroPage().
|
private |
Definition at line 143 of file VmStartupWizard.h.
Referenced by VmStartupWizard(), accept(), and createPageHomeDir().
|
private |
Definition at line 151 of file VmStartupWizard.h.
Referenced by accept(), and createPageTwo().
|
private |
Definition at line 150 of file VmStartupWizard.h.
Referenced by accept(), and createPageTwo().
|
private |
Definition at line 149 of file VmStartupWizard.h.
Referenced by accept(), and createPageTwo().
|
private |
Definition at line 157 of file VmStartupWizard.h.
Referenced by accept(), and createPageThree().
|
private |
Definition at line 152 of file VmStartupWizard.h.
Referenced by accept(), and createPageHomeDir().
|
private |
Definition at line 154 of file VmStartupWizard.h.
Referenced by accept(), and createPageHomeDir().
|
private |
Definition at line 155 of file VmStartupWizard.h.
Referenced by accept(), and createPageHomeDir().
|
private |
Definition at line 147 of file VmStartupWizard.h.
Referenced by accept(), and createPageOne().
|
private |
Definition at line 148 of file VmStartupWizard.h.
Referenced by accept(), and createPageOne().
|
private |
Definition at line 146 of file VmStartupWizard.h.
Referenced by accept(), and createPageOne().
|
private |
Definition at line 153 of file VmStartupWizard.h.
Referenced by accept(), and createPageHomeDir().
|
staticprivate |
Definition at line 166 of file VmStartupWizard.h.
Referenced by serialNumber().
|
private |
Definition at line 167 of file VmStartupWizard.h.
Referenced by VmStartupWizard(), accept(), and createPageThree().
|
private |
Definition at line 163 of file VmStartupWizard.h.
Referenced by accept(), and createPageThree().