Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ConfigDialog Class Reference

#include <gui.h>

List of all members.

Public Methods

 ConfigDialog (Configuration *, const TGWindow *, const TGWindow *, UInt_t, UInt_t, UInt_t=kVerticalFrame)
virtual ~ConfigDialog ()
void CloseWindow ()
void DoOk ()
void DoCancel ()
Int_t DoSave ()
void DoTab (Int_t)
void DoTabButtons (Int_t wid=-1, Int_t id=-1)

Static Public Methods

char * ParseExpression (Configuration *, const char *)

Private Methods

 RQ_OBJECT ("ConfigDialog")
void LoadParameters ()
void LoadFunctions (Int_t=-1)
void RemoveFunctions ()
Int_t VerifyFunction (Int_t, Bool_t=kTRUE, Bool_t=kTRUE)

Private Attributes

TGTransientFrame * pMain
TGHorizontalFrame * pFr1
TGTextButton * pOkButton
TGTextButton * pCancelButton
TGTextButton * pSaveButton
TGTab * pTab
TGCompositeFrame * pTabFrame
TGLayoutHints * pL
TGLayoutHints * pL1
TGLayoutHints * pL2
TGLayoutHints * pL3
TGLayoutHints * pL4
TList * pCleanup
TEFormulapEFormula
Int_t curFuncId
TGCompositeFrame * pEnergyFr
TGCompositeFrame * pParVarFr
TGCompositeFrame * pFr
TGGroupFrame * pParListGrFr
TGGroupFrame * pVarGrFr
TGGroupFrame * pEnGrFr
TGLabel * pLabel
TGLabel * pXLabel
TGLabel * pYLabel
TGLabel * pZLabel
TGComboBox * pEnFunCombo
TGListView * pParLV
TGLVContainer * pParLVCont
TGHorizontal3DLine * pEnLine
TGTextEntry * pEnFunExp
TGTextEntry * pEnFunLat
TGTextEntry * pXEntry
TGTextEntry * pYEntry
TGTextEntry * pZEntry
const LVPicturepPic
TRootEmbeddedCanvas * pLatexCanv
TLatex * pLatexExpr
TGCompositeFrame * pLatexFr
TGCompositeFrame * pLatexBtFr
TGCompositeFrame * pEnFunBtFr
TGCompositeFrame * pEnBtFr
TGTextButton * pEnFunBtVer
TGTextButton * pEnFunBtRen
TGTextButton * pEnBtAdd
TGTextButton * pEnBtDel
TGTextButton * pEnBtRev
TGTextButton * pLatMBt
TGTextButton * pLatPBt
TGTextButton * pParamBtAdd
TGTextButton * pParamBtDel
TGTextButton * pParamBtRev
ParamFramepPFr
TGLabel * pParHeadL1
TGLabel * pParHeadL2
TGLabel * pParHeadL3
TGGroupFrame * pParGrFr
TGCompositeFrame * pParHeadFr
TGCompositeFrame * pParamFr
TGCompositeFrame * pParLineFr
TGCompositeFrame * pParamBtFr
ScrollViewpParSV
TGCheckButton * pChkBox
TList * pParamLFr
ConfigurationpConfig

Friends

class AddFuncDlg
class RenFuncDlg


Constructor & Destructor Documentation

ConfigDialog::ConfigDialog Configuration  ,
const TGWindow *   ,
const TGWindow *   ,
UInt_t   ,
UInt_t   ,
UInt_t    = kVerticalFrame
 

Definition at line 1251 of file gui.cpp.

References curFuncId, D_CANCEL, D_ENERGY_ADD, D_ENERGY_CHOOSE_NAME, D_ENERGY_DEL, D_ENERGY_LATEX_MINUS, D_ENERGY_LATEX_PLUS, D_ENERGY_RENAME, D_ENERGY_REV, D_ENERGY_VERIFY, D_OK, D_PARAM_ADD, D_PARAM_DEL, D_PARAM_REV, D_SAVE, Configuration::GetParam(), LoadFunctions(), LoadParameters(), pCancelButton, pCleanup, pConfig, pEFormula, pEnBtAdd, pEnBtDel, pEnBtFr, pEnBtRev, pEnergyFr, pEnFunBtFr, pEnFunBtRen, pEnFunBtVer, pEnFunCombo, pEnFunExp, pEnFunLat, pEnGrFr, pEnLine, pFr, pFr1, pL, pL1, pL2, pL3, pL4, pLabel, pLatexBtFr, pLatexCanv, pLatexExpr, pLatexFr, pLatMBt, pLatPBt, pMain, pOkButton, pParamBtAdd, pParamBtDel, pParamBtFr, pParamBtRev, pParamFr, pParamLFr, pParGrFr, pParHeadFr, pParHeadL1, pParHeadL2, pParHeadL3, pParLineFr, pParListGrFr, pParLV, pParLVCont, pParSV, pParVarFr, pPFr, pPic, pSaveButton, pTab, pTabFrame, pVarGrFr, pXEntry, pXLabel, pYEntry, pYLabel, pZEntry, and pZLabel.

ConfigDialog::~ConfigDialog   [virtual]
 

Definition at line 1497 of file gui.cpp.

References pCancelButton, pCleanup, pEFormula, pEnBtAdd, pEnBtDel, pEnBtFr, pEnBtRev, pEnergyFr, pEnFunBtFr, pEnFunBtRen, pEnFunBtVer, pEnFunCombo, pEnFunExp, pEnFunLat, pEnGrFr, pEnLine, pFr1, pL1, pL2, pL3, pL4, pLatexBtFr, pLatexCanv, pLatexExpr, pLatexFr, pLatMBt, pLatPBt, pMain, pOkButton, pParamBtAdd, pParamBtDel, pParamBtFr, pParamBtRev, pParamFr, pParamLFr, pParGrFr, pParHeadFr, pParHeadL1, pParHeadL2, pParHeadL3, pParLineFr, pParListGrFr, pParLV, pParLVCont, pParSV, pParVarFr, pPic, pSaveButton, pTab, pVarGrFr, pXEntry, pXLabel, pYEntry, pYLabel, pZEntry, and pZLabel.


Member Function Documentation

void ConfigDialog::CloseWindow  
 

Definition at line 1544 of file gui.cpp.

void ConfigDialog::DoCancel  
 

Definition at line 1556 of file gui.cpp.

References pConfig, pMain, and Configuration::RevertFunction().

void ConfigDialog::DoOk  
 

Definition at line 1549 of file gui.cpp.

References DoSave(), and pMain.

Int_t ConfigDialog::DoSave  
 

Definition at line 1562 of file gui.cpp.

References Function::bDeleted, Configuration::CleanFunction(), D_ENERGY_CHOOSE_NAME, DoTabButtons(), TGNumEntry::GetDoubleNum(), Configuration::GetFunction(), ParamFrame::pChk, pConfig, ParamFrame::pDescr, pMain, ParamFrame::pName, pParamLFr, ParamFrame::pValue, Configuration::SaveFormulaToFile(), Configuration::SetParam(), and VerifyFunction().

Referenced by DoOk().

void ConfigDialog::DoTab Int_t   
 

Definition at line 1621 of file gui.cpp.

References LoadParameters().

void ConfigDialog::DoTabButtons Int_t    wid = -1,
Int_t    id = -1
 

Definition at line 1627 of file gui.cpp.

References AddFuncDlg, Function::bDeleted, Function::curExpr, curFuncId, Function::curLatex, Function::curX, Function::curY, Function::curZ, D_ENERGY_ADD, D_ENERGY_CHOOSE_NAME, D_ENERGY_DEL, D_ENERGY_LATEX_MINUS, D_ENERGY_LATEX_PLUS, D_ENERGY_RENAME, D_ENERGY_REV, D_ENERGY_VERIFY, D_PARAM_ADD, D_PARAM_DEL, D_PARAM_REV, Configuration::GetFunction(), Configuration::GetParam(), Function::id, LoadFunctions(), ParamFrame::pChk, pConfig, pEnFunCombo, pEnFunExp, pEnFunLat, pL1, pLatexCanv, pLatexExpr, pMain, pParamLFr, pParLineFr, pParSV, pPFr, pXEntry, pYEntry, pZEntry, RemoveFunctions(), RenFuncDlg, Configuration::RevertFunction(), ParamFrame::SetId(), and VerifyFunction().

Referenced by RenFuncDlg::DoButtons(), AddFuncDlg::DoButtons(), and DoSave().

void ConfigDialog::LoadFunctions Int_t    = -1 [private]
 

Definition at line 1814 of file gui.cpp.

References Function::bDeleted, curFuncId, Configuration::GetFunction(), Function::id, pConfig, pEnFunCombo, pEnFunExp, pEnFunLat, pLatexCanv, pLatexExpr, pXEntry, pYEntry, and pZEntry.

Referenced by ConfigDialog(), RenFuncDlg::DoButtons(), AddFuncDlg::DoButtons(), and DoTabButtons().

void ConfigDialog::LoadParameters   [private]
 

Definition at line 1787 of file gui.cpp.

References Configuration::GetParam(), pConfig, pParLV, pParLVCont, and pPic.

Referenced by ConfigDialog(), and DoTab().

char * ConfigDialog::ParseExpression Configuration  ,
const char *   
[static]
 

Definition at line 1900 of file gui.cpp.

References Configuration::GetParam().

Referenced by MainFrame::FillEnFuncCombo(), and VerifyFunction().

void ConfigDialog::RemoveFunctions   [private]
 

Definition at line 1852 of file gui.cpp.

References Function::bDeleted, Configuration::GetFunction(), pConfig, and pEnFunCombo.

Referenced by RenFuncDlg::DoButtons(), AddFuncDlg::DoButtons(), and DoTabButtons().

ConfigDialog::RQ_OBJECT "ConfigDialog"    [private]
 

Int_t ConfigDialog::VerifyFunction Int_t   ,
Bool_t    = kTRUE,
Bool_t    = kTRUE
[private]
 

Definition at line 1863 of file gui.cpp.

References Configuration::GetFunction(), Function::id, Function::parsedExpr, ParseExpression(), pConfig, pEFormula, pMain, and TEFormula::SetVariables().

Referenced by DoSave(), and DoTabButtons().


Friends And Related Function Documentation

friend class AddFuncDlg [friend]
 

Definition at line 217 of file gui.h.

Referenced by DoTabButtons().

friend class RenFuncDlg [friend]
 

Definition at line 218 of file gui.h.

Referenced by DoTabButtons().


Member Data Documentation

Int_t ConfigDialog::curFuncId [private]
 

Definition at line 236 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), and LoadFunctions().

TGTextButton * ConfigDialog::pCancelButton [private]
 

Definition at line 228 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGCheckButton* ConfigDialog::pChkBox [private]
 

Definition at line 265 of file gui.h.

TList* ConfigDialog::pCleanup [private]
 

Definition at line 232 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

Configuration* ConfigDialog::pConfig [private]
 

Definition at line 269 of file gui.h.

Referenced by AddFuncDlg::AddFuncDlg(), ConfigDialog(), RenFuncDlg::DoButtons(), AddFuncDlg::DoButtons(), DoCancel(), DoSave(), DoTabButtons(), LoadFunctions(), LoadParameters(), RemoveFunctions(), RenFuncDlg::RenFuncDlg(), and VerifyFunction().

TEFormula* ConfigDialog::pEFormula [private]
 

Definition at line 233 of file gui.h.

Referenced by ConfigDialog(), VerifyFunction(), and ~ConfigDialog().

TGTextButton* ConfigDialog::pEnBtAdd [private]
 

Definition at line 253 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextButton * ConfigDialog::pEnBtDel [private]
 

Definition at line 253 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGCompositeFrame * ConfigDialog::pEnBtFr [private]
 

Definition at line 251 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextButton * ConfigDialog::pEnBtRev [private]
 

Definition at line 253 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGCompositeFrame* ConfigDialog::pEnergyFr [private]
 

Definition at line 237 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGCompositeFrame* ConfigDialog::pEnFunBtFr [private]
 

Definition at line 251 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextButton * ConfigDialog::pEnFunBtRen [private]
 

Definition at line 252 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextButton* ConfigDialog::pEnFunBtVer [private]
 

Definition at line 252 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGComboBox* ConfigDialog::pEnFunCombo [private]
 

Definition at line 241 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), LoadFunctions(), RemoveFunctions(), RenFuncDlg::RenFuncDlg(), and ~ConfigDialog().

TGTextEntry* ConfigDialog::pEnFunExp [private]
 

Definition at line 245 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), LoadFunctions(), and ~ConfigDialog().

TGTextEntry * ConfigDialog::pEnFunLat [private]
 

Definition at line 245 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), LoadFunctions(), and ~ConfigDialog().

TGGroupFrame * ConfigDialog::pEnGrFr [private]
 

Definition at line 238 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGHorizontal3DLine* ConfigDialog::pEnLine [private]
 

Definition at line 244 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGCompositeFrame * ConfigDialog::pFr [private]
 

Definition at line 237 of file gui.h.

Referenced by ConfigDialog().

TGHorizontalFrame* ConfigDialog::pFr1 [private]
 

Definition at line 227 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGLayoutHints* ConfigDialog::pL [private]
 

Definition at line 231 of file gui.h.

Referenced by ConfigDialog().

TGLayoutHints * ConfigDialog::pL1 [private]
 

Definition at line 231 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), and ~ConfigDialog().

TGLayoutHints * ConfigDialog::pL2 [private]
 

Definition at line 231 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGLayoutHints * ConfigDialog::pL3 [private]
 

Definition at line 231 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGLayoutHints * ConfigDialog::pL4 [private]
 

Definition at line 231 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGLabel* ConfigDialog::pLabel [private]
 

Definition at line 239 of file gui.h.

Referenced by ConfigDialog().

TGCompositeFrame * ConfigDialog::pLatexBtFr [private]
 

Definition at line 250 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TRootEmbeddedCanvas* ConfigDialog::pLatexCanv [private]
 

Definition at line 248 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), LoadFunctions(), and ~ConfigDialog().

TLatex* ConfigDialog::pLatexExpr [private]
 

Definition at line 249 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), LoadFunctions(), and ~ConfigDialog().

TGCompositeFrame* ConfigDialog::pLatexFr [private]
 

Definition at line 250 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextButton* ConfigDialog::pLatMBt [private]
 

Definition at line 254 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextButton * ConfigDialog::pLatPBt [private]
 

Definition at line 254 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTransientFrame* ConfigDialog::pMain [private]
 

Definition at line 226 of file gui.h.

Referenced by ConfigDialog(), DoCancel(), DoOk(), DoSave(), DoTabButtons(), VerifyFunction(), and ~ConfigDialog().

TGTextButton* ConfigDialog::pOkButton [private]
 

Definition at line 228 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextButton* ConfigDialog::pParamBtAdd [private]
 

Definition at line 257 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextButton * ConfigDialog::pParamBtDel [private]
 

Definition at line 257 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGCompositeFrame* ConfigDialog::pParamBtFr [private]
 

Definition at line 263 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextButton * ConfigDialog::pParamBtRev [private]
 

Definition at line 257 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGCompositeFrame* ConfigDialog::pParamFr [private]
 

Definition at line 262 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TList* ConfigDialog::pParamLFr [private]
 

Definition at line 266 of file gui.h.

Referenced by ConfigDialog(), DoSave(), DoTabButtons(), and ~ConfigDialog().

TGGroupFrame* ConfigDialog::pParGrFr [private]
 

Definition at line 260 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGCompositeFrame* ConfigDialog::pParHeadFr [private]
 

Definition at line 261 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGLabel* ConfigDialog::pParHeadL1 [private]
 

Definition at line 259 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGLabel * ConfigDialog::pParHeadL2 [private]
 

Definition at line 259 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGLabel * ConfigDialog::pParHeadL3 [private]
 

Definition at line 259 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGCompositeFrame * ConfigDialog::pParLineFr [private]
 

Definition at line 262 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), and ~ConfigDialog().

TGGroupFrame* ConfigDialog::pParListGrFr [private]
 

Definition at line 238 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGListView* ConfigDialog::pParLV [private]
 

Definition at line 242 of file gui.h.

Referenced by ConfigDialog(), LoadParameters(), and ~ConfigDialog().

TGLVContainer* ConfigDialog::pParLVCont [private]
 

Definition at line 243 of file gui.h.

Referenced by ConfigDialog(), LoadParameters(), and ~ConfigDialog().

ScrollView* ConfigDialog::pParSV [private]
 

Definition at line 264 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), and ~ConfigDialog().

TGCompositeFrame * ConfigDialog::pParVarFr [private]
 

Definition at line 237 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

ParamFrame* ConfigDialog::pPFr [private]
 

Definition at line 258 of file gui.h.

Referenced by ConfigDialog(), and DoTabButtons().

const LVPicture* ConfigDialog::pPic [private]
 

Definition at line 247 of file gui.h.

Referenced by ConfigDialog(), LoadParameters(), and ~ConfigDialog().

TGTextButton * ConfigDialog::pSaveButton [private]
 

Definition at line 228 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTab* ConfigDialog::pTab [private]
 

Definition at line 229 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGCompositeFrame* ConfigDialog::pTabFrame [private]
 

Definition at line 230 of file gui.h.

Referenced by ConfigDialog().

TGGroupFrame * ConfigDialog::pVarGrFr [private]
 

Definition at line 238 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextEntry* ConfigDialog::pXEntry [private]
 

Definition at line 246 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), LoadFunctions(), and ~ConfigDialog().

TGLabel* ConfigDialog::pXLabel [private]
 

Definition at line 240 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextEntry * ConfigDialog::pYEntry [private]
 

Definition at line 246 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), LoadFunctions(), and ~ConfigDialog().

TGLabel * ConfigDialog::pYLabel [private]
 

Definition at line 240 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().

TGTextEntry * ConfigDialog::pZEntry [private]
 

Definition at line 246 of file gui.h.

Referenced by ConfigDialog(), DoTabButtons(), LoadFunctions(), and ~ConfigDialog().

TGLabel * ConfigDialog::pZLabel [private]
 

Definition at line 240 of file gui.h.

Referenced by ConfigDialog(), and ~ConfigDialog().


The documentation for this class was generated from the following files:
Generated on Sun Jun 16 20:08:05 2002 for XEIS by doxygen1.2.16