Fetch and set values via QSettings. All functions are static. More...
#include "us_settings.h"
Public Member Functions | |
US_Settings () | |
Null constructor. More... | |
~US_Settings () | |
Null destructor. More... | |
Static Public Member Functions | |
static QString | browser (void) |
Get the browser program. More... | |
static void | set_browser (const QString &) |
Set the browser program. The path is only necessary if it is not found via the PATH envrionment variable. More... | |
static QString | importDir (void) |
Get the directory for raw data. More... | |
static void | set_importDir (const QString &) |
Set the directory for raw data. More... | |
static QString | tmpDir (void) |
Get the directory where temporary files can be stored. More... | |
static void | set_tmpDir (const QString &) |
Set the directory where temporary files can be stored. More... | |
static QString | dataDir (void) |
Get the directory for data (analytes, models, ...) More... | |
static QString | archiveDir (void) |
Get the directory where data and reports are archived locally. More... | |
static QString | resultDir (void) |
Get the directory for results data. More... | |
static QString | reportDir (void) |
Get the directory for reports from the supercomputer. More... | |
static QString | etcDir () |
Get the directory where working ./etc files reside. More... | |
static QString | appBaseDir () |
Get the base directory in which ./bin apps reside. More... | |
static QString | workBaseDir () |
Get work base directory for archive,results,reports.etc. More... | |
static void | set_workBaseDir (const QString &) |
Set the work base directory for archive,results,reports.etc. More... | |
static QStringList | license (void) |
Get the current license. More... | |
static void | set_license (const QStringList &) |
Set the current license. More... | |
static QByteArray | UltraScanPW (void) |
Get the cryptographic hash of the master password. More... | |
static void | set_UltraScanPW (const QByteArray &) |
Set the cryptographic hash of the master password. More... | |
static double | tempTolerance (void) |
Get the temperature tolerance for runs. More... | |
static void | set_tempTolerance (double) |
Set the temperature tolerance for runs. More... | |
static bool | beckmanBug (void) |
Get the Beckman Bug flag. More... | |
static void | set_beckmanBug (bool) |
Set the Beckman Bug flag. More... | |
static int | default_data_location (void) |
Get the default data location. More... | |
static void | set_default_data_location (int) |
Set the default data setting. More... | |
static int | us_debug (void) |
Get the US_Debug setting. More... | |
static void | set_us_debug (int) |
Set the US_Debug setting. More... | |
static QString | us_inv_name (void) |
Get the last set investigator name. More... | |
static void | set_us_inv_name (const QString &) |
Set the last set investigator name. More... | |
static int | us_inv_level (void) |
Get the last set investigator user level. More... | |
static void | set_us_inv_level (int) |
Set the last set investigator user level. More... | |
static int | us_inv_ID (void) |
Get the last set investigator ID. More... | |
static void | set_us_inv_ID (int) |
Set the last set investigator ID. More... | |
static QStringList | debug_text (void) |
Get the Debug text setting as a string list. More... | |
static bool | debug_match (QString) |
Get a flag if given string matches any in debug text. More... | |
static void | set_debug_text (QStringList) |
Set the Debug text setting as a string list. More... | |
static int | advanced_level (void) |
Get the advanced level setting. More... | |
static void | set_advanced_level (int) |
Set the advanced level setting. More... | |
static int | threads (void) |
Get the number of threads to use for internal procesing. More... | |
static void | set_threads (int) |
Set the number of threads to use for internal procesing. This is normally the number of processors or cores in the local computer. More... | |
static QList< QStringList > | databases (void) |
Get a list of stored database connection descriptions. More... | |
static void | set_databases (const QList< QStringList > &) |
Set a list of stored database connection descriptions. More... | |
static QStringList | defaultDB (void) |
Get the current stored database connection description. More... | |
static void | set_defaultDB (const QStringList &) |
Set the current stored database connection description. More... | |
Fetch and set values via QSettings. All functions are static.
Definition at line 10 of file us_settings.h.
|
inline |
Null constructor.
Definition at line 14 of file us_settings.h.
|
inline |
Null destructor.
Definition at line 16 of file us_settings.h.
|
static |
Get the advanced level setting.
Definition at line 286 of file us_settings.cpp.
|
static |
Get the base directory in which ./bin apps reside.
Definition at line 99 of file us_settings.cpp.
|
static |
Get the directory where data and reports are archived locally.
Definition at line 75 of file us_settings.cpp.
|
static |
Get the Beckman Bug flag.
Definition at line 158 of file us_settings.cpp.
|
static |
Get the browser program.
Definition at line 5 of file us_settings.cpp.
|
static |
Get a list of stored database connection descriptions.
Definition at line 319 of file us_settings.cpp.
|
static |
Get the directory for data (analytes, models, ...)
Definition at line 69 of file us_settings.cpp.
|
static |
Get a flag if given string matches any in debug text.
Definition at line 225 of file us_settings.cpp.
|
static |
Get the Debug text setting as a string list.
Definition at line 219 of file us_settings.cpp.
|
static |
Get the default data location.
Definition at line 174 of file us_settings.cpp.
|
static |
Get the current stored database connection description.
Definition at line 360 of file us_settings.cpp.
|
static |
Get the directory where working ./etc files reside.
Definition at line 93 of file us_settings.cpp.
|
static |
Get the directory for raw data.
Definition at line 37 of file us_settings.cpp.
|
static |
Get the current license.
Definition at line 116 of file us_settings.cpp.
|
static |
Get the directory for reports from the supercomputer.
Definition at line 87 of file us_settings.cpp.
|
static |
Get the directory for results data.
Definition at line 81 of file us_settings.cpp.
|
static |
Set the advanced level setting.
Definition at line 292 of file us_settings.cpp.
|
static |
Set the Beckman Bug flag.
Definition at line 164 of file us_settings.cpp.
|
static |
Set the browser program. The path is only necessary if it is not found via the PATH envrionment variable.
Definition at line 11 of file us_settings.cpp.
|
static |
Set a list of stored database connection descriptions.
Definition at line 334 of file us_settings.cpp.
|
static |
Set the Debug text setting as a string list.
Definition at line 230 of file us_settings.cpp.
|
static |
Set the default data setting.
Definition at line 180 of file us_settings.cpp.
|
static |
Set the current stored database connection description.
Definition at line 366 of file us_settings.cpp.
|
static |
Set the directory for raw data.
Definition at line 43 of file us_settings.cpp.
|
static |
Set the current license.
Definition at line 122 of file us_settings.cpp.
|
static |
Set the temperature tolerance for runs.
Definition at line 148 of file us_settings.cpp.
|
static |
Set the number of threads to use for internal procesing. This is normally the number of processors or cores in the local computer.
Definition at line 308 of file us_settings.cpp.
|
static |
Set the directory where temporary files can be stored.
Definition at line 59 of file us_settings.cpp.
|
static |
Set the cryptographic hash of the master password.
Definition at line 135 of file us_settings.cpp.
|
static |
Set the US_Debug setting.
Definition at line 208 of file us_settings.cpp.
|
static |
Set the last set investigator ID.
Definition at line 261 of file us_settings.cpp.
|
static |
Set the last set investigator user level.
Definition at line 276 of file us_settings.cpp.
|
static |
Set the last set investigator name.
Definition at line 246 of file us_settings.cpp.
|
static |
Set the work base directory for archive,results,reports.etc.
Definition at line 27 of file us_settings.cpp.
|
static |
Get the temperature tolerance for runs.
Definition at line 142 of file us_settings.cpp.
|
static |
Get the number of threads to use for internal procesing.
Definition at line 302 of file us_settings.cpp.
|
static |
Get the directory where temporary files can be stored.
Definition at line 53 of file us_settings.cpp.
|
static |
Get the cryptographic hash of the master password.
Definition at line 129 of file us_settings.cpp.
|
static |
Get the US_Debug setting.
Definition at line 202 of file us_settings.cpp.
|
static |
Get the last set investigator ID.
Definition at line 255 of file us_settings.cpp.
|
static |
Get the last set investigator user level.
Definition at line 270 of file us_settings.cpp.
|
static |
Get the last set investigator name.
Definition at line 240 of file us_settings.cpp.
|
static |
Get work base directory for archive,results,reports.etc.
Definition at line 20 of file us_settings.cpp.