TNewChainDlg Class Reference

#include <TSessionDialogs.h>

Inheritance diagram for TNewChainDlg:

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

Public Member Functions

 TNewChainDlg (const TGWindow *p=0, const TGWindow *main=0)
virtual ~TNewChainDlg ()
void UpdateList ()
virtual void OnDoubleClick (TGLVEntry *, Int_t)
virtual void DisplayDirectory (const TString &fname)
void OnElementClicked (TGLVEntry *entry, Int_t btn)
void OnElementSelected (TObject *obj)
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
virtual void CloseWindow ()
 TNewChainDlg (const TGWindow *p=0, const TGWindow *main=0)
virtual ~TNewChainDlg ()
void UpdateList ()
virtual void OnDoubleClick (TGLVEntry *, Int_t)
virtual void DisplayDirectory (const TString &fname)
void OnElementClicked (TGLVEntry *entry, Int_t btn)
void OnElementSelected (TObject *obj)
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
virtual void CloseWindow ()

Private Attributes

TGFileContainerfContents
TGListViewfListView
TGLVContainerfLVContainer
TGTextBufferfNameBuf
TGTextEntryfName
TGTextButtonfOkButton
TGTextButtonfCancelButton
TSeqCollectionfChains
TObjectfChain
TGFileContainerfContents
TGListViewfListView
TGLVContainerfLVContainer
TGTextBufferfNameBuf
TGTextEntryfName
TGTextButtonfOkButton
TGTextButtonfCancelButton
TSeqCollectionfChains
TObjectfChain

Detailed Description

Definition at line 46 of file TSessionDialogs.h.


Constructor & Destructor Documentation

TNewChainDlg::TNewChainDlg ( const TGWindow p = 0,
const TGWindow main = 0 
)

Definition at line 77 of file TSessionDialogs.cxx.

References TGFileContainer::AddFile(), TGCompositeFrame::AddFrame(), TGContainer::Associate(), TGWidget::Associate(), TGFrame::ChangeBackground(), TQObject::Connect(), TGFileContainer::DisplayDirectory(), fCancelButton, TGObject::fClient, fContents, fListView, fLVContainer, fName, fNameBuf, fOkButton, gClient, TGClient::GetColorByName(), TGFrame::GetDefaultHeight(), TGClient::GetDefaultRoot(), TGCompositeFrame::GetDefaultSize(), TGObject::GetId(), TGFrame::GetWhitePixel(), gVirtualX, kDeepCleanup, kFALSE, kHorizontalFrame, kLHintsCenterX, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLVSmallIcons, kSunkenFrame, TGCompositeFrame::Layout(), main(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Move(), p, TGFrame::Resize(), TGCompositeFrame::SetCleanup(), TGLVContainer::SetDefaultHeaders(), TGButton::SetEnabled(), TGTextEntry::SetEnabled(), TGFileContainer::SetFilter(), TGLVContainer::SetViewMode(), TGMainFrame::SetWindowName(), TGFileContainer::StopRefreshTimer(), TGCompositeFrame::TGCompositeFrame(), UpdateList(), and white.

TNewChainDlg::~TNewChainDlg (  )  [virtual]

Definition at line 167 of file TSessionDialogs.cxx.

References TGCompositeFrame::Cleanup(), fContents, fLVContainer, and TObject::IsZombie().

TNewChainDlg::TNewChainDlg ( const TGWindow p = 0,
const TGWindow main = 0 
)

virtual TNewChainDlg::~TNewChainDlg (  )  [virtual]


Member Function Documentation

void TNewChainDlg::UpdateList (  ) 

Definition at line 208 of file TSessionDialogs.cxx.

References TGLVContainer::AddItem(), xmlio::Class, fChains, TGObject::fClient, fLVContainer, TROOT::GetListOfDataSets(), TGWindow::GetName(), TObject::GetTitle(), gROOT, TGClient::NeedRedraw(), TGContainer::RemoveAll(), TGFrame::Resize(), TGLVEntry::SetUserData(), and title.

Referenced by OnDoubleClick(), and TNewChainDlg().

void TNewChainDlg::OnDoubleClick ( TGLVEntry ,
Int_t   
) [virtual]

Definition at line 256 of file TSessionDialogs.cxx.

References command, DisplayDirectory(), fContents, TString::Format(), gApplication, TGFileContainer::GetDirectory(), TGObject::GetId(), gSystem, gVirtualX, kButton1, kPointer, kWatch, name, TApplication::ProcessLine(), TSystem::UnixPathName(), and UpdateList().

Referenced by ProcessMessage().

void TNewChainDlg::DisplayDirectory ( const TString fname  )  [virtual]

Definition at line 243 of file TSessionDialogs.cxx.

References TGFileContainer::AddFile(), TGFileContainer::ChangeDirectory(), TSystem::ChangeDirectory(), TGFileContainer::DisplayDirectory(), fContents, gSystem, TGFrame::Resize(), and TGLVContainer::SetDefaultHeaders().

Referenced by OnDoubleClick().

void TNewChainDlg::OnElementClicked ( TGLVEntry entry,
Int_t  btn 
)

Definition at line 188 of file TSessionDialogs.cxx.

References xmlio::Class, entry, fChain, fName, fOkButton, TString::Format(), TGWindow::GetName(), TObject::GetTitle(), kTRUE, s, TGButton::SetEnabled(), and TGTextEntry::SetText().

void TNewChainDlg::OnElementSelected ( TObject obj  ) 

Definition at line 177 of file TSessionDialogs.cxx.

References xmlio::Class, and TQObject::Emit().

Referenced by ProcessMessage().

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

Reimplemented from TGCompositeFrame.

Definition at line 282 of file TSessionDialogs.cxx.

References TGFrame::DeleteWindow(), fChain, fContents, fOkButton, GET_MSG(), GET_SUBMSG(), TGContainer::GetLastActive(), kButton1, kC_COMMAND, kC_CONTAINER, kCM_BUTTON, kCT_ITEMDBLCLICK, kFALSE, kTRUE, OnDoubleClick(), OnElementSelected(), and TGButton::SetEnabled().

void TNewChainDlg::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 326 of file TSessionDialogs.cxx.

References TGFrame::DeleteWindow().

void TNewChainDlg::UpdateList (  ) 

virtual void TNewChainDlg::OnDoubleClick ( TGLVEntry ,
Int_t   
) [virtual]

virtual void TNewChainDlg::DisplayDirectory ( const TString fname  )  [virtual]

void TNewChainDlg::OnElementClicked ( TGLVEntry entry,
Int_t  btn 
)

void TNewChainDlg::OnElementSelected ( TObject obj  ) 

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

Reimplemented from TGCompositeFrame.

virtual void TNewChainDlg::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.


Member Data Documentation

TGFileContainer* TNewChainDlg::fContents [private]

Definition at line 49 of file TSessionDialogs.h.

Referenced by DisplayDirectory(), OnDoubleClick(), ProcessMessage(), TNewChainDlg(), and ~TNewChainDlg().

TGListView* TNewChainDlg::fListView [private]

Definition at line 50 of file TSessionDialogs.h.

Referenced by TNewChainDlg().

TGLVContainer* TNewChainDlg::fLVContainer [private]

Definition at line 51 of file TSessionDialogs.h.

Referenced by TNewChainDlg(), UpdateList(), and ~TNewChainDlg().

TGTextBuffer* TNewChainDlg::fNameBuf [private]

Definition at line 52 of file TSessionDialogs.h.

Referenced by TNewChainDlg().

TGTextEntry* TNewChainDlg::fName [private]

Reimplemented from TGWindow.

Definition at line 53 of file TSessionDialogs.h.

Referenced by OnElementClicked(), and TNewChainDlg().

TGTextButton* TNewChainDlg::fOkButton [private]

Definition at line 54 of file TSessionDialogs.h.

Referenced by OnElementClicked(), ProcessMessage(), and TNewChainDlg().

TGTextButton* TNewChainDlg::fCancelButton [private]

Definition at line 55 of file TSessionDialogs.h.

Referenced by TNewChainDlg().

TSeqCollection* TNewChainDlg::fChains [private]

Definition at line 56 of file TSessionDialogs.h.

Referenced by UpdateList().

TObject* TNewChainDlg::fChain [private]

Definition at line 57 of file TSessionDialogs.h.

Referenced by OnElementClicked(), and ProcessMessage().

TGFileContainer* TNewChainDlg::fContents [private]

Definition at line 49 of file TSessionDialogs.h.

TGListView* TNewChainDlg::fListView [private]

Definition at line 50 of file TSessionDialogs.h.

TGLVContainer* TNewChainDlg::fLVContainer [private]

Definition at line 51 of file TSessionDialogs.h.

TGTextBuffer* TNewChainDlg::fNameBuf [private]

Definition at line 52 of file TSessionDialogs.h.

TGTextEntry* TNewChainDlg::fName [private]

Reimplemented from TGWindow.

Definition at line 53 of file TSessionDialogs.h.

TGTextButton* TNewChainDlg::fOkButton [private]

Definition at line 54 of file TSessionDialogs.h.

TGTextButton* TNewChainDlg::fCancelButton [private]

Definition at line 55 of file TSessionDialogs.h.

TSeqCollection* TNewChainDlg::fChains [private]

Definition at line 56 of file TSessionDialogs.h.

TObject* TNewChainDlg::fChain [private]

Definition at line 57 of file TSessionDialogs.h.


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