GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4QSettings.h>
Public Member Functions | |
TGo4QSettings (const QString &filename) | |
virtual | ~TGo4QSettings () |
QString | GetSettLoaction () |
void | Store () |
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 | setDouble (const QString &name, double value=0.) |
double | getDouble (const QString &name, double value=0.) |
void | setBasicSettings () |
void | getBasicSettings () |
void | setAppFont (const QFont &) |
void | getAppFont () |
void | setTermFont (const QFont &) |
QFont | getTermFont () |
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 | setClientExeMode (int mode) |
int | getClientExeMode () |
void | setClientExec (const QString &) |
QString | getClientExec (int mode=-1) |
void | setClientArgs (const QString &) |
QString | getClientArgs () |
void | setClientShellMode (int) |
QString | getClientShell () |
int | getClientShellMode () |
void | setClientTermMode (int) |
int | getClientTermMode () |
QString | getClientTerm () |
void | setClientIsServer (int kind) |
int | getClientIsServer () |
void | setClientPort (int) |
int | getClientPort () |
void | setClientControllerMode (int) |
int | getClientControllerMode () |
void | setClientDefaultPass (bool) |
bool | getClientDefaultPass () |
void | setClientConnectMode (int) |
int | getClientConnectMode () |
QString | getClientAccountName () |
void | setClientAccountName (const QString &) |
void | setTermHistorySize (int sz) |
int | getTermHistorySize () |
bool | getTermShowTimestamp () |
void | setTermShowTimestamp (bool on) |
QString | getTermTimeFormat () |
void | setTermTimeFormat (const QString &form) |
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 | setPadSuperimpose (bool on) |
bool | getPadSuperimpose () |
void | setPadEventStatus (bool on) |
bool | getPadEventStatus () |
void | setCanvasColor (int red, int green, int blue) |
void | getCanvasColor (int &red, int &green, int &blue) |
void | setPaletteOpt (int min, int def, int max) |
void | getPaletteOpt (int &min, int &def, int &max) |
void | setOptStat (int value) |
int | getOptStat () |
void | setOptStatW (int value) |
int | getOptStatW () |
void | setOptStatH (int value) |
int | getOptStatH () |
void | setStatBoxVisible (bool on=true) |
bool | getStatBoxVisible () |
void | setStatBoxErrors (bool on=true) |
bool | getStatBoxErrors () |
void | setCloneFlag (bool on=true) |
bool | getCloneFlag () |
void | setDrawOnceFlag (bool on=true) |
bool | getDrawOnceFlag () |
void | setDrawTimeFlag (bool on=true) |
bool | getDrawTimeFlag () |
void | setDrawDateFlag (bool on=true) |
bool | getDrawDateFlag () |
void | setDrawItemFlag (bool on=true) |
bool | getDrawItemFlag () |
void | setDrawLineWidth (int w=1) |
int | getDrawLineWidth () |
void | setDrawFillColor (int col) |
int | getDrawFillColor () |
void | setDrawFillStyle (int style) |
int | getDrawFillStyle () |
void | setTH1DrawOpt (const QString &value) |
QString | getTH1DrawOpt () |
void | setTH2DrawOpt (const QString &value) |
QString | getTH2DrawOpt () |
void | setTH3DrawOpt (const QString &value) |
QString | getTH3DrawOpt () |
void | setTGraphDrawOpt (const QString &value) |
QString | getTGraphDrawOpt () |
void | setGStyleStatFormat (const QString &) |
QString | getGStyleStatFormat () |
void | storePanelSize (QWidget *w, const QString &kind="ViewPanel") |
QSize | lastPanelSize (const QString &kind="ViewPanel", int dfltwidth=450, int dfltheight=250) |
void | setBrowserColumn (const char *name, int width) |
int | getBrowserColumn (const char *name, int defwidth) |
void | setHistName (const QString &value) |
QString | getHistName () |
void | setHistTitle (const QString &value) |
QString | getHistTitle () |
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 | setHideTGo4EventElement (bool on=true) |
bool | getHideTGo4EventElement () |
void | setMoveSubwindowRubberBand (bool on=true) |
bool | getMoveSubwindowRubberBand () |
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) |
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) |
QString | getDabcMonitorNode () |
void | setDabcMonitorFreq (int secs) |
int | getDabcMonitorFreq () |
void | setDabcMonitorBins (int num) |
int | getDabcMonitorBins () |
void | setDabcMonitorBackwardsTrending (bool on=true) |
bool | getDabcMonitorBackwardsTrending () |
QStringList | getCommandsHistoryGUI () |
void | setCommandsHistoryGUI (const QStringList &commands) |
QStringList | getCommandsHistoryAnalysis () |
void | setCommandsHistoryAnalysis (const QStringList &commands) |
void | restoreMainWindowState (QMainWindow *tgt) |
void | storeMainWindowState (QMainWindow *src) |
QString | getAnalysisMacroCommand (int id) |
QString | getAnalysisMacroTip (int id) |
bool | getAnalysisMacroAutomode (int id) |
void | setAnalysisMacroCommand (int id, const QString &com) |
void | setAnalysisMacroTip (int id, const QString &com) |
void | setAnalysisMacroAutomode (int id, bool on) |
double | getScreenScaleFactor () |
void | setScreenScaleFactor (double factor) |
bool | getSavePadWhiteBackground () |
void | setSavePadWhiteBackground (bool on) |
Private Member Functions | |
void | Open () |
Private Attributes | |
QSettings * | sett |
QString | fSettFileName |
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.
TGo4QSettings::TGo4QSettings | ( | const QString & | filename | ) |
Definition at line 40 of file TGo4QSettings.cpp.
References fSettFileName, and Open().
|
virtual |
Definition at line 47 of file TGo4QSettings.cpp.
bool TGo4QSettings::getAnalysisMacroAutomode | ( | int | id | ) |
Definition at line 1021 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4UserCommands::TGo4UserCommands(), and TGo4UserCommandsDialog::TGo4UserCommandsDialog().
QString TGo4QSettings::getAnalysisMacroCommand | ( | int | id | ) |
for predefined macro buttons in main gui:
Definition at line 1007 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4UserCommands::TGo4UserCommands(), and TGo4UserCommandsDialog::TGo4UserCommandsDialog().
QString TGo4QSettings::getAnalysisMacroTip | ( | int | id | ) |
Definition at line 1014 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4UserCommands::TGo4UserCommands(), and TGo4UserCommandsDialog::TGo4UserCommandsDialog().
void TGo4QSettings::getAppFont | ( | ) |
Definition at line 184 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::TGo4MainWindow().
QString TGo4QSettings::getAppStyle | ( | ) |
Definition at line 209 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4MainWindow::TGo4MainWindow().
void TGo4QSettings::getBasicSettings | ( | ) |
Definition at line 147 of file TGo4QSettings.cpp.
References TGo4Condition::fgbCMAXDRAW, TGo4Marker::fgbCONTDRAW, TGo4Marker::fgbHASCONNECTOR, TGo4Marker::fgbHASLABEL, TGo4Condition::fgbINTDRAW, TGo4Condition::fgbLABELDRAW, TGo4Condition::fgbLIMITSDRAW, TGo4Marker::fgbXBINDRAW, TGo4Marker::fgbXDRAW, TGo4Condition::fgbXMAXDRAW, TGo4Condition::fgbXMEANDRAW, TGo4Condition::fgbXRMSDRAW, TGo4Marker::fgbYBINDRAW, TGo4Marker::fgbYDRAW, TGo4Condition::fgbYMAXDRAW, TGo4Condition::fgbYMEANDRAW, TGo4Condition::fgbYRMSDRAW, TGo4Marker::fgxNUMFORMAT, TGo4Condition::fgxNUMFORMAT, getBool(), and getStr().
Referenced by TGo4MainWindow::TGo4MainWindow().
bool TGo4QSettings::getBool | ( | const QString & | name, |
bool | def = true |
||
) |
Definition at line 83 of file TGo4QSettings.cpp.
References sett.
Referenced by getAnalysisMacroAutomode(), getBasicSettings(), getClientDefaultPass(), getCloneFlag(), getDabcMonitorBackwardsTrending(), getDrawDateFlag(), getDrawItemFlag(), getDrawOnceFlag(), getDrawTimeFlag(), getFetchDataWhenCopy(), getFetchDataWhenDraw(), getFetchDataWhenSave(), getHideTGo4EventElement(), getMbsMonitorBackwardsTrending(), getMbsMonitorMonitorActive(), getMbsMonitorMore(), getMbsMonitorTrend(), getMoveSubwindowRubberBand(), getPadCrosshair(), getPadEventStatus(), getPadSuperimpose(), getSavePadWhiteBackground(), getStatBoxErrors(), getStatBoxVisible(), getTermShowTimestamp(), and TGo4FitPanel::TGo4FitPanel().
int TGo4QSettings::getBrowserColumn | ( | const char * | name, |
int | defwidth | ||
) |
Definition at line 683 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4Browser::TGo4Browser().
void TGo4QSettings::getCanvasColor | ( | int & | red, |
int & | green, | ||
int & | blue | ||
) |
Definition at line 486 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4ViewPanel::SetPadDefaults().
QString TGo4QSettings::getClientAccountName | ( | ) |
Definition at line 386 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::ConnectServerSlot().
QString TGo4QSettings::getClientArgs | ( | ) |
Definition at line 271 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::LaunchClientSlot(), TGo4Script::ProduceScript(), and TGo4StartClient::TGo4StartClient().
int TGo4QSettings::getClientConnectMode | ( | ) |
Definition at line 381 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4MainWindow::ConnectServerSlot(), and TGo4ConnectServer::TGo4ConnectServer().
int TGo4QSettings::getClientControllerMode | ( | ) |
Definition at line 361 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4MainWindow::ConnectServerSlot(), TGo4Script::ProduceScript(), and TGo4ConnectServer::TGo4ConnectServer().
bool TGo4QSettings::getClientDefaultPass | ( | ) |
Definition at line 371 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::ConnectServerSlot(), TGo4Script::ProduceScript(), and TGo4ConnectServer::TGo4ConnectServer().
QString TGo4QSettings::getClientDir | ( | ) |
Definition at line 239 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::LaunchClientSlot(), TGo4Script::ProduceScript(), and TGo4StartClient::TGo4StartClient().
QString TGo4QSettings::getClientExec | ( | int | mode = -1 | ) |
Definition at line 260 of file TGo4QSettings.cpp.
References getClientExeMode(), and getStr().
Referenced by TGo4StartClient::ExeMode_changed(), TGo4MainWindow::LaunchClientSlot(), TGo4Script::ProduceScript(), and TGo4StartClient::TGo4StartClient().
int TGo4QSettings::getClientExeMode | ( | ) |
Definition at line 249 of file TGo4QSettings.cpp.
References getInt().
Referenced by getClientExec(), TGo4MainWindow::LaunchClientSlot(), TGo4Script::ProduceScript(), setClientExec(), and TGo4StartClient::TGo4StartClient().
int TGo4QSettings::getClientIsServer | ( | ) |
Definition at line 338 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::LaunchClientSlot(), TGo4Script::ProduceScript(), and TGo4StartClient::TGo4StartClient().
QString TGo4QSettings::getClientName | ( | ) |
Definition at line 219 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::LaunchClientSlot(), TGo4Script::ProduceScript(), and TGo4StartClient::TGo4StartClient().
QString TGo4QSettings::getClientNode | ( | ) |
Definition at line 229 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::ConnectHttpSlot(), TGo4MainWindow::ConnectServerSlot(), TGo4MainWindow::LaunchClientSlot(), TGo4Script::ProduceScript(), TGo4ConnectServer::TGo4ConnectServer(), and TGo4StartClient::TGo4StartClient().
int TGo4QSettings::getClientPort | ( | ) |
Definition at line 351 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4MainWindow::ConnectHttpSlot(), TGo4MainWindow::ConnectServerSlot(), TGo4MainWindow::LaunchClientSlot(), TGo4Script::ProduceScript(), TGo4ConnectServer::TGo4ConnectServer(), and TGo4StartClient::TGo4StartClient().
QString TGo4QSettings::getClientShell | ( | ) |
Definition at line 288 of file TGo4QSettings.cpp.
References getStr().
Referenced by getClientShellMode().
int TGo4QSettings::getClientShellMode | ( | ) |
Definition at line 293 of file TGo4QSettings.cpp.
References getClientShell().
Referenced by TGo4MainWindow::LaunchClientSlot(), TGo4Script::ProduceScript(), and TGo4StartClient::TGo4StartClient().
QString TGo4QSettings::getClientTerm | ( | ) |
Definition at line 315 of file TGo4QSettings.cpp.
References getStr().
Referenced by getClientTermMode().
int TGo4QSettings::getClientTermMode | ( | ) |
Definition at line 320 of file TGo4QSettings.cpp.
References getClientTerm().
Referenced by TGo4MainWindow::CheckConnectingCounterSlot(), TGo4MainWindow::LaunchClientSlot(), TGo4Script::ProduceScript(), and TGo4StartClient::TGo4StartClient().
bool TGo4QSettings::getCloneFlag | ( | ) |
Definition at line 517 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4ViewPanel::CompleteInitialization().
QStringList TGo4QSettings::getCommandsHistoryAnalysis | ( | ) |
implement history for analysis command line
Definition at line 995 of file TGo4QSettings.cpp.
References sett.
Referenced by TGo4AnalysisWindow::CreateCmdLine().
QStringList TGo4QSettings::getCommandsHistoryGUI | ( | ) |
implement history for gui command line
Definition at line 985 of file TGo4QSettings.cpp.
References sett.
Referenced by TGo4CommandLine::LoadHistory().
bool TGo4QSettings::getDabcMonitorBackwardsTrending | ( | ) |
Definition at line 980 of file TGo4QSettings.cpp.
References getBool().
int TGo4QSettings::getDabcMonitorBins | ( | ) |
Definition at line 970 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4DabcMonitor::TGo4DabcMonitor().
int TGo4QSettings::getDabcMonitorFreq | ( | ) |
Definition at line 960 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4DabcMonitor::TGo4DabcMonitor().
QString TGo4QSettings::getDabcMonitorNode | ( | ) |
Definition at line 950 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4DabcMonitor::TGo4DabcMonitor().
double TGo4QSettings::getDouble | ( | const QString & | name, |
double | value = 0. |
||
) |
Definition at line 113 of file TGo4QSettings.cpp.
References sett.
Referenced by getHistAxisPars(), and getScreenScaleFactor().
bool TGo4QSettings::getDrawDateFlag | ( | ) |
Definition at line 547 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4ViewPanel::SetPadDefaults().
int TGo4QSettings::getDrawFillColor | ( | ) |
Definition at line 577 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4MainWindow::DrawFillColorSlot(), TGo4ViewPanel::RedrawGraph(), and TGo4ViewPanel::RedrawHistogram().
int TGo4QSettings::getDrawFillStyle | ( | ) |
Definition at line 586 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4MainWindow::DrawFillStyleSlot(), TGo4ViewPanel::RedrawGraph(), and TGo4ViewPanel::RedrawHistogram().
bool TGo4QSettings::getDrawItemFlag | ( | ) |
Definition at line 557 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4ViewPanel::SetPadDefaults().
int TGo4QSettings::getDrawLineWidth | ( | ) |
Definition at line 567 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4MainWindow::DrawLineWidthSlot(), TGo4ViewPanel::ProduceSuperimposeObject(), TGo4ViewPanel::RedrawGraph(), and TGo4ViewPanel::RedrawHistogram().
bool TGo4QSettings::getDrawOnceFlag | ( | ) |
Definition at line 527 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4Browser::ListView_doubleClicked().
bool TGo4QSettings::getDrawTimeFlag | ( | ) |
Definition at line 537 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4ViewPanel::SetPadDefaults().
bool TGo4QSettings::getFetchDataWhenCopy | ( | ) |
Definition at line 812 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), TGo4Browser::ContextMenuActivated(), and TGo4Browser::ItemDropProcessSlot().
bool TGo4QSettings::getFetchDataWhenDraw | ( | ) |
Definition at line 802 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), TGo4MainWindow::DisplayBrowserItem(), TGo4ViewPanel::DropOnPad(), and TGo4ViewPanel::ProcessPictureRedraw().
bool TGo4QSettings::getFetchDataWhenSave | ( | ) |
Definition at line 822 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), TGo4Browser::ExportSelectedItems(), and TGo4MainWindow::SaveFileSlot().
QString TGo4QSettings::getGStyleStatFormat | ( | ) |
Definition at line 639 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::GStyleStatFormatSlot(), and TGo4MainWindow::TGo4MainWindow().
bool TGo4QSettings::getHideTGo4EventElement | ( | ) |
Definition at line 832 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4Browser::updateListViewItems().
void TGo4QSettings::getHistAxisPars | ( | int | naxis, |
int & | npoints, | ||
double & | min, | ||
double & | max | ||
) |
Definition at line 783 of file TGo4QSettings.cpp.
References getDouble(), and getInt().
Referenced by TGo4CreateNewHistogram::TGo4CreateNewHistogram().
QString TGo4QSettings::getHistName | ( | ) |
Definition at line 744 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4CreateNewHistogram::TGo4CreateNewHistogram().
QString TGo4QSettings::getHistTitle | ( | ) |
Definition at line 754 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4CreateNewHistogram::TGo4CreateNewHistogram().
int TGo4QSettings::getHistType | ( | ) |
Definition at line 764 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4CreateNewHistogram::TGo4CreateNewHistogram().
QString TGo4QSettings::getHServBase | ( | ) |
Definition at line 423 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::ConnectHServerSlot().
QString TGo4QSettings::getHServFilter | ( | ) |
Definition at line 433 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::ConnectHServerSlot().
QString TGo4QSettings::getHServName | ( | ) |
Definition at line 413 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::ConnectHServerSlot().
int TGo4QSettings::getHServPort | ( | ) |
Definition at line 443 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4MainWindow::ConnectHServerSlot().
int TGo4QSettings::getInt | ( | const QString & | name, |
int | def = 0 |
||
) |
Definition at line 93 of file TGo4QSettings.cpp.
References sett.
Referenced by getBrowserColumn(), getCanvasColor(), getClientConnectMode(), getClientControllerMode(), getClientExeMode(), getClientPort(), getDabcMonitorBins(), getDabcMonitorFreq(), getDrawFillColor(), getDrawFillStyle(), getDrawLineWidth(), getHistAxisPars(), getHistType(), getHServPort(), getMbsMonitorBins(), getMbsMonitorFreq(), getOptStat(), getOptStatH(), getOptStatW(), getPaletteOpt(), getTermHistorySize(), lastPanelSize(), and TGo4FitPanel::TGo4FitPanel().
bool TGo4QSettings::getMbsMonitorBackwardsTrending | ( | ) |
Definition at line 940 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4DabcMonitor::TGo4DabcMonitor(), and TGo4MBSViewer::TGo4MBSViewer().
int TGo4QSettings::getMbsMonitorBins | ( | ) |
Definition at line 900 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4MBSViewer::TGo4MBSViewer().
int TGo4QSettings::getMbsMonitorFreq | ( | ) |
Definition at line 890 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4MBSViewer::TGo4MBSViewer().
bool TGo4QSettings::getMbsMonitorMonitorActive | ( | ) |
Definition at line 930 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::TGo4MainWindow().
bool TGo4QSettings::getMbsMonitorMore | ( | ) |
Definition at line 920 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MBSViewer::TGo4MBSViewer().
QString TGo4QSettings::getMbsMonitorNode | ( | ) |
Definition at line 880 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MBSViewer::TGo4MBSViewer().
bool TGo4QSettings::getMbsMonitorTrend | ( | ) |
Definition at line 910 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MBSViewer::TGo4MBSViewer().
bool TGo4QSettings::getMoveSubwindowRubberBand | ( | ) |
Definition at line 843 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MdiArea::AddGo4SubWindow(), and TGo4MainWindow::AddSettingMenu().
int TGo4QSettings::getOptStat | ( | ) |
Definition at line 694 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4ViewPanel::SetPadDefaults(), TGo4MainWindow::TGo4MainWindow(), and TGo4OptStatsSettings::TGo4OptStatsSettings().
int TGo4QSettings::getOptStatH | ( | ) |
Definition at line 714 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4ViewPanel::SetPadDefaults(), and TGo4OptStatsSettings::TGo4OptStatsSettings().
int TGo4QSettings::getOptStatW | ( | ) |
Definition at line 704 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4ViewPanel::SetPadDefaults(), and TGo4OptStatsSettings::TGo4OptStatsSettings().
bool TGo4QSettings::getPadCrosshair | ( | ) |
Definition at line 454 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), TGo4ViewPanel::SetPadDefaults(), and TGo4MainWindow::TGo4MainWindow().
bool TGo4QSettings::getPadEventStatus | ( | ) |
Definition at line 474 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), TGo4ViewPanel::SetPadDefaults(), TGo4MainWindow::TGo4MainWindow(), and TGo4ViewPanel::TGo4ViewPanel().
bool TGo4QSettings::getPadSuperimpose | ( | ) |
Definition at line 464 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), TGo4ViewPanel::AllocatePadOptions(), and TGo4MainWindow::TGo4MainWindow().
void TGo4QSettings::getPaletteOpt | ( | int & | min, |
int & | def, | ||
int & | max | ||
) |
Definition at line 501 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4MainWindow::PaletteSettingsSlot(), and TGo4Style::TGo4Style().
void TGo4QSettings::getPrinterSett | ( | QString & | name, |
QString & | cmd | ||
) |
Definition at line 869 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4PrintWidget::TGo4PrintWidget().
void TGo4QSettings::getRemoteFileSett | ( | QString & | hostname, |
QString & | filename, | ||
QString & | protocol | ||
) |
Definition at line 856 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4OpenRemoteDialog::TGo4OpenRemoteDialog().
bool TGo4QSettings::getSavePadWhiteBackground | ( | ) |
switch to make pad and frame backgrounds white before saving/printing them
Definition at line 1055 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4MainWindow::SavePanelCanvas().
double TGo4QSettings::getScreenScaleFactor | ( | ) |
for Qt>5.6: factor to scale up whole gui on high dpi screens
Definition at line 1046 of file TGo4QSettings.cpp.
References getDouble().
Referenced by main(), and TGo4MainWindow::ScaleFactorSlot().
QString TGo4QSettings::GetSettLoaction | ( | ) |
Definition at line 53 of file TGo4QSettings.cpp.
References fSettFileName.
Referenced by TGo4MainWindow::SaveSettingsSlot(), and TGo4MainWindow::TGo4MainWindow().
bool TGo4QSettings::getStatBoxErrors | ( | ) |
Definition at line 734 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4OptStatsSettings::TGo4OptStatsSettings().
bool TGo4QSettings::getStatBoxVisible | ( | ) |
Definition at line 724 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4ViewPanel::SetPadDefaults(), and TGo4OptStatsSettings::TGo4OptStatsSettings().
QString TGo4QSettings::getStr | ( | const QString & | name, |
const QString & | value = "" |
||
) |
Definition at line 103 of file TGo4QSettings.cpp.
References sett.
Referenced by getAnalysisMacroCommand(), getAnalysisMacroTip(), getAppFont(), getAppStyle(), getBasicSettings(), getClientAccountName(), getClientArgs(), getClientDir(), getClientExec(), getClientIsServer(), getClientName(), getClientNode(), getClientShell(), getClientTerm(), getDabcMonitorNode(), getGStyleStatFormat(), getHistName(), getHistTitle(), getHServBase(), getHServFilter(), getHServName(), getMbsMonitorNode(), getPrinterSett(), getRemoteFileSett(), getTermFont(), getTermTimeFormat(), getTGraphDrawOpt(), getTH1DrawOpt(), getTH2DrawOpt(), and getTH3DrawOpt().
QFont TGo4QSettings::getTermFont | ( | ) |
Definition at line 196 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::ChangeTerminalFontSlot(), and TGo4AnalysisWindow::TGo4AnalysisWindow().
int TGo4QSettings::getTermHistorySize | ( | ) |
Definition at line 403 of file TGo4QSettings.cpp.
References getInt().
Referenced by TGo4MainWindow::InputTerminalParametersSlot(), and TGo4AnalysisWindow::TGo4AnalysisWindow().
bool TGo4QSettings::getTermShowTimestamp | ( | ) |
Definition at line 1067 of file TGo4QSettings.cpp.
References getBool().
Referenced by TGo4MainWindow::AddSettingMenu(), and TGo4AnalysisWindow::UpdateTimeStampFormat().
QString TGo4QSettings::getTermTimeFormat | ( | ) |
Definition at line 1077 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4MainWindow::ChangeTerminalTimeStampFormatSlot(), and TGo4AnalysisWindow::UpdateTimeStampFormat().
QString TGo4QSettings::getTGraphDrawOpt | ( | ) |
Definition at line 628 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4ViewPanel::ProduceSuperimposeObject(), TGo4ViewPanel::RedrawGraph(), TGo4ViewPanel::RedrawMultiGraph(), and TGo4MainWindow::TGraphDrawOptSlot().
QString TGo4QSettings::getTH1DrawOpt | ( | ) |
Definition at line 598 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4ViewPanel::RedrawHistogram(), and TGo4MainWindow::TH1DrawOptSlot().
QString TGo4QSettings::getTH2DrawOpt | ( | ) |
Definition at line 608 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4ViewPanel::RedrawHistogram(), and TGo4MainWindow::TH2DrawOptSlot().
QString TGo4QSettings::getTH3DrawOpt | ( | ) |
Definition at line 618 of file TGo4QSettings.cpp.
References getStr().
Referenced by TGo4ViewPanel::RedrawHistogram(), and TGo4MainWindow::TH3DrawOptSlot().
QSize TGo4QSettings::lastPanelSize | ( | const QString & | kind = "ViewPanel" , |
int | dfltwidth = 450 , |
||
int | dfltheight = 250 |
||
) |
Definition at line 664 of file TGo4QSettings.cpp.
References getInt(), and TGo4MdiArea::Instance().
Referenced by TGo4MainWindow::EstablishAnalysisWindow(), and TGo4MainWindow::MakeNewPanel().
|
private |
Read settings from the file/registry
Definition at line 64 of file TGo4QSettings.cpp.
References fSettFileName, and sett.
Referenced by Store(), and TGo4QSettings().
void TGo4QSettings::restoreMainWindowState | ( | QMainWindow * | tgt | ) |
main window state/geometry
Definition at line 644 of file TGo4QSettings.cpp.
References MainWindowDefaultGeometry, MainWindowDefaultState, and sett.
Referenced by TGo4MainWindow::TGo4MainWindow().
void TGo4QSettings::setAnalysisMacroAutomode | ( | int | id, |
bool | on | ||
) |
Definition at line 1027 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4UserCommands::ConfigureAnalysisMacros().
void TGo4QSettings::setAnalysisMacroCommand | ( | int | id, |
const QString & | com | ||
) |
Definition at line 1034 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4UserCommands::ConfigureAnalysisMacros().
void TGo4QSettings::setAnalysisMacroTip | ( | int | id, |
const QString & | com | ||
) |
Definition at line 1040 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4UserCommands::ConfigureAnalysisMacros().
void TGo4QSettings::setAppFont | ( | const QFont & | font | ) |
Definition at line 179 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::ChangeFontSlot(), and TGo4MainWindow::SaveSettingsSlot().
void TGo4QSettings::setAppStyle | ( | const QString & | v | ) |
Definition at line 204 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::SaveSettingsSlot(), and TGo4MainWindow::SetStyleSlot().
void TGo4QSettings::setBasicSettings | ( | ) |
Definition at line 120 of file TGo4QSettings.cpp.
References TGo4Condition::fgbCMAXDRAW, TGo4Marker::fgbCONTDRAW, TGo4Marker::fgbHASCONNECTOR, TGo4Marker::fgbHASLABEL, TGo4Condition::fgbINTDRAW, TGo4Condition::fgbLABELDRAW, TGo4Condition::fgbLIMITSDRAW, TGo4Marker::fgbXBINDRAW, TGo4Marker::fgbXDRAW, TGo4Condition::fgbXMAXDRAW, TGo4Condition::fgbXMEANDRAW, TGo4Condition::fgbXRMSDRAW, TGo4Marker::fgbYBINDRAW, TGo4Marker::fgbYDRAW, TGo4Condition::fgbYMAXDRAW, TGo4Condition::fgbYMEANDRAW, TGo4Condition::fgbYRMSDRAW, TGo4Marker::fgxNUMFORMAT, TGo4Condition::fgxNUMFORMAT, setBool(), and setStr().
Referenced by TGo4MainWindow::SaveSettingsSlot().
void TGo4QSettings::setBool | ( | const QString & | name, |
bool | value = true |
||
) |
Definition at line 78 of file TGo4QSettings.cpp.
References sett.
Referenced by TGo4FitPanel::ChangeSettings(), setAnalysisMacroAutomode(), setBasicSettings(), setClientDefaultPass(), setCloneFlag(), setDabcMonitorBackwardsTrending(), setDrawDateFlag(), setDrawItemFlag(), setDrawOnceFlag(), setDrawTimeFlag(), setFetchDataWhenCopy(), setFetchDataWhenDraw(), setFetchDataWhenSave(), setHideTGo4EventElement(), setMbsMonitorBackwardsTrending(), setMbsMonitorMonitorActive(), setMbsMonitorMore(), setMbsMonitorTrend(), setMoveSubwindowRubberBand(), setPadCrosshair(), setPadEventStatus(), setPadSuperimpose(), setSavePadWhiteBackground(), setStatBoxErrors(), setStatBoxVisible(), and setTermShowTimestamp().
void TGo4QSettings::setBrowserColumn | ( | const char * | name, |
int | width | ||
) |
Definition at line 678 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4Browser::HeaderSectionResizedSlot().
void TGo4QSettings::setCanvasColor | ( | int | red, |
int | green, | ||
int | blue | ||
) |
Definition at line 479 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4MainWindow::CanvasColorSlot().
void TGo4QSettings::setClientAccountName | ( | const QString & | v | ) |
Definition at line 391 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4ConnectServer::getInput().
void TGo4QSettings::setClientArgs | ( | const QString & | v | ) |
Definition at line 266 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4StartClient::getResults(), and TGo4Script::LaunchAnalysis().
void TGo4QSettings::setClientConnectMode | ( | int | mode | ) |
Definition at line 376 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4MainWindow::ConnectHttpSlot(), TGo4ConnectServer::getInput(), and TGo4StartClient::getResults().
void TGo4QSettings::setClientControllerMode | ( | int | mode | ) |
Definition at line 356 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4Script::ConnectAnalysis(), TGo4ConnectServer::getInput(), and main().
void TGo4QSettings::setClientDefaultPass | ( | bool | on | ) |
Definition at line 366 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4Script::ConnectAnalysis(), TGo4ConnectServer::getInput(), and main().
void TGo4QSettings::setClientDir | ( | const QString & | v | ) |
Definition at line 234 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4StartClient::getResults(), and TGo4Script::LaunchAnalysis().
void TGo4QSettings::setClientExec | ( | const QString & | v | ) |
Definition at line 254 of file TGo4QSettings.cpp.
References getClientExeMode(), and setStr().
Referenced by TGo4StartClient::getResults(), and TGo4Script::LaunchAnalysis().
void TGo4QSettings::setClientExeMode | ( | int | mode | ) |
Definition at line 244 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4StartClient::getResults(), and TGo4Script::LaunchAnalysis().
void TGo4QSettings::setClientIsServer | ( | int | kind | ) |
Definition at line 330 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4StartClient::getResults(), and TGo4Script::LaunchAnalysis().
void TGo4QSettings::setClientName | ( | const QString & | v | ) |
Definition at line 214 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4StartClient::getResults(), and TGo4Script::LaunchAnalysis().
void TGo4QSettings::setClientNode | ( | const QString & | v | ) |
Definition at line 224 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4Script::ConnectAnalysis(), TGo4MainWindow::ConnectHttpSlot(), TGo4ConnectServer::getInput(), TGo4StartClient::getResults(), TGo4Script::LaunchAnalysis(), main(), and TGo4StartClient::TGo4StartClient().
void TGo4QSettings::setClientPort | ( | int | nport | ) |
Definition at line 346 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4Script::ConnectAnalysis(), TGo4MainWindow::ConnectHttpSlot(), TGo4ConnectServer::getInput(), TGo4StartClient::getResults(), TGo4Script::LaunchAnalysis(), and main().
void TGo4QSettings::setClientShellMode | ( | int | v | ) |
Definition at line 276 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4StartClient::getResults(), TGo4Script::LaunchAnalysis(), and TGo4StartClient::TGo4StartClient().
void TGo4QSettings::setClientTermMode | ( | int | v | ) |
Definition at line 304 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4StartClient::getResults(), TGo4Script::LaunchAnalysis(), and TGo4StartClient::TGo4StartClient().
void TGo4QSettings::setCloneFlag | ( | bool | on = true | ) |
Definition at line 512 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeCloneFlagSlot().
void TGo4QSettings::setCommandsHistoryAnalysis | ( | const QStringList & | commands | ) |
Definition at line 1000 of file TGo4QSettings.cpp.
References sett.
Referenced by TGo4AnalysisWindow::CommandSlot().
void TGo4QSettings::setCommandsHistoryGUI | ( | const QStringList & | commands | ) |
Definition at line 990 of file TGo4QSettings.cpp.
References sett.
Referenced by TGo4CommandLine::enterPressedSlot().
void TGo4QSettings::setDabcMonitorBackwardsTrending | ( | bool | on = true | ) |
Definition at line 975 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4DabcMonitor::storeSettings().
void TGo4QSettings::setDabcMonitorBins | ( | int | num | ) |
Definition at line 965 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4DabcMonitor::storeSettings().
void TGo4QSettings::setDabcMonitorFreq | ( | int | secs | ) |
Definition at line 955 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4DabcMonitor::storeSettings().
void TGo4QSettings::setDabcMonitorNode | ( | const QString & | name | ) |
some things for the DABC monitor dockwindow:
Definition at line 945 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4DabcMonitor::storeSettings().
void TGo4QSettings::setDouble | ( | const QString & | name, |
double | value = 0. |
||
) |
Definition at line 108 of file TGo4QSettings.cpp.
References sett.
Referenced by setHistAxisPars(), and setScreenScaleFactor().
void TGo4QSettings::setDrawDateFlag | ( | bool | on = true | ) |
Definition at line 542 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeDrawDateFlagSlot().
void TGo4QSettings::setDrawFillColor | ( | int | col | ) |
Definition at line 572 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4MainWindow::DrawFillColorSlot().
void TGo4QSettings::setDrawFillStyle | ( | int | style | ) |
Definition at line 582 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4MainWindow::DrawFillStyleSlot().
void TGo4QSettings::setDrawItemFlag | ( | bool | on = true | ) |
Definition at line 552 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeDrawItemFlagSlot().
void TGo4QSettings::setDrawLineWidth | ( | int | w = 1 | ) |
Definition at line 562 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4MainWindow::DrawLineWidthSlot().
void TGo4QSettings::setDrawOnceFlag | ( | bool | on = true | ) |
Definition at line 522 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeDrawOnceSlot().
void TGo4QSettings::setDrawTimeFlag | ( | bool | on = true | ) |
Definition at line 532 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeDrawTimeFlagSlot().
void TGo4QSettings::setFetchDataWhenCopy | ( | bool | on = true | ) |
Definition at line 807 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeFetchWhenCopySlot().
void TGo4QSettings::setFetchDataWhenDraw | ( | bool | on = true | ) |
Definition at line 797 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeFetchWhenDrawSlot().
void TGo4QSettings::setFetchDataWhenSave | ( | bool | on = true | ) |
Definition at line 817 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeFetchWhenSaveSlot().
void TGo4QSettings::setGStyleStatFormat | ( | const QString & | v | ) |
Definition at line 633 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::GStyleStatFormatSlot().
void TGo4QSettings::setHideTGo4EventElement | ( | bool | on = true | ) |
Definition at line 827 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeHideEventElement().
void TGo4QSettings::setHistAxisPars | ( | int | naxis, |
int | npoints, | ||
double | min, | ||
double | max | ||
) |
Definition at line 769 of file TGo4QSettings.cpp.
References setDouble(), and setInt().
Referenced by TGo4CreateNewHistogram::MakeHistogram().
void TGo4QSettings::setHistName | ( | const QString & | value | ) |
Definition at line 739 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4CreateNewHistogram::MakeHistogram().
void TGo4QSettings::setHistTitle | ( | const QString & | value | ) |
Definition at line 749 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4CreateNewHistogram::MakeHistogram().
void TGo4QSettings::setHistType | ( | int | value | ) |
Definition at line 759 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4CreateNewHistogram::MakeHistogram().
void TGo4QSettings::setHServBase | ( | const QString & | v | ) |
Definition at line 418 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::ConnectHServerSlot().
void TGo4QSettings::setHServFilter | ( | const QString & | v | ) |
Definition at line 428 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::ConnectHServerSlot().
void TGo4QSettings::setHServName | ( | const QString & | v | ) |
Definition at line 408 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::ConnectHServerSlot().
void TGo4QSettings::setHServPort | ( | int | port | ) |
Definition at line 438 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4MainWindow::ConnectHServerSlot().
void TGo4QSettings::setInt | ( | const QString & | name, |
int | value = 0 |
||
) |
Definition at line 88 of file TGo4QSettings.cpp.
References sett.
Referenced by TGo4FitPanel::ChangeSettings(), setBrowserColumn(), setCanvasColor(), setClientConnectMode(), setClientControllerMode(), setClientExeMode(), setClientPort(), setDabcMonitorBins(), setDabcMonitorFreq(), setDrawFillColor(), setDrawFillStyle(), setDrawLineWidth(), setHistAxisPars(), setHistType(), setHServPort(), setMbsMonitorBins(), setMbsMonitorFreq(), setOptStat(), setOptStatH(), setOptStatW(), setPaletteOpt(), setTermHistorySize(), and storePanelSize().
void TGo4QSettings::setMbsMonitorBackwardsTrending | ( | bool | on = true | ) |
Definition at line 935 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MBSViewer::StoreSettings().
void TGo4QSettings::setMbsMonitorBins | ( | int | num | ) |
Definition at line 895 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4MBSViewer::StoreSettings().
void TGo4QSettings::setMbsMonitorFreq | ( | int | secs | ) |
Definition at line 885 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4MBSViewer::StoreSettings().
void TGo4QSettings::setMbsMonitorMonitorActive | ( | bool | on = true | ) |
Definition at line 925 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MBSViewer::StoreSettings().
void TGo4QSettings::setMbsMonitorMore | ( | bool | on = true | ) |
Definition at line 915 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MBSViewer::MoreBox_toggled(), and TGo4MBSViewer::StoreSettings().
void TGo4QSettings::setMbsMonitorNode | ( | const QString & | name | ) |
some things for the mbs monitor dockwindow:
Definition at line 875 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MBSViewer::StoreSettings().
void TGo4QSettings::setMbsMonitorTrend | ( | bool | on = true | ) |
Definition at line 905 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MBSViewer::StoreSettings(), and TGo4MBSViewer::TrendSwitched().
void TGo4QSettings::setMoveSubwindowRubberBand | ( | bool | on = true | ) |
Definition at line 838 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeWindowRubberBandSlot().
void TGo4QSettings::setOptStat | ( | int | value | ) |
Definition at line 689 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4OptStatsSettings::setFlags().
void TGo4QSettings::setOptStatH | ( | int | value | ) |
Definition at line 709 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4OptStatsSettings::setFlags().
void TGo4QSettings::setOptStatW | ( | int | value | ) |
Definition at line 699 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4OptStatsSettings::setFlags().
void TGo4QSettings::setPadCrosshair | ( | bool | on | ) |
Definition at line 449 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::CrosshairSlot().
void TGo4QSettings::setPadEventStatus | ( | bool | on | ) |
Definition at line 469 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::EventStatusSlot().
void TGo4QSettings::setPadSuperimpose | ( | bool | on | ) |
Definition at line 459 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::SuperimposeSlot().
void TGo4QSettings::setPaletteOpt | ( | int | min, |
int | def, | ||
int | max | ||
) |
Definition at line 494 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4MainWindow::PaletteSettingsSlot().
void TGo4QSettings::setPrinterSett | ( | const QString & | name, |
const QString & | cmd | ||
) |
Definition at line 863 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4ViewPanel::PrintCanvas().
void TGo4QSettings::setRemoteFileSett | ( | const QString & | hostname, |
const QString & | filename, | ||
const QString & | protocol | ||
) |
Definition at line 849 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4OpenRemoteDialog::~TGo4OpenRemoteDialog().
void TGo4QSettings::setSavePadWhiteBackground | ( | bool | on | ) |
Definition at line 1061 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeSaveWhiteBackgroundSlot().
void TGo4QSettings::setScreenScaleFactor | ( | double | factor | ) |
Definition at line 1050 of file TGo4QSettings.cpp.
References setDouble().
Referenced by TGo4MainWindow::ScaleFactorSlot().
void TGo4QSettings::setStatBoxErrors | ( | bool | on = true | ) |
Definition at line 729 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4OptStatsSettings::setFlags().
void TGo4QSettings::setStatBoxVisible | ( | bool | on = true | ) |
Definition at line 719 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4OptStatsSettings::setFlags().
void TGo4QSettings::setStr | ( | const QString & | name, |
const QString & | value = "" |
||
) |
Definition at line 98 of file TGo4QSettings.cpp.
References sett.
Referenced by setAnalysisMacroCommand(), setAnalysisMacroTip(), setAppFont(), setAppStyle(), setBasicSettings(), setClientAccountName(), setClientArgs(), setClientDir(), setClientExec(), setClientIsServer(), setClientName(), setClientNode(), setClientShellMode(), setClientTermMode(), setDabcMonitorNode(), setGStyleStatFormat(), setHistName(), setHistTitle(), setHServBase(), setHServFilter(), setHServName(), setMbsMonitorNode(), setPrinterSett(), setRemoteFileSett(), setTermFont(), setTermTimeFormat(), setTGraphDrawOpt(), setTH1DrawOpt(), setTH2DrawOpt(), and setTH3DrawOpt().
void TGo4QSettings::setTermFont | ( | const QFont & | font | ) |
Definition at line 191 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::ChangeTerminalFontSlot().
void TGo4QSettings::setTermHistorySize | ( | int | sz | ) |
Definition at line 398 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4MainWindow::InputTerminalParametersSlot().
void TGo4QSettings::setTermShowTimestamp | ( | bool | on | ) |
Definition at line 1072 of file TGo4QSettings.cpp.
References setBool().
Referenced by TGo4MainWindow::ChangeTerminalTimeStampSlot().
void TGo4QSettings::setTermTimeFormat | ( | const QString & | form | ) |
Definition at line 1082 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::ChangeTerminalTimeStampFormatSlot().
void TGo4QSettings::setTGraphDrawOpt | ( | const QString & | value | ) |
Definition at line 623 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::TGraphDrawOptSlot().
void TGo4QSettings::setTH1DrawOpt | ( | const QString & | value | ) |
Definition at line 593 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::TH1DrawOptSlot().
void TGo4QSettings::setTH2DrawOpt | ( | const QString & | value | ) |
Definition at line 603 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::TH2DrawOptSlot().
void TGo4QSettings::setTH3DrawOpt | ( | const QString & | value | ) |
Definition at line 613 of file TGo4QSettings.cpp.
References setStr().
Referenced by TGo4MainWindow::TH3DrawOptSlot().
void TGo4QSettings::Store | ( | ) |
Definition at line 72 of file TGo4QSettings.cpp.
Referenced by TGo4MainWindow::SaveSettingsSlot(), and TGo4MainWindow::SetStyleSlot().
void TGo4QSettings::storeMainWindowState | ( | QMainWindow * | src | ) |
Definition at line 651 of file TGo4QSettings.cpp.
References sett.
Referenced by TGo4MainWindow::SaveSettingsSlot().
void TGo4QSettings::storePanelSize | ( | QWidget * | w, |
const QString & | kind = "ViewPanel" |
||
) |
Definition at line 658 of file TGo4QSettings.cpp.
References setInt().
Referenced by TGo4AnalysisWindow::resizeEvent(), and TGo4ViewPanel::resizeEvent().
|
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 GetSettLoaction(), Open(), and TGo4QSettings().
|
private |
Currently opened settings
Definition at line 38 of file TGo4QSettings.h.
Referenced by getBool(), getCommandsHistoryAnalysis(), getCommandsHistoryGUI(), getDouble(), getInt(), getStr(), Open(), restoreMainWindowState(), setBool(), setCommandsHistoryAnalysis(), setCommandsHistoryGUI(), setDouble(), setInt(), setStr(), Store(), and storeMainWindowState().