GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4QSettings Class Reference

Extends the usual QSettings by a global setup for the location of the settings file. More...

#include <TGo4QSettings.h>

Public Member Functions

 TGo4QSettings (const QString &filename)
 
virtual ~TGo4QSettings ()
 
bool getAnalysisMacroAutomode (int id)
 
QString getAnalysisMacroCommand (int id)
 for predefined macro buttons in main gui:
 
QString getAnalysisMacroTip (int id)
 
void getAppFont ()
 
QString getAppStyle ()
 
void getBasicSettings ()
 
bool getBool (const QString &name, bool def=true)
 
int getBrowserColumn (const char *name, int defwidth)
 
void getCanvasColor (int &red, int &green, int &blue)
 
QString getClientAccountName ()
 
QString getClientArgs ()
 
int getClientConnectMode ()
 
int getClientControllerMode ()
 
bool getClientDefaultPass ()
 
QString getClientDir ()
 
QString getClientExec (int mode=-1)
 
int getClientExeMode ()
 
int getClientIsServer ()
 
QString getClientName ()
 
QString getClientNode ()
 
int getClientPort ()
 
QString getClientShell ()
 
int getClientShellMode ()
 
QString getClientTerm ()
 
int getClientTermMode ()
 
bool getCloneFlag ()
 
QStringList getCommandsHistoryAnalysis ()
 implement history for analysis command line
 
QStringList getCommandsHistoryGUI ()
 implement history for gui command line
 
bool getDabcMonitorBackwardsTrending ()
 
int getDabcMonitorBins ()
 
int getDabcMonitorFreq ()
 
QString getDabcMonitorNode ()
 
double getDouble (const QString &name, double value=0.)
 
bool getDrawDateFlag ()
 
int getDrawFillColor ()
 
int getDrawFillStyle ()
 
bool getDrawItemFlag ()
 
int getDrawLineWidth ()
 
bool getDrawOnceFlag ()
 
bool getDrawTimeFlag ()
 
bool getFetchDataWhenCopy ()
 
bool getFetchDataWhenDraw ()
 
bool getFetchDataWhenSave ()
 
QString getGStyleStatFormat ()
 
bool getHideTGo4EventElement ()
 
void getHistAxisPars (int naxis, int &npoints, double &min, double &max)
 
QString getHistName ()
 
QString getHistTitle ()
 
int getHistType ()
 
QString getHServBase ()
 
QString getHServFilter ()
 
QString getHServName ()
 
int getHServPort ()
 
int getInt (const QString &name, int def=0)
 
bool getMbsMonitorBackwardsTrending ()
 
int getMbsMonitorBins ()
 
int getMbsMonitorFreq ()
 
bool getMbsMonitorMonitorActive ()
 
bool getMbsMonitorMore ()
 
QString getMbsMonitorNode ()
 
bool getMbsMonitorTrend ()
 
bool getMoveSubwindowRubberBand ()
 
bool getNativeMenuBar ()
 
int getOptStat ()
 
int getOptStatH ()
 
int getOptStatW ()
 
bool getPadCrosshair ()
 
bool getPadEventStatus ()
 
bool getPadSuperimpose ()
 
void getPaletteOpt (int &min, int &def, int &max)
 
void getPrinterSett (QString &name, QString &cmd)
 
void getRemoteFileSett (QString &hostname, QString &filename, QString &protocol)
 
bool getSavePadWhiteBackground ()
 switch to make pad and frame backgrounds white before saving/printing them
 
double getScreenScaleFactor ()
 for Qt>5.6: factor to scale up whole gui on high dpi screens
 
QString GetSettLoaction ()
 
bool getStatBoxErrors ()
 
bool getStatBoxVisible ()
 
QString getStr (const QString &name, const QString &value="")
 
QFont getTermFont ()
 
int getTermHistorySize ()
 
bool getTermShowTimestamp ()
 
QString getTermTimeFormat ()
 
QString getTGraphDrawOpt ()
 
QString getTH1DrawOpt ()
 
QString getTH2DrawOpt ()
 
QString getTH3DrawOpt ()
 
bool getWebBasedCanvas ()
 
QSize lastPanelSize (const QString &kind="ViewPanel", int dfltwidth=450, int dfltheight=250)
 
void restoreMainWindowState (QMainWindow *tgt)
 main window state/geometry
 
void setAnalysisMacroAutomode (int id, bool on)
 
void setAnalysisMacroCommand (int id, const QString &com)
 
void setAnalysisMacroTip (int id, const QString &com)
 
void setAppFont (const QFont &)
 
void setAppStyle (const QString &)
 
void setBasicSettings ()
 
void setBool (const QString &name, bool value=true)
 
void setBrowserColumn (const char *name, int width)
 
void setCanvasColor (int red, int green, int blue)
 
void setClientAccountName (const QString &)
 
void setClientArgs (const QString &)
 
void setClientConnectMode (int)
 
void setClientControllerMode (int)
 
void setClientDefaultPass (bool)
 
void setClientDir (const QString &)
 
void setClientExec (const QString &)
 
void setClientExeMode (int mode)
 
void setClientIsServer (int kind)
 
void setClientName (const QString &)
 
void setClientNode (const QString &)
 
void setClientPort (int)
 
void setClientShellMode (int)
 
void setClientTermMode (int)
 
void setCloneFlag (bool on=true)
 
void setCommandsHistoryAnalysis (const QStringList &commands)
 
void setCommandsHistoryGUI (const QStringList &commands)
 
void setDabcMonitorBackwardsTrending (bool on=true)
 
void setDabcMonitorBins (int num)
 
void setDabcMonitorFreq (int secs)
 
void setDabcMonitorNode (const QString &name)
 some things for the DABC monitor dockwindow:
 
void setDouble (const QString &name, double value=0.)
 
void setDrawDateFlag (bool on=true)
 
void setDrawFillColor (int col)
 
void setDrawFillStyle (int style)
 
void setDrawItemFlag (bool on=true)
 
void setDrawLineWidth (int w=1)
 
void setDrawOnceFlag (bool on=true)
 
void setDrawTimeFlag (bool on=true)
 
void setFetchDataWhenCopy (bool on=true)
 
void setFetchDataWhenDraw (bool on=true)
 
void setFetchDataWhenSave (bool on=true)
 
void setGStyleStatFormat (const QString &)
 
void setHideTGo4EventElement (bool on=true)
 
void setHistAxisPars (int naxis, int npoints, double min, double max)
 
void setHistName (const QString &value)
 
void setHistTitle (const QString &value)
 
void setHistType (int value)
 
void setHServBase (const QString &)
 
void setHServFilter (const QString &)
 
void setHServName (const QString &)
 
void setHServPort (int port)
 
void setInt (const QString &name, int value=0)
 
void setMbsMonitorBackwardsTrending (bool on=true)
 
void setMbsMonitorBins (int num)
 
void setMbsMonitorFreq (int secs)
 
void setMbsMonitorMonitorActive (bool on=true)
 
void setMbsMonitorMore (bool on=true)
 
void setMbsMonitorNode (const QString &name)
 some things for the mbs monitor dockwindow:
 
void setMbsMonitorTrend (bool on=true)
 
void setMoveSubwindowRubberBand (bool on=true)
 
void setNativeMenuBar (bool on=true)
 
void setOptStat (int value)
 
void setOptStatH (int value)
 
void setOptStatW (int value)
 
void setPadCrosshair (bool on)
 
void setPadEventStatus (bool on)
 
void setPadSuperimpose (bool on)
 
void setPaletteOpt (int min, int def, int max)
 
void setPrinterSett (const QString &name, const QString &cmd)
 
void setRemoteFileSett (const QString &hostname, const QString &filename, const QString &protocol)
 
void setSavePadWhiteBackground (bool on)
 
void setScreenScaleFactor (double factor)
 
void setStatBoxErrors (bool on=true)
 
void setStatBoxVisible (bool on=true)
 
void setStr (const QString &name, const QString &value="")
 
void setTermFont (const QFont &)
 
void setTermHistorySize (int sz)
 
void setTermShowTimestamp (bool on)
 
void setTermTimeFormat (const QString &form)
 
void setTGraphDrawOpt (const QString &value)
 
void setTH1DrawOpt (const QString &value)
 
void setTH2DrawOpt (const QString &value)
 
void setTH3DrawOpt (const QString &value)
 
void setWebBasedCanvas (bool on=true)
 
void Store ()
 
void storeMainWindowState (QMainWindow *src)
 
void storePanelSize (QWidget *w, const QString &kind="ViewPanel")
 

Private Member Functions

void Open ()
 Read settings from the file/registry.
 

Private Attributes

QString fSettFileName
 This is the name of the file with settings, if empty - default qt location will be used.
 
bool fUseWeb {false}
 
QSettings * sett {nullptr}
 Currently opened settings.
 

Detailed Description

Extends the usual QSettings by a global setup for the location of the settings file.

May switch load/save between the user home directory, and the current directory

Definition at line 34 of file TGo4QSettings.h.

Constructor & Destructor Documentation

◆ TGo4QSettings()

TGo4QSettings::TGo4QSettings ( const QString & filename)

Definition at line 35 of file TGo4QSettings.cpp.

References fSettFileName, fUseWeb, and Open().

◆ ~TGo4QSettings()

TGo4QSettings::~TGo4QSettings ( )
virtual

Definition at line 44 of file TGo4QSettings.cpp.

Member Function Documentation

◆ getAnalysisMacroAutomode()

bool TGo4QSettings::getAnalysisMacroAutomode ( int id)

Definition at line 1031 of file TGo4QSettings.cpp.

References getBool().

◆ getAnalysisMacroCommand()

QString TGo4QSettings::getAnalysisMacroCommand ( int id)

for predefined macro buttons in main gui:

Definition at line 1017 of file TGo4QSettings.cpp.

References getStr().

◆ getAnalysisMacroTip()

QString TGo4QSettings::getAnalysisMacroTip ( int id)

Definition at line 1024 of file TGo4QSettings.cpp.

References getStr().

◆ getAppFont()

void TGo4QSettings::getAppFont ( )

Definition at line 189 of file TGo4QSettings.cpp.

References getStr().

◆ getAppStyle()

QString TGo4QSettings::getAppStyle ( )

Definition at line 214 of file TGo4QSettings.cpp.

References getStr().

◆ getBasicSettings()

void TGo4QSettings::getBasicSettings ( )

◆ getBool()

◆ getBrowserColumn()

int TGo4QSettings::getBrowserColumn ( const char * name,
int defwidth )

Definition at line 681 of file TGo4QSettings.cpp.

References getInt().

◆ getCanvasColor()

void TGo4QSettings::getCanvasColor ( int & red,
int & green,
int & blue )

Definition at line 488 of file TGo4QSettings.cpp.

References getInt().

◆ getClientAccountName()

QString TGo4QSettings::getClientAccountName ( )

Definition at line 391 of file TGo4QSettings.cpp.

References getStr().

◆ getClientArgs()

QString TGo4QSettings::getClientArgs ( )

Definition at line 276 of file TGo4QSettings.cpp.

References getStr().

◆ getClientConnectMode()

int TGo4QSettings::getClientConnectMode ( )

Definition at line 386 of file TGo4QSettings.cpp.

References getInt().

◆ getClientControllerMode()

int TGo4QSettings::getClientControllerMode ( )

Definition at line 366 of file TGo4QSettings.cpp.

References getInt().

◆ getClientDefaultPass()

bool TGo4QSettings::getClientDefaultPass ( )

Definition at line 376 of file TGo4QSettings.cpp.

References getBool().

◆ getClientDir()

QString TGo4QSettings::getClientDir ( )

Definition at line 244 of file TGo4QSettings.cpp.

References getStr().

◆ getClientExec()

QString TGo4QSettings::getClientExec ( int mode = -1)

Definition at line 265 of file TGo4QSettings.cpp.

References getClientExeMode(), and getStr().

◆ getClientExeMode()

int TGo4QSettings::getClientExeMode ( )

Definition at line 254 of file TGo4QSettings.cpp.

References getInt().

Referenced by getClientExec(), and setClientExec().

◆ getClientIsServer()

int TGo4QSettings::getClientIsServer ( )

Definition at line 343 of file TGo4QSettings.cpp.

References getStr().

◆ getClientName()

QString TGo4QSettings::getClientName ( )

Definition at line 224 of file TGo4QSettings.cpp.

References getStr().

◆ getClientNode()

QString TGo4QSettings::getClientNode ( )

Definition at line 234 of file TGo4QSettings.cpp.

References getStr().

◆ getClientPort()

int TGo4QSettings::getClientPort ( )

Definition at line 356 of file TGo4QSettings.cpp.

References getInt().

◆ getClientShell()

QString TGo4QSettings::getClientShell ( )

Definition at line 293 of file TGo4QSettings.cpp.

References getStr().

Referenced by getClientShellMode().

◆ getClientShellMode()

int TGo4QSettings::getClientShellMode ( )

Definition at line 298 of file TGo4QSettings.cpp.

References getClientShell().

◆ getClientTerm()

QString TGo4QSettings::getClientTerm ( )

Definition at line 320 of file TGo4QSettings.cpp.

References getStr().

Referenced by getClientTermMode().

◆ getClientTermMode()

int TGo4QSettings::getClientTermMode ( )

Definition at line 325 of file TGo4QSettings.cpp.

References getClientTerm().

◆ getCloneFlag()

bool TGo4QSettings::getCloneFlag ( )

Definition at line 516 of file TGo4QSettings.cpp.

References getBool().

◆ getCommandsHistoryAnalysis()

QStringList TGo4QSettings::getCommandsHistoryAnalysis ( )

implement history for analysis command line

Definition at line 1007 of file TGo4QSettings.cpp.

References sett.

◆ getCommandsHistoryGUI()

QStringList TGo4QSettings::getCommandsHistoryGUI ( )

implement history for gui command line

Definition at line 997 of file TGo4QSettings.cpp.

References sett.

◆ getDabcMonitorBackwardsTrending()

bool TGo4QSettings::getDabcMonitorBackwardsTrending ( )

Definition at line 992 of file TGo4QSettings.cpp.

References getBool().

◆ getDabcMonitorBins()

int TGo4QSettings::getDabcMonitorBins ( )

Definition at line 982 of file TGo4QSettings.cpp.

References getInt().

◆ getDabcMonitorFreq()

int TGo4QSettings::getDabcMonitorFreq ( )

Definition at line 972 of file TGo4QSettings.cpp.

References getInt().

◆ getDabcMonitorNode()

QString TGo4QSettings::getDabcMonitorNode ( )

Definition at line 962 of file TGo4QSettings.cpp.

References getStr().

◆ getDouble()

double TGo4QSettings::getDouble ( const QString & name,
double value = 0. )

Definition at line 110 of file TGo4QSettings.cpp.

References sett.

Referenced by getHistAxisPars(), and getScreenScaleFactor().

◆ getDrawDateFlag()

bool TGo4QSettings::getDrawDateFlag ( )

Definition at line 546 of file TGo4QSettings.cpp.

References getBool().

◆ getDrawFillColor()

int TGo4QSettings::getDrawFillColor ( )

Definition at line 576 of file TGo4QSettings.cpp.

References getInt().

◆ getDrawFillStyle()

int TGo4QSettings::getDrawFillStyle ( )

Definition at line 586 of file TGo4QSettings.cpp.

References getInt().

◆ getDrawItemFlag()

bool TGo4QSettings::getDrawItemFlag ( )

Definition at line 556 of file TGo4QSettings.cpp.

References getBool().

◆ getDrawLineWidth()

int TGo4QSettings::getDrawLineWidth ( )

Definition at line 566 of file TGo4QSettings.cpp.

References getInt().

◆ getDrawOnceFlag()

bool TGo4QSettings::getDrawOnceFlag ( )

Definition at line 526 of file TGo4QSettings.cpp.

References getBool().

◆ getDrawTimeFlag()

bool TGo4QSettings::getDrawTimeFlag ( )

Definition at line 536 of file TGo4QSettings.cpp.

References getBool().

◆ getFetchDataWhenCopy()

bool TGo4QSettings::getFetchDataWhenCopy ( )

Definition at line 810 of file TGo4QSettings.cpp.

References getBool().

◆ getFetchDataWhenDraw()

bool TGo4QSettings::getFetchDataWhenDraw ( )

Definition at line 800 of file TGo4QSettings.cpp.

References getBool().

◆ getFetchDataWhenSave()

bool TGo4QSettings::getFetchDataWhenSave ( )

Definition at line 820 of file TGo4QSettings.cpp.

References getBool().

◆ getGStyleStatFormat()

QString TGo4QSettings::getGStyleStatFormat ( )

Definition at line 636 of file TGo4QSettings.cpp.

References getStr().

◆ getHideTGo4EventElement()

bool TGo4QSettings::getHideTGo4EventElement ( )

Definition at line 830 of file TGo4QSettings.cpp.

References getBool().

◆ getHistAxisPars()

void TGo4QSettings::getHistAxisPars ( int naxis,
int & npoints,
double & min,
double & max )

Definition at line 781 of file TGo4QSettings.cpp.

References getDouble(), and getInt().

◆ getHistName()

QString TGo4QSettings::getHistName ( )

Definition at line 742 of file TGo4QSettings.cpp.

References getStr().

◆ getHistTitle()

QString TGo4QSettings::getHistTitle ( )

Definition at line 752 of file TGo4QSettings.cpp.

References getStr().

◆ getHistType()

int TGo4QSettings::getHistType ( )

Definition at line 762 of file TGo4QSettings.cpp.

References getInt().

◆ getHServBase()

QString TGo4QSettings::getHServBase ( )

Definition at line 426 of file TGo4QSettings.cpp.

References getStr().

◆ getHServFilter()

QString TGo4QSettings::getHServFilter ( )

Definition at line 436 of file TGo4QSettings.cpp.

References getStr().

◆ getHServName()

QString TGo4QSettings::getHServName ( )

Definition at line 416 of file TGo4QSettings.cpp.

References getStr().

◆ getHServPort()

int TGo4QSettings::getHServPort ( )

Definition at line 446 of file TGo4QSettings.cpp.

References getInt().

◆ getInt()

◆ getMbsMonitorBackwardsTrending()

bool TGo4QSettings::getMbsMonitorBackwardsTrending ( )

Definition at line 952 of file TGo4QSettings.cpp.

References getBool().

◆ getMbsMonitorBins()

int TGo4QSettings::getMbsMonitorBins ( )

Definition at line 912 of file TGo4QSettings.cpp.

References getInt().

◆ getMbsMonitorFreq()

int TGo4QSettings::getMbsMonitorFreq ( )

Definition at line 902 of file TGo4QSettings.cpp.

References getInt().

◆ getMbsMonitorMonitorActive()

bool TGo4QSettings::getMbsMonitorMonitorActive ( )

Definition at line 942 of file TGo4QSettings.cpp.

References getBool().

◆ getMbsMonitorMore()

bool TGo4QSettings::getMbsMonitorMore ( )

Definition at line 932 of file TGo4QSettings.cpp.

References getBool().

◆ getMbsMonitorNode()

QString TGo4QSettings::getMbsMonitorNode ( )

Definition at line 892 of file TGo4QSettings.cpp.

References getStr().

◆ getMbsMonitorTrend()

bool TGo4QSettings::getMbsMonitorTrend ( )

Definition at line 922 of file TGo4QSettings.cpp.

References getBool().

◆ getMoveSubwindowRubberBand()

bool TGo4QSettings::getMoveSubwindowRubberBand ( )

Definition at line 840 of file TGo4QSettings.cpp.

References getBool().

◆ getNativeMenuBar()

bool TGo4QSettings::getNativeMenuBar ( )

Definition at line 850 of file TGo4QSettings.cpp.

References getBool().

◆ getOptStat()

int TGo4QSettings::getOptStat ( )

Definition at line 692 of file TGo4QSettings.cpp.

References getInt().

◆ getOptStatH()

int TGo4QSettings::getOptStatH ( )

Definition at line 712 of file TGo4QSettings.cpp.

References getInt().

◆ getOptStatW()

int TGo4QSettings::getOptStatW ( )

Definition at line 702 of file TGo4QSettings.cpp.

References getInt().

◆ getPadCrosshair()

bool TGo4QSettings::getPadCrosshair ( )

Definition at line 456 of file TGo4QSettings.cpp.

References getBool().

◆ getPadEventStatus()

bool TGo4QSettings::getPadEventStatus ( )

Definition at line 476 of file TGo4QSettings.cpp.

References getBool().

◆ getPadSuperimpose()

bool TGo4QSettings::getPadSuperimpose ( )

Definition at line 466 of file TGo4QSettings.cpp.

References getBool().

◆ getPaletteOpt()

void TGo4QSettings::getPaletteOpt ( int & min,
int & def,
int & max )

Definition at line 503 of file TGo4QSettings.cpp.

References getInt().

◆ getPrinterSett()

void TGo4QSettings::getPrinterSett ( QString & name,
QString & cmd )

Definition at line 881 of file TGo4QSettings.cpp.

References getStr().

◆ getRemoteFileSett()

void TGo4QSettings::getRemoteFileSett ( QString & hostname,
QString & filename,
QString & protocol )

Definition at line 868 of file TGo4QSettings.cpp.

References getStr().

◆ getSavePadWhiteBackground()

bool TGo4QSettings::getSavePadWhiteBackground ( )

switch to make pad and frame backgrounds white before saving/printing them

Definition at line 1065 of file TGo4QSettings.cpp.

References getBool().

◆ getScreenScaleFactor()

double TGo4QSettings::getScreenScaleFactor ( )

for Qt>5.6: factor to scale up whole gui on high dpi screens

Definition at line 1056 of file TGo4QSettings.cpp.

References getDouble().

◆ GetSettLoaction()

QString TGo4QSettings::GetSettLoaction ( )

Definition at line 50 of file TGo4QSettings.cpp.

References fSettFileName.

◆ getStatBoxErrors()

bool TGo4QSettings::getStatBoxErrors ( )

Definition at line 732 of file TGo4QSettings.cpp.

References getBool().

◆ getStatBoxVisible()

bool TGo4QSettings::getStatBoxVisible ( )

Definition at line 722 of file TGo4QSettings.cpp.

References getBool().

◆ getStr()

◆ getTermFont()

QFont TGo4QSettings::getTermFont ( )

Definition at line 201 of file TGo4QSettings.cpp.

References getStr().

◆ getTermHistorySize()

int TGo4QSettings::getTermHistorySize ( )

Definition at line 406 of file TGo4QSettings.cpp.

References getInt().

◆ getTermShowTimestamp()

bool TGo4QSettings::getTermShowTimestamp ( )

Definition at line 1076 of file TGo4QSettings.cpp.

References getBool().

◆ getTermTimeFormat()

QString TGo4QSettings::getTermTimeFormat ( )

Definition at line 1086 of file TGo4QSettings.cpp.

References getStr().

◆ getTGraphDrawOpt()

QString TGo4QSettings::getTGraphDrawOpt ( )

Definition at line 626 of file TGo4QSettings.cpp.

References getStr().

◆ getTH1DrawOpt()

QString TGo4QSettings::getTH1DrawOpt ( )

Definition at line 596 of file TGo4QSettings.cpp.

References getStr().

◆ getTH2DrawOpt()

QString TGo4QSettings::getTH2DrawOpt ( )

Definition at line 606 of file TGo4QSettings.cpp.

References getStr().

◆ getTH3DrawOpt()

QString TGo4QSettings::getTH3DrawOpt ( )

Definition at line 616 of file TGo4QSettings.cpp.

References getStr().

◆ getWebBasedCanvas()

bool TGo4QSettings::getWebBasedCanvas ( )
inline

Definition at line 237 of file TGo4QSettings.h.

References fUseWeb.

◆ lastPanelSize()

QSize TGo4QSettings::lastPanelSize ( const QString & kind = "ViewPanel",
int dfltwidth = 450,
int dfltheight = 250 )

Definition at line 662 of file TGo4QSettings.cpp.

References getInt(), and TGo4MdiArea::Instance().

◆ Open()

void TGo4QSettings::Open ( )
private

Read settings from the file/registry.

Definition at line 60 of file TGo4QSettings.cpp.

References fSettFileName, and sett.

Referenced by TGo4QSettings(), and Store().

◆ restoreMainWindowState()

void TGo4QSettings::restoreMainWindowState ( QMainWindow * tgt)

main window state/geometry

Definition at line 641 of file TGo4QSettings.cpp.

References MainWindowDefaultGeometry, MainWindowDefaultState, and sett.

◆ setAnalysisMacroAutomode()

void TGo4QSettings::setAnalysisMacroAutomode ( int id,
bool on )

Definition at line 1037 of file TGo4QSettings.cpp.

References setBool().

◆ setAnalysisMacroCommand()

void TGo4QSettings::setAnalysisMacroCommand ( int id,
const QString & com )

Definition at line 1044 of file TGo4QSettings.cpp.

References setStr().

◆ setAnalysisMacroTip()

void TGo4QSettings::setAnalysisMacroTip ( int id,
const QString & com )

Definition at line 1050 of file TGo4QSettings.cpp.

References setStr().

◆ setAppFont()

void TGo4QSettings::setAppFont ( const QFont & font)

Definition at line 184 of file TGo4QSettings.cpp.

References setStr().

◆ setAppStyle()

void TGo4QSettings::setAppStyle ( const QString & v)

Definition at line 209 of file TGo4QSettings.cpp.

References setStr().

◆ setBasicSettings()

void TGo4QSettings::setBasicSettings ( )

◆ setBool()

◆ setBrowserColumn()

void TGo4QSettings::setBrowserColumn ( const char * name,
int width )

Definition at line 676 of file TGo4QSettings.cpp.

References setInt().

◆ setCanvasColor()

void TGo4QSettings::setCanvasColor ( int red,
int green,
int blue )

Definition at line 481 of file TGo4QSettings.cpp.

References setInt().

◆ setClientAccountName()

void TGo4QSettings::setClientAccountName ( const QString & v)

Definition at line 396 of file TGo4QSettings.cpp.

References setStr().

◆ setClientArgs()

void TGo4QSettings::setClientArgs ( const QString & v)

Definition at line 271 of file TGo4QSettings.cpp.

References setStr().

◆ setClientConnectMode()

void TGo4QSettings::setClientConnectMode ( int mode)

Definition at line 381 of file TGo4QSettings.cpp.

References setInt().

◆ setClientControllerMode()

void TGo4QSettings::setClientControllerMode ( int mode)

Definition at line 361 of file TGo4QSettings.cpp.

References setInt().

◆ setClientDefaultPass()

void TGo4QSettings::setClientDefaultPass ( bool on)

Definition at line 371 of file TGo4QSettings.cpp.

References setBool().

◆ setClientDir()

void TGo4QSettings::setClientDir ( const QString & v)

Definition at line 239 of file TGo4QSettings.cpp.

References setStr().

◆ setClientExec()

void TGo4QSettings::setClientExec ( const QString & v)

Definition at line 259 of file TGo4QSettings.cpp.

References getClientExeMode(), and setStr().

◆ setClientExeMode()

void TGo4QSettings::setClientExeMode ( int mode)

Definition at line 249 of file TGo4QSettings.cpp.

References setInt().

◆ setClientIsServer()

void TGo4QSettings::setClientIsServer ( int kind)

Definition at line 335 of file TGo4QSettings.cpp.

References setStr().

◆ setClientName()

void TGo4QSettings::setClientName ( const QString & v)

Definition at line 219 of file TGo4QSettings.cpp.

References setStr().

◆ setClientNode()

void TGo4QSettings::setClientNode ( const QString & v)

Definition at line 229 of file TGo4QSettings.cpp.

References setStr().

◆ setClientPort()

void TGo4QSettings::setClientPort ( int nport)

Definition at line 351 of file TGo4QSettings.cpp.

References setInt().

◆ setClientShellMode()

void TGo4QSettings::setClientShellMode ( int v)

Definition at line 281 of file TGo4QSettings.cpp.

References setStr().

◆ setClientTermMode()

void TGo4QSettings::setClientTermMode ( int v)

Definition at line 309 of file TGo4QSettings.cpp.

References setStr().

◆ setCloneFlag()

void TGo4QSettings::setCloneFlag ( bool on = true)

Definition at line 511 of file TGo4QSettings.cpp.

References setBool().

◆ setCommandsHistoryAnalysis()

void TGo4QSettings::setCommandsHistoryAnalysis ( const QStringList & commands)

Definition at line 1012 of file TGo4QSettings.cpp.

References sett.

◆ setCommandsHistoryGUI()

void TGo4QSettings::setCommandsHistoryGUI ( const QStringList & commands)

Definition at line 1002 of file TGo4QSettings.cpp.

References sett.

◆ setDabcMonitorBackwardsTrending()

void TGo4QSettings::setDabcMonitorBackwardsTrending ( bool on = true)

Definition at line 987 of file TGo4QSettings.cpp.

References setBool().

◆ setDabcMonitorBins()

void TGo4QSettings::setDabcMonitorBins ( int num)

Definition at line 977 of file TGo4QSettings.cpp.

References setInt().

◆ setDabcMonitorFreq()

void TGo4QSettings::setDabcMonitorFreq ( int secs)

Definition at line 967 of file TGo4QSettings.cpp.

References setInt().

◆ setDabcMonitorNode()

void TGo4QSettings::setDabcMonitorNode ( const QString & name)

some things for the DABC monitor dockwindow:

Definition at line 957 of file TGo4QSettings.cpp.

References setStr().

◆ setDouble()

void TGo4QSettings::setDouble ( const QString & name,
double value = 0. )

Definition at line 105 of file TGo4QSettings.cpp.

References sett.

Referenced by setHistAxisPars(), and setScreenScaleFactor().

◆ setDrawDateFlag()

void TGo4QSettings::setDrawDateFlag ( bool on = true)

Definition at line 541 of file TGo4QSettings.cpp.

References setBool().

◆ setDrawFillColor()

void TGo4QSettings::setDrawFillColor ( int col)

Definition at line 571 of file TGo4QSettings.cpp.

References setInt().

◆ setDrawFillStyle()

void TGo4QSettings::setDrawFillStyle ( int style)

Definition at line 581 of file TGo4QSettings.cpp.

References setInt().

◆ setDrawItemFlag()

void TGo4QSettings::setDrawItemFlag ( bool on = true)

Definition at line 551 of file TGo4QSettings.cpp.

References setBool().

◆ setDrawLineWidth()

void TGo4QSettings::setDrawLineWidth ( int w = 1)

Definition at line 561 of file TGo4QSettings.cpp.

References setInt().

◆ setDrawOnceFlag()

void TGo4QSettings::setDrawOnceFlag ( bool on = true)

Definition at line 521 of file TGo4QSettings.cpp.

References setBool().

◆ setDrawTimeFlag()

void TGo4QSettings::setDrawTimeFlag ( bool on = true)

Definition at line 531 of file TGo4QSettings.cpp.

References setBool().

◆ setFetchDataWhenCopy()

void TGo4QSettings::setFetchDataWhenCopy ( bool on = true)

Definition at line 805 of file TGo4QSettings.cpp.

References setBool().

◆ setFetchDataWhenDraw()

void TGo4QSettings::setFetchDataWhenDraw ( bool on = true)

Definition at line 795 of file TGo4QSettings.cpp.

References setBool().

◆ setFetchDataWhenSave()

void TGo4QSettings::setFetchDataWhenSave ( bool on = true)

Definition at line 815 of file TGo4QSettings.cpp.

References setBool().

◆ setGStyleStatFormat()

void TGo4QSettings::setGStyleStatFormat ( const QString & v)

Definition at line 631 of file TGo4QSettings.cpp.

References setStr().

◆ setHideTGo4EventElement()

void TGo4QSettings::setHideTGo4EventElement ( bool on = true)

Definition at line 825 of file TGo4QSettings.cpp.

References setBool().

◆ setHistAxisPars()

void TGo4QSettings::setHistAxisPars ( int naxis,
int npoints,
double min,
double max )

Definition at line 767 of file TGo4QSettings.cpp.

References setDouble(), and setInt().

◆ setHistName()

void TGo4QSettings::setHistName ( const QString & value)

Definition at line 737 of file TGo4QSettings.cpp.

References setStr().

◆ setHistTitle()

void TGo4QSettings::setHistTitle ( const QString & value)

Definition at line 747 of file TGo4QSettings.cpp.

References setStr().

◆ setHistType()

void TGo4QSettings::setHistType ( int value)

Definition at line 757 of file TGo4QSettings.cpp.

References setInt().

◆ setHServBase()

void TGo4QSettings::setHServBase ( const QString & v)

Definition at line 421 of file TGo4QSettings.cpp.

References setStr().

◆ setHServFilter()

void TGo4QSettings::setHServFilter ( const QString & v)

Definition at line 431 of file TGo4QSettings.cpp.

References setStr().

◆ setHServName()

void TGo4QSettings::setHServName ( const QString & v)

Definition at line 411 of file TGo4QSettings.cpp.

References setStr().

◆ setHServPort()

void TGo4QSettings::setHServPort ( int port)

Definition at line 441 of file TGo4QSettings.cpp.

References setInt().

◆ setInt()

◆ setMbsMonitorBackwardsTrending()

void TGo4QSettings::setMbsMonitorBackwardsTrending ( bool on = true)

Definition at line 947 of file TGo4QSettings.cpp.

References setBool().

◆ setMbsMonitorBins()

void TGo4QSettings::setMbsMonitorBins ( int num)

Definition at line 907 of file TGo4QSettings.cpp.

References setInt().

◆ setMbsMonitorFreq()

void TGo4QSettings::setMbsMonitorFreq ( int secs)

Definition at line 897 of file TGo4QSettings.cpp.

References setInt().

◆ setMbsMonitorMonitorActive()

void TGo4QSettings::setMbsMonitorMonitorActive ( bool on = true)

Definition at line 937 of file TGo4QSettings.cpp.

References setBool().

◆ setMbsMonitorMore()

void TGo4QSettings::setMbsMonitorMore ( bool on = true)

Definition at line 927 of file TGo4QSettings.cpp.

References setBool().

◆ setMbsMonitorNode()

void TGo4QSettings::setMbsMonitorNode ( const QString & name)

some things for the mbs monitor dockwindow:

Definition at line 887 of file TGo4QSettings.cpp.

References setStr().

◆ setMbsMonitorTrend()

void TGo4QSettings::setMbsMonitorTrend ( bool on = true)

Definition at line 917 of file TGo4QSettings.cpp.

References setBool().

◆ setMoveSubwindowRubberBand()

void TGo4QSettings::setMoveSubwindowRubberBand ( bool on = true)

Definition at line 835 of file TGo4QSettings.cpp.

References setBool().

◆ setNativeMenuBar()

void TGo4QSettings::setNativeMenuBar ( bool on = true)

Definition at line 845 of file TGo4QSettings.cpp.

References setBool().

◆ setOptStat()

void TGo4QSettings::setOptStat ( int value)

Definition at line 687 of file TGo4QSettings.cpp.

References setInt().

◆ setOptStatH()

void TGo4QSettings::setOptStatH ( int value)

Definition at line 707 of file TGo4QSettings.cpp.

References setInt().

◆ setOptStatW()

void TGo4QSettings::setOptStatW ( int value)

Definition at line 697 of file TGo4QSettings.cpp.

References setInt().

◆ setPadCrosshair()

void TGo4QSettings::setPadCrosshair ( bool on)

Definition at line 451 of file TGo4QSettings.cpp.

References setBool().

◆ setPadEventStatus()

void TGo4QSettings::setPadEventStatus ( bool on)

Definition at line 471 of file TGo4QSettings.cpp.

References setBool().

◆ setPadSuperimpose()

void TGo4QSettings::setPadSuperimpose ( bool on)

Definition at line 461 of file TGo4QSettings.cpp.

References setBool().

◆ setPaletteOpt()

void TGo4QSettings::setPaletteOpt ( int min,
int def,
int max )

Definition at line 496 of file TGo4QSettings.cpp.

References setInt().

◆ setPrinterSett()

void TGo4QSettings::setPrinterSett ( const QString & name,
const QString & cmd )

Definition at line 875 of file TGo4QSettings.cpp.

References setStr().

◆ setRemoteFileSett()

void TGo4QSettings::setRemoteFileSett ( const QString & hostname,
const QString & filename,
const QString & protocol )

Definition at line 861 of file TGo4QSettings.cpp.

References setStr().

◆ setSavePadWhiteBackground()

void TGo4QSettings::setSavePadWhiteBackground ( bool on)

Definition at line 1070 of file TGo4QSettings.cpp.

References setBool().

◆ setScreenScaleFactor()

void TGo4QSettings::setScreenScaleFactor ( double factor)

Definition at line 1060 of file TGo4QSettings.cpp.

References setDouble().

◆ setStatBoxErrors()

void TGo4QSettings::setStatBoxErrors ( bool on = true)

Definition at line 727 of file TGo4QSettings.cpp.

References setBool().

◆ setStatBoxVisible()

void TGo4QSettings::setStatBoxVisible ( bool on = true)

Definition at line 717 of file TGo4QSettings.cpp.

References setBool().

◆ setStr()

◆ setTermFont()

void TGo4QSettings::setTermFont ( const QFont & font)

Definition at line 196 of file TGo4QSettings.cpp.

References setStr().

◆ setTermHistorySize()

void TGo4QSettings::setTermHistorySize ( int sz)

Definition at line 401 of file TGo4QSettings.cpp.

References setInt().

◆ setTermShowTimestamp()

void TGo4QSettings::setTermShowTimestamp ( bool on)

Definition at line 1081 of file TGo4QSettings.cpp.

References setBool().

◆ setTermTimeFormat()

void TGo4QSettings::setTermTimeFormat ( const QString & form)

Definition at line 1091 of file TGo4QSettings.cpp.

References setStr().

◆ setTGraphDrawOpt()

void TGo4QSettings::setTGraphDrawOpt ( const QString & value)

Definition at line 621 of file TGo4QSettings.cpp.

References setStr().

◆ setTH1DrawOpt()

void TGo4QSettings::setTH1DrawOpt ( const QString & value)

Definition at line 591 of file TGo4QSettings.cpp.

References setStr().

◆ setTH2DrawOpt()

void TGo4QSettings::setTH2DrawOpt ( const QString & value)

Definition at line 601 of file TGo4QSettings.cpp.

References setStr().

◆ setTH3DrawOpt()

void TGo4QSettings::setTH3DrawOpt ( const QString & value)

Definition at line 611 of file TGo4QSettings.cpp.

References setStr().

◆ setWebBasedCanvas()

void TGo4QSettings::setWebBasedCanvas ( bool on = true)
inline

Definition at line 236 of file TGo4QSettings.h.

References fUseWeb.

◆ Store()

void TGo4QSettings::Store ( )

Definition at line 68 of file TGo4QSettings.cpp.

References Open(), and sett.

◆ storeMainWindowState()

void TGo4QSettings::storeMainWindowState ( QMainWindow * src)

Definition at line 647 of file TGo4QSettings.cpp.

References sett.

◆ storePanelSize()

void TGo4QSettings::storePanelSize ( QWidget * w,
const QString & kind = "ViewPanel" )

Definition at line 656 of file TGo4QSettings.cpp.

References setInt().

Field Documentation

◆ fSettFileName

QString TGo4QSettings::fSettFileName
private

This is the name of the file with settings, if empty - default qt location will be used.

Definition at line 41 of file TGo4QSettings.h.

Referenced by TGo4QSettings(), GetSettLoaction(), and Open().

◆ fUseWeb

bool TGo4QSettings::fUseWeb {false}
private

Definition at line 43 of file TGo4QSettings.h.

Referenced by TGo4QSettings(), getWebBasedCanvas(), and setWebBasedCanvas().

◆ sett


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