#include <TGo4QSettings.h>
Public Member Functions | |
TGo4QSettings () | |
TGo4QSettings (Format format) | |
virtual | ~TGo4QSettings () |
void | DumpSettingsLocation () |
Printout where the settings are saved. | |
void | setBool (const QString &name, bool value=true) |
bool | getBool (const QString &name, bool def=true) |
void | setInt (const QString &name, int value=0) |
int | getInt (const QString &name, int def=0) |
void | setStr (const QString &name, const QString &value="") |
QString | getStr (const QString &name, const QString &value="") |
void | setBasicSettings () |
void | getBasicSettings () |
void | setAppStyle (const QString &) |
QString | getAppStyle () |
void | setClientName (const QString &) |
QString | getClientName () |
void | setClientNode (const QString &) |
QString | getClientNode () |
void | setClientDir (const QString &) |
QString | getClientDir () |
void | setClientExec (const QString &) |
QString | getClientExec () |
void | setClientShellMode (int) |
QString | getClientShell () |
int | getClientShellMode () |
void | setClientTermMode (int) |
int | getClientTermMode () |
QString | getClientTerm () |
void | setClientIsServer (bool on) |
bool | getClientIsServer () |
void | setClientPort (int) |
int | getClientPort () |
void | setClientControllerMode (int) |
int | getClientControllerMode () |
void | setClientDefaultPass (bool) |
bool | getClientDefaultPass () |
void | setTermHistorySize (int sz) |
int | getTermHistorySize () |
void | setHServName (const QString &) |
QString | getHServName () |
void | setHServBase (const QString &) |
QString | getHServBase () |
void | setHServFilter (const QString &) |
QString | getHServFilter () |
void | setHServPort (int port) |
int | getHServPort () |
void | setPadCrosshair (bool on) |
bool | getPadCrosshair () |
void | setPadEventStatus (bool on) |
bool | getPadEventStatus () |
void | setCanvasColor (int red, int green, int blue) |
void | getCanvasColor (int &red, int &green, int &blue) |
void | setOptStat (int value) |
int | getOptStat () |
void | setStatBoxVisible (bool on=true) |
bool | getStatBoxVisible () |
void | setStatBoxErrors (bool on=true) |
bool | getStatBoxErrors () |
void | setCloneFlag (bool on=true) |
bool | getCloneFlag () |
void | setDrawTimeFlag (bool on=true) |
bool | getDrawTimeFlag () |
void | setDrawDateFlag (bool on=true) |
bool | getDrawDateFlag () |
void | setDrawItemFlag (bool on=true) |
bool | getDrawItemFlag () |
void | storeGeometry (QMainWindow *w) |
void | restoreGeometry (QMainWindow *w) |
void | storePanelSize (QWidget *w) |
void | restorePanelSize (QWidget *w) |
void | setBrowserColumn (const char *name, int width) |
int | getBrowserColumn (const char *name, int defwidth) |
void | setHistName (const QString &value) |
QString | getHistName () |
void | setHistType (int value) |
int | getHistType () |
void | setHistAxisPars (int naxis, int npoints, double min, double max) |
void | getHistAxisPars (int naxis, int &npoints, double &min, double &max) |
void | setFetchDataWhenDraw (bool on=true) |
bool | getFetchDataWhenDraw () |
void | setFetchDataWhenCopy (bool on=true) |
bool | getFetchDataWhenCopy () |
void | setFetchDataWhenSave (bool on=true) |
bool | getFetchDataWhenSave () |
void | setRemoteFileSett (const QString &hostname, const QString &filename, const QString &protocol) |
void | getRemoteFileSett (QString &hostname, QString &filename, QString &protocol) |
void | setPrinterSett (const QString &name, const QString &cmd) |
void | getPrinterSett (QString &name, QString &cmd) |
void | setMbsMonitorNode (const QString &name) |
some things for the mbs monitor dockwindow: | |
QString | getMbsMonitorNode () |
void | setMbsMonitorFreq (int secs) |
int | getMbsMonitorFreq () |
void | setMbsMonitorBins (int num) |
int | getMbsMonitorBins () |
void | setMbsMonitorTrend (bool on=true) |
bool | getMbsMonitorTrend () |
void | setMbsMonitorMore (bool on=true) |
bool | getMbsMonitorMore () |
void | setMbsMonitorMonitorActive (bool on=true) |
bool | getMbsMonitorMonitorActive () |
void | setMbsMonitorBackwardsTrending (bool on=true) |
bool | getMbsMonitorBackwardsTrending () |
void | setDabcMonitorNode (const QString &name) |
some things for the DABC monitor dockwindow: | |
QString | getDabcMonitorNode () |
void | setDabcMonitorFreq (int secs) |
int | getDabcMonitorFreq () |
void | setDabcMonitorBins (int num) |
int | getDabcMonitorBins () |
void | setDabcMonitorBackwardsTrending (bool on=true) |
bool | getDabcMonitorBackwardsTrending () |
QStringList | getCommandsHistoryGUI () |
implement history for gui commandline | |
void | setCommandsHistoryGUI (QStringList &commands) |
Static Public Member Functions | |
static void | SetToCurrentDir (bool on) |
static void | SetUserPath (const QString &mypath) |
static void | SetHomeSettingsFile (const QString &name) |
static bool | UsesUserPath () |
static const QString & | GetUserPath () |
static const QString & | GetSettingsName () |
static QString | getSettingsFileName () |
static void | RestoreSettings (QMainWindow *tgt) |
static void | StoreSettings (QMainWindow *src) |
Protected Member Functions | |
void | SetSettingsPath () |
Sets the path of this instance according to static settings. | |
Static Private Attributes | |
static bool | fgbUSEMYLOCATION = false |
if true, settings will be put to location specified in mypath string and read there. | |
static QString | fgxSETTINGSLOCATION = "" |
The actual path to the settings. | |
static QString | fgxHOMESETTINGSNAME = "/go4" |
This defines the name of the default settings file in $HOME/.qt Default is "/Go4", yielding a file go4rc. | |
static QString | fgxSETTINGSNAME = "/go4" |
This is the name of the currently activated settings prepath e.g. |
May switch load/save between the user home directory, and the current directory
Definition at line 33 of file TGo4QSettings.h.
|
Definition at line 41 of file TGo4QSettings.cpp. References SetSettingsPath(). |
|
Definition at line 46 of file TGo4QSettings.cpp. References SetSettingsPath(). |
|
Definition at line 52 of file TGo4QSettings.cpp. |
|
Printout where the settings are saved.
Definition at line 67 of file TGo4QSettings.cpp. References fgbUSEMYLOCATION, fgxSETTINGSLOCATION, and fgxSETTINGSNAME. Referenced by TGo4MainWindow::SaveSettingsSlot(), and TGo4MainWindow::TGo4MainWindow(). |
|
Definition at line 56 of file TGo4QSettings.cpp. References fgbUSEMYLOCATION, fgxHOMESETTINGSNAME, fgxSETTINGSLOCATION, and fgxSETTINGSNAME. Referenced by main(). |
|
Definition at line 45 of file TGo4QSettings.h. References fgbUSEMYLOCATION, fgxHOMESETTINGSNAME, fgxSETTINGSLOCATION, and fgxSETTINGSNAME. Referenced by main(). |
|
Definition at line 52 of file TGo4QSettings.h. References fgxHOMESETTINGSNAME. Referenced by main(). |
|
Definition at line 58 of file TGo4QSettings.h. References fgbUSEMYLOCATION. Referenced by getSettingsFileName(). |
|
Definition at line 60 of file TGo4QSettings.h. References fgxSETTINGSLOCATION. Referenced by getSettingsFileName(), and main(). |
|
|
Definition at line 406 of file TGo4QSettings.cpp. References fxSettingsfolder, fxToolsfile, GetUserPath(), and UsesUserPath(). Referenced by RestoreSettings(), and StoreSettings(). |
|
Definition at line 414 of file TGo4QSettings.cpp. References getSettingsFileName(). Referenced by TGo4MainWindow::TGo4MainWindow(). |
|
Definition at line 436 of file TGo4QSettings.cpp. References getSettingsFileName(). Referenced by TGo4MainWindow::SaveSettingsSlot(). |
|
Definition at line 743 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 748 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 753 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 758 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 763 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 768 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
|
|
Definition at line 138 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::SaveSettingsSlot(). |
|
Definition at line 143 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::TGo4MainWindow(). |
|
Definition at line 148 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4Script::LaunchAnalysis(). |
|
Definition at line 153 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::LaunchClientSlot(), and TGo4Script::ProduceScript(). |
|
Definition at line 158 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4Script::ConnectAnalysis(), and TGo4Script::LaunchAnalysis(). |
|
Definition at line 163 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectServerSlot(), TGo4MainWindow::LaunchClientSlot(), and TGo4Script::ProduceScript(). |
|
Definition at line 168 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4Script::LaunchAnalysis(). |
|
Definition at line 173 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::LaunchClientSlot(), and TGo4Script::ProduceScript(). |
|
Definition at line 178 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4Script::LaunchAnalysis(). |
|
Definition at line 183 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::LaunchClientSlot(), and TGo4Script::ProduceScript(). |
|
Definition at line 188 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4Script::LaunchAnalysis(). |
|
Definition at line 198 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by getClientShellMode(). |
|
Definition at line 203 of file TGo4QSettings.cpp. References getClientShell(). Referenced by TGo4MainWindow::LaunchClientSlot(), and TGo4Script::ProduceScript(). |
|
Definition at line 213 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4Script::LaunchAnalysis(). |
|
Definition at line 229 of file TGo4QSettings.cpp. References getClientTerm(). Referenced by TGo4MainWindow::LaunchClientSlot(), and TGo4Script::ProduceScript(). |
|
Definition at line 224 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by getClientTermMode(). |
|
Definition at line 239 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 244 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::LaunchClientSlot(). |
|
Definition at line 250 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4Script::ConnectAnalysis(). |
|
Definition at line 255 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectServerSlot(), and TGo4Script::ProduceScript(). |
|
Definition at line 260 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4Script::ConnectAnalysis(). |
|
Definition at line 265 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectServerSlot(), and TGo4Script::ProduceScript(). |
|
Definition at line 270 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4Script::ConnectAnalysis(). |
|
Definition at line 275 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectServerSlot(), and TGo4Script::ProduceScript(). |
|
Definition at line 281 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::InputTerminalParametersSlot(). |
|
Definition at line 286 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::InputTerminalParametersSlot(), and TGo4AnalysisWindow::TGo4AnalysisWindow(). |
|
Definition at line 291 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectHServerSlot(). |
|
Definition at line 296 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectHServerSlot(). |
|
Definition at line 301 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectHServerSlot(). |
|
Definition at line 306 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectHServerSlot(). |
|
Definition at line 311 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectHServerSlot(). |
|
Definition at line 316 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectHServerSlot(). |
|
Definition at line 321 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectHServerSlot(). |
|
Definition at line 326 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ConnectHServerSlot(). |
|
Definition at line 332 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::CrosshairSlot(). |
|
Definition at line 337 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4MainWindow::TGo4MainWindow(). |
|
Definition at line 342 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::EventStatusSlot(). |
|
Definition at line 347 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4MainWindow::TGo4MainWindow(). |
|
Definition at line 352 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::CanvasColorSlot(). |
|
Definition at line 359 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 491 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 496 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::TGo4MainWindow(). |
|
Definition at line 501 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 506 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 511 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 516 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 366 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ChangeCloneFlagSlot(). |
|
Definition at line 371 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::AddSettingMenu(). |
|
Definition at line 376 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ChangeDrawTimeFlagSlot(). |
|
Definition at line 381 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::AddSettingMenu(). |
|
Definition at line 386 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ChangeDrawDateFlagSlot(). |
|
Definition at line 391 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::AddSettingMenu(). |
|
Definition at line 396 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ChangeDrawItemFlagSlot(). |
|
Definition at line 401 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::AddSettingMenu(). |
|
Definition at line 447 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::SaveSettingsSlot(). |
|
Definition at line 455 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::TGo4MainWindow(). |
|
Definition at line 466 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 472 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 480 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 485 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 522 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 527 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 532 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 537 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 545 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 559 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 573 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ChangeFetchWhenDrawSlot(). |
|
Definition at line 578 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4MainWindow::DisplayBrowserItem(). |
|
Definition at line 583 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ChangeFetchWhenCopySlot(). |
|
Definition at line 588 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::AddSettingMenu(). |
|
Definition at line 593 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::ChangeFetchWhenSaveSlot(). |
|
Definition at line 598 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4MainWindow::SaveFileSlot(). |
|
Definition at line 603 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 610 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 617 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 623 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
some things for the mbs monitor dockwindow:
Definition at line 629 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 634 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 639 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 644 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 649 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 654 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 659 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 664 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 669 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 674 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 679 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 684 of file TGo4QSettings.cpp. References GetSettingsName(). Referenced by TGo4MainWindow::TGo4MainWindow(). |
|
Definition at line 689 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 694 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
some things for the DABC monitor dockwindow:
Definition at line 700 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 705 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 710 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 715 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 720 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 725 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 730 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 735 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
implement history for gui commandline
Definition at line 774 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Definition at line 779 of file TGo4QSettings.cpp. References GetSettingsName(). |
|
Sets the path of this instance according to static settings.
Definition at line 75 of file TGo4QSettings.cpp. References fgbUSEMYLOCATION, and fgxSETTINGSLOCATION. Referenced by TGo4QSettings(). |
|
if true, settings will be put to location specified in mypath string and read there. Otherwise use QSettings defaultpaths Definition at line 33 of file TGo4QSettings.cpp. Referenced by DumpSettingsLocation(), SetSettingsPath(), SetToCurrentDir(), SetUserPath(), and UsesUserPath(). |
|
The actual path to the settings.
Definition at line 34 of file TGo4QSettings.cpp. Referenced by DumpSettingsLocation(), GetUserPath(), SetSettingsPath(), SetToCurrentDir(), and SetUserPath(). |
|
This defines the name of the default settings file in $HOME/.qt Default is "/Go4", yielding a file go4rc.
Definition at line 36 of file TGo4QSettings.cpp. Referenced by SetHomeSettingsFile(), SetToCurrentDir(), and SetUserPath(). |
|
This is the name of the currently activated settings prepath e.g. "Go4/" or "Go4local/". Will cause differrent filenames for home settings or current dir/user location settings this is necessary to avoid interfereances. Definition at line 35 of file TGo4QSettings.cpp. Referenced by DumpSettingsLocation(), GetSettingsName(), SetToCurrentDir(), and SetUserPath(). |