SettingsDialog Class Reference

#include <SettingsDlg.h>

Inheritance diagram for SettingsDialog:

TGTransientFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame List of all members.

Public Member Functions

 SettingsDialog (const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options=kVerticalFrame)
virtual ~SettingsDialog ()
virtual void CloseWindow ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)

Private Attributes

TGCompositeFramefFrame1
TGGroupFramefF1
TGGroupFramefF3
TGGroupFramefF4
TGButtonfOkButton
TGButtonfCancelButton
TGButtonfHelpButton
TGCheckButtonfCheck1
TGListBoxfListBox
TGTabfTab
TGTextEntryfTxt4
TGTextEntryfTxt5
TGLayoutHintsfL1
TGLayoutHintsfL2
TGLayoutHintsfL3
Int_t fFirstEntry
Int_t fLastEntry

Detailed Description

Definition at line 39 of file SettingsDlg.h.


Constructor & Destructor Documentation

SettingsDialog::SettingsDialog ( const TGWindow p,
const TGWindow main,
UInt_t  w,
UInt_t  h,
UInt_t  options = kVerticalFrame 
)

Definition at line 86 of file SettingsDlg.cxx.

References TGListBox::AddEntry(), TGCompositeFrame::AddFrame(), TGTab::AddTab(), TGWidget::Associate(), choice_def, RootShower::fB, fCancelButton, RootShower::fE0, fF3, fF4, fFirstEntry, RootShower::fFirstParticle, fFrame1, fHelpButton, fL1, fL2, fL3, fLastEntry, fListBox, fOkButton, fTab, fTxt4, fTxt5, TGFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultSize(), TGListBox::GetScrollBar(), gRootShower, i, Id4, Id5, kLHintsBottom, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, TGGroupFrame::kRight, kVerticalFrame, TGCompositeFrame::MapSubwindows(), str_choice_def::pdg_code, str_choice_def::pdg_name, TGListBox::Resize(), TGFrame::Resize(), TGListBox::Select(), TGCompositeFrame::SetLayoutManager(), TGScrollBar::SetPosition(), TGTextEntry::SetText(), TGGroupFrame::SetTitlePos(), and sprintf().

SettingsDialog::~SettingsDialog (  )  [virtual]

Definition at line 202 of file SettingsDlg.cxx.

References fCancelButton, fF3, fF4, fFrame1, fHelpButton, fL1, fL2, fL3, fListBox, fOkButton, fTab, fTxt4, and fTxt5.


Member Function Documentation

void SettingsDialog::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 222 of file SettingsDlg.cxx.

References TGFrame::DeleteWindow().

Referenced by ProcessMessage().

Bool_t SettingsDialog::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 230 of file SettingsDlg.cxx.

References choice_def, CloseWindow(), RootShower::fB, TGObject::fClient, RootShower::fE0, RootShower::fFirstParticle, fListBox, fTxt4, fTxt5, GET_MSG(), GET_SUBMSG(), TGTextEntry::GetBuffer(), TGClient::GetRoot(), TGListBox::GetSelected(), TGTextBuffer::GetString(), gRootShower, gSettingsHelp, Id4, Id5, kC_COMMAND, kC_TEXTENTRY, kCM_BUTTON, kCM_TAB, kMBIconExclamation, kMBOk, kTE_ENTER, kTE_TAB, kTRUE, str_choice_def::pdg_code, TRootHelpDialog::Popup(), retval, TGListBox::Select(), TGTextEntry::SetFocus(), TRootHelpDialog::SetText(), RootShower::SettingsModified(), and TGClient::WaitFor().


Member Data Documentation

TGCompositeFrame* SettingsDialog::fFrame1 [private]

Definition at line 42 of file SettingsDlg.h.

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

TGGroupFrame* SettingsDialog::fF1 [private]

Definition at line 43 of file SettingsDlg.h.

TGGroupFrame * SettingsDialog::fF3 [private]

Definition at line 43 of file SettingsDlg.h.

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

TGGroupFrame * SettingsDialog::fF4 [private]

Definition at line 43 of file SettingsDlg.h.

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

TGButton* SettingsDialog::fOkButton [private]

Definition at line 44 of file SettingsDlg.h.

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

TGButton * SettingsDialog::fCancelButton [private]

Definition at line 44 of file SettingsDlg.h.

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

TGButton * SettingsDialog::fHelpButton [private]

Definition at line 44 of file SettingsDlg.h.

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

TGCheckButton* SettingsDialog::fCheck1 [private]

Definition at line 45 of file SettingsDlg.h.

TGListBox* SettingsDialog::fListBox [private]

Definition at line 46 of file SettingsDlg.h.

Referenced by ProcessMessage(), SettingsDialog(), and ~SettingsDialog().

TGTab* SettingsDialog::fTab [private]

Definition at line 47 of file SettingsDlg.h.

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

TGTextEntry* SettingsDialog::fTxt4 [private]

Definition at line 48 of file SettingsDlg.h.

Referenced by ProcessMessage(), SettingsDialog(), and ~SettingsDialog().

TGTextEntry * SettingsDialog::fTxt5 [private]

Definition at line 48 of file SettingsDlg.h.

Referenced by ProcessMessage(), SettingsDialog(), and ~SettingsDialog().

TGLayoutHints* SettingsDialog::fL1 [private]

Definition at line 49 of file SettingsDlg.h.

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

TGLayoutHints * SettingsDialog::fL2 [private]

Definition at line 49 of file SettingsDlg.h.

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

TGLayoutHints * SettingsDialog::fL3 [private]

Definition at line 49 of file SettingsDlg.h.

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

Int_t SettingsDialog::fFirstEntry [private]

Definition at line 50 of file SettingsDlg.h.

Referenced by SettingsDialog().

Int_t SettingsDialog::fLastEntry [private]

Definition at line 51 of file SettingsDlg.h.

Referenced by SettingsDialog().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:08 2011 for ROOT_528-00b_version by  doxygen 1.5.1