14 #ifndef TGO4QSETTINGS_H
15 #define TGO4QSETTINGS_H
22 #include <QtCore/QString>
23 #include <QtCore/QStringList>
57 void setBool(
const QString& name,
bool value =
true);
58 bool getBool(
const QString& name,
bool def =
true);
59 void setInt(
const QString& name,
int value = 0);
60 int getInt(
const QString& name,
int def = 0);
61 void setStr(
const QString& name,
const QString& value =
"");
62 QString
getStr(
const QString& name,
const QString& value =
"");
63 void setDouble(
const QString& name,
double value = 0.);
64 double getDouble(
const QString& name,
double value = 0.);
201 void storePanelSize(QWidget* w,
const QString& kind =
"ViewPanel");
202 QSize
lastPanelSize(
const QString& kind =
"ViewPanel",
int dfltwidth = 450,
int dfltheight = 250);
217 void getHistAxisPars(
int naxis,
int& npoints,
double& min,
double& max);
235 void setRemoteFileSett(
const QString& hostname,
const QString& filename,
const QString& protocol);
304 #endif // TGO4ANALYSISWINDOW_H
void setClientControllerMode(int)
void setDrawDateFlag(bool on=true)
QString GetSettLoaction()
void setScreenScaleFactor(double factor)
bool getSavePadWhiteBackground()
void setDabcMonitorNode(const QString &name)
void setDouble(const QString &name, double value=0.)
QString getTGraphDrawOpt()
void getRemoteFileSett(QString &hostname, QString &filename, QString &protocol)
void setPrinterSett(const QString &name, const QString &cmd)
QString getClientAccountName()
void setClientExeMode(int mode)
QStringList getCommandsHistoryAnalysis()
void storeMainWindowState(QMainWindow *src)
void setCommandsHistoryAnalysis(const QStringList &commands)
void setStatBoxErrors(bool on=true)
void setClientArgs(const QString &)
void setTH1DrawOpt(const QString &value)
void setHideTGo4EventElement(bool on=true)
double getScreenScaleFactor()
void setMbsMonitorMonitorActive(bool on=true)
void setMbsMonitorTrend(bool on=true)
void setClientAccountName(const QString &)
void setAnalysisMacroTip(int id, const QString &com)
void setClientDir(const QString &)
void setFetchDataWhenCopy(bool on=true)
TGo4QSettings(const QString &filename)
void getCanvasColor(int &red, int &green, int &blue)
void setHistType(int value)
void setPadEventStatus(bool on)
bool getFetchDataWhenCopy()
QString getTermTimeFormat()
void setDrawFillColor(int col)
void setPaletteOpt(int min, int def, int max)
void storePanelSize(QWidget *w, const QString &kind="ViewPanel")
void setHServFilter(const QString &)
void setOptStat(int value)
QString getClientExec(int mode=-1)
void setStr(const QString &name, const QString &value="")
void setDabcMonitorFreq(int secs)
void setClientName(const QString &)
void setTH3DrawOpt(const QString &value)
void setClientTermMode(int)
void setDabcMonitorBins(int num)
QString getStr(const QString &name, const QString &value="")
void setDabcMonitorBackwardsTrending(bool on=true)
void setSavePadWhiteBackground(bool on)
int getClientControllerMode()
void setClientShellMode(int)
void setTermHistorySize(int sz)
bool getBool(const QString &name, bool def=true)
void getHistAxisPars(int naxis, int &npoints, double &min, double &max)
void setBool(const QString &name, bool value=true)
void setFetchDataWhenDraw(bool on=true)
void setCloneFlag(bool on=true)
void setClientIsServer(int kind)
void setPadCrosshair(bool on)
bool getAnalysisMacroAutomode(int id)
void setBrowserColumn(const char *name, int width)
bool getMbsMonitorMonitorActive()
void setHServPort(int port)
bool getTermShowTimestamp()
void setHistAxisPars(int naxis, int npoints, double min, double max)
double getDouble(const QString &name, double value=0.)
void setTermFont(const QFont &)
int getInt(const QString &name, int def=0)
void setAppStyle(const QString &)
void setDrawLineWidth(int w=1)
void setHistName(const QString &value)
bool getMbsMonitorTrend()
int getClientConnectMode()
QString getAnalysisMacroCommand(int id)
void setMbsMonitorNode(const QString &name)
void setDrawOnceFlag(bool on=true)
void setAnalysisMacroCommand(int id, const QString &com)
QString getDabcMonitorNode()
bool getFetchDataWhenSave()
void setAnalysisMacroAutomode(int id, bool on)
void setHistTitle(const QString &value)
void setFetchDataWhenSave(bool on=true)
void setRemoteFileSett(const QString &hostname, const QString &filename, const QString &protocol)
void restoreMainWindowState(QMainWindow *tgt)
bool getFetchDataWhenDraw()
void setMoveSubwindowRubberBand(bool on=true)
bool getMbsMonitorBackwardsTrending()
void setClientExec(const QString &)
QString getMbsMonitorNode()
void setDrawTimeFlag(bool on=true)
QSize lastPanelSize(const QString &kind="ViewPanel", int dfltwidth=450, int dfltheight=250)
void getPrinterSett(QString &name, QString &cmd)
void setTH2DrawOpt(const QString &value)
void setHServName(const QString &)
QStringList getCommandsHistoryGUI()
bool getClientDefaultPass()
void setClientNode(const QString &)
void getPaletteOpt(int &min, int &def, int &max)
void setTermShowTimestamp(bool on)
void setDrawFillStyle(int style)
void setDrawItemFlag(bool on=true)
void setCanvasColor(int red, int green, int blue)
bool getMoveSubwindowRubberBand()
int getBrowserColumn(const char *name, int defwidth)
void setMbsMonitorBins(int num)
QString getGStyleStatFormat()
void setMbsMonitorBackwardsTrending(bool on=true)
void setInt(const QString &name, int value=0)
void setClientConnectMode(int)
void setOptStatW(int value)
QString getAnalysisMacroTip(int id)
bool getHideTGo4EventElement()
void setHServBase(const QString &)
void setOptStatH(int value)
void setGStyleStatFormat(const QString &)
void setClientDefaultPass(bool)
void setMbsMonitorFreq(int secs)
void setTermTimeFormat(const QString &form)
void setMbsMonitorMore(bool on=true)
void setAppFont(const QFont &)
void setCommandsHistoryGUI(const QStringList &commands)
void setPadSuperimpose(bool on)
void setStatBoxVisible(bool on=true)
void setTGraphDrawOpt(const QString &value)
bool getDabcMonitorBackwardsTrending()