TGuiBldNameFrame Class Reference

#include <TGuiBldNameFrame.h>

Inheritance diagram for TGuiBldNameFrame:

TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 TGuiBldNameFrame (const TGWindow *p, TGuiBldEditor *editor)
virtual ~TGuiBldNameFrame ()
void ChangeSelected (TGFrame *frame)
Bool_t CheckItems (TGCompositeFrame *main)
TGListTreeItem * FindItemByName (TGListTree *tree, const char *name, TGListTreeItem *item=0)
TGCompositeFrame * GetMdi (TGFrame *frame)
void MapItems (TGCompositeFrame *main)
void RemoveFrame (TGFrame *frame)
void Reset ()
void SelectFrameByItem (TGListTreeItem *item, Int_t i=0)
void UpdateName ()
 TGuiBldNameFrame (const TGWindow *p, TGuiBldEditor *editor)
virtual ~TGuiBldNameFrame ()
void ChangeSelected (TGFrame *frame)
Bool_t CheckItems (TGCompositeFrame *main)
TGListTreeItem * FindItemByName (TGListTree *tree, const char *name, TGListTreeItem *item=0)
TGCompositeFrame * GetMdi (TGFrame *frame)
void MapItems (TGCompositeFrame *main)
void RemoveFrame (TGFrame *frame)
void Reset ()
void SelectFrameByItem (TGListTreeItem *item, Int_t i=0)
void UpdateName ()

Protected Member Functions

void DoRedraw ()
void DoRedraw ()

Private Attributes

TGLabel * fLabel
TGTextEntry * fFrameName
TGuiBldEditor * fEditor
TGCompositeFrame * fTitleFrame
TRootGuiBuilder * fBuilder
TGuiBldDragManager * fManager
TGListTree * fListTree
TGCanvas * fCanvas
TGLabel * fLabel
TGTextEntry * fFrameName
TGuiBldEditor * fEditor
TGCompositeFrame * fTitleFrame
TRootGuiBuilder * fBuilder
TGuiBldDragManager * fManager
TGListTree * fListTree
TGCanvas * fCanvas

Detailed Description

Definition at line 41 of file TGuiBldNameFrame.h.


Constructor & Destructor Documentation

TGuiBldNameFrame::TGuiBldNameFrame ( const TGWindow *  p,
TGuiBldEditor *  editor 
)

Referenced by G__G__GuiBld_269_0_2().

virtual TGuiBldNameFrame::~TGuiBldNameFrame (  )  [inline, virtual]

Definition at line 58 of file TGuiBldNameFrame.h.

TGuiBldNameFrame::TGuiBldNameFrame ( const TGWindow *  p,
TGuiBldEditor *  editor 
)

virtual TGuiBldNameFrame::~TGuiBldNameFrame (  )  [inline, virtual]

Definition at line 58 of file TGuiBldNameFrame.h.


Member Function Documentation

void TGuiBldNameFrame::DoRedraw (  )  [protected, virtual]

Reimplemented from TGFrame.

Definition at line 108 of file TGuiBldNameFrame.cxx.

References TGFrame::DoRedraw().

Referenced by ChangeSelected(), Reset(), and UpdateName().

void TGuiBldNameFrame::ChangeSelected ( TGFrame *  frame  ) 

Definition at line 128 of file TGuiBldNameFrame.cxx.

References CheckItems(), TObject::ClassName(), TQObject::Disconnect(), DoRedraw(), fCanvas, TGObject::fClient, fFrameName, TGListTree::FindItemByObj(), fLabel, fListTree, TGListTree::GetFirstItem(), GetMdi(), TGWindow::GetName(), TGListTreeItem::GetUserData(), TGListTree::HighlightItem(), kTRUE, main(), MapItems(), name, TGClient::NeedRedraw(), TGListTree::OpenItem(), Reset(), TGFrame::Resize(), TGTextEntry::SetText(), and TGLabel::SetText().

Referenced by TGuiBldEditor::ChangeSelected(), G__G__GuiBld_223_0_15(), G__G__GuiBld_226_0_18(), G__G__GuiBld_243_0_3(), G__G__GuiBld_268_0_3(), and G__G__GuiBld_269_0_3().

Bool_t TGuiBldNameFrame::CheckItems ( TGCompositeFrame *  main  ) 

Definition at line 296 of file TGuiBldNameFrame.cxx.

References TGListTree::AddItem(), xmlio::Class, TGFrameElement::fFrame, TGListTree::FindItemByObj(), fListTree, TGListTree::GetFirstItem(), TGWindow::GetName(), TGWindow::GetParent(), TGListTreeItem::GetParent(), TGListTreeItem::GetUserData(), TObject::InheritsFrom(), kFALSE, list, main(), par, and TGListTree::Reparent().

Referenced by ChangeSelected(), and G__G__GuiBld_269_0_4().

TGListTreeItem * TGuiBldNameFrame::FindItemByName ( TGListTree *  tree,
const char *  name,
TGListTreeItem *  item = 0 
)

Definition at line 355 of file TGuiBldNameFrame.cxx.

References TGListTreeItem::GetFirstChild(), TGListTreeItem::GetNextSibling(), and TGListTreeItem::GetText().

Referenced by G__G__GuiBld_269_0_5(), and UpdateName().

TGCompositeFrame * TGuiBldNameFrame::GetMdi ( TGFrame *  frame  ) 

Definition at line 228 of file TGuiBldNameFrame.cxx.

References xmlio::Class, TGObject::fClient, TGClient::GetDefaultRoot(), and p.

Referenced by ChangeSelected(), G__G__GuiBld_269_0_6(), TGuiBldEditor::SwitchLayout(), and UpdateName().

void TGuiBldNameFrame::MapItems ( TGCompositeFrame *  main  ) 

Definition at line 247 of file TGuiBldNameFrame.cxx.

References TGListTree::AddItem(), xmlio::Class, TGFrameElement::fFrame, TGListTree::FindChildByData(), TGListTree::FindItemByObj(), fListTree, TGListTree::GetFirstItem(), TGWindow::GetName(), TGWindow::GetParent(), TObject::InheritsFrom(), list, main(), par, and result().

Referenced by ChangeSelected(), G__G__GuiBld_269_0_7(), and UpdateName().

void TGuiBldNameFrame::RemoveFrame ( TGFrame *  frame  )  [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 343 of file TGuiBldNameFrame.cxx.

References TGListTree::DeleteItem(), TGListTree::FindItemByObj(), fListTree, and TGListTree::GetFirstItem().

Referenced by TGuiBldEditor::RemoveFrame().

void TGuiBldNameFrame::Reset (  ) 

Definition at line 118 of file TGuiBldNameFrame.cxx.

References DoRedraw(), fFrameName, fLabel, TGLabel::SetText(), and TGTextEntry::SetText().

Referenced by ChangeSelected(), G__G__GuiBld_226_0_13(), G__G__GuiBld_269_0_9(), and TGuiBldEditor::Reset().

void TGuiBldNameFrame::SelectFrameByItem ( TGListTreeItem *  item,
Int_t  i = 0 
)

Definition at line 378 of file TGuiBldNameFrame.cxx.

References TGObject::fClient, fManager, TGWindow::GetParent(), TGListTreeItem::GetUserData(), kTRUE, TGClient::NeedRedraw(), TGuiBldDragManager::SelectFrame(), TGCompositeFrame::SetEditable(), and TGFrame::SetEditable().

Referenced by G__G__GuiBld_269_0_10().

void TGuiBldNameFrame::UpdateName (  ) 

Definition at line 183 of file TGuiBldNameFrame.cxx.

References TGListTree::DeleteItem(), DoRedraw(), fBuilder, TGObject::fClient, fEditor, fFrameName, FindItemByName(), fListTree, TGClient::GetDefaultRoot(), TGListTree::GetFirstItem(), TRootGuiBuilder::GetManager(), GetMdi(), TGWindow::GetParent(), TGuiBldEditor::GetSelected(), TGTextEntry::GetText(), kFALSE, kMBIconExclamation, kMBOk, kTRUE, main(), MapItems(), TGClient::NeedRedraw(), retval, TGuiBldDragManager::SelectFrame(), TGCompositeFrame::SetEditable(), TGuiBldDragManager::SetEditable(), TGFrame::SetEditable(), TGWindow::SetName(), and TRootGuiBuilder::UpdateStatusBar().

Referenced by G__G__GuiBld_269_0_11().

void TGuiBldNameFrame::DoRedraw (  )  [protected, virtual]

Reimplemented from TGFrame.

void TGuiBldNameFrame::ChangeSelected ( TGFrame *  frame  ) 

Bool_t TGuiBldNameFrame::CheckItems ( TGCompositeFrame *  main  ) 

TGListTreeItem* TGuiBldNameFrame::FindItemByName ( TGListTree *  tree,
const char *  name,
TGListTreeItem *  item = 0 
)

TGCompositeFrame* TGuiBldNameFrame::GetMdi ( TGFrame *  frame  ) 

void TGuiBldNameFrame::MapItems ( TGCompositeFrame *  main  ) 

void TGuiBldNameFrame::RemoveFrame ( TGFrame *  frame  )  [virtual]

Reimplemented from TGCompositeFrame.

void TGuiBldNameFrame::Reset (  ) 

void TGuiBldNameFrame::SelectFrameByItem ( TGListTreeItem *  item,
Int_t  i = 0 
)

void TGuiBldNameFrame::UpdateName (  ) 


Member Data Documentation

TGLabel* TGuiBldNameFrame::fLabel [private]

Definition at line 44 of file TGuiBldNameFrame.h.

Referenced by ChangeSelected(), and Reset().

TGTextEntry* TGuiBldNameFrame::fFrameName [private]

Definition at line 45 of file TGuiBldNameFrame.h.

Referenced by ChangeSelected(), Reset(), and UpdateName().

TGuiBldEditor* TGuiBldNameFrame::fEditor [private]

Definition at line 46 of file TGuiBldNameFrame.h.

Referenced by UpdateName().

TGCompositeFrame* TGuiBldNameFrame::fTitleFrame [private]

Definition at line 47 of file TGuiBldNameFrame.h.

TRootGuiBuilder* TGuiBldNameFrame::fBuilder [private]

Definition at line 48 of file TGuiBldNameFrame.h.

Referenced by UpdateName().

TGuiBldDragManager* TGuiBldNameFrame::fManager [private]

Definition at line 49 of file TGuiBldNameFrame.h.

Referenced by SelectFrameByItem().

TGListTree* TGuiBldNameFrame::fListTree [private]

Definition at line 50 of file TGuiBldNameFrame.h.

Referenced by ChangeSelected(), CheckItems(), MapItems(), RemoveFrame(), and UpdateName().

TGCanvas* TGuiBldNameFrame::fCanvas [private]

Definition at line 51 of file TGuiBldNameFrame.h.

Referenced by ChangeSelected().

TGLabel* TGuiBldNameFrame::fLabel [private]

Definition at line 44 of file TGuiBldNameFrame.h.

TGTextEntry* TGuiBldNameFrame::fFrameName [private]

Definition at line 45 of file TGuiBldNameFrame.h.

TGuiBldEditor* TGuiBldNameFrame::fEditor [private]

Definition at line 46 of file TGuiBldNameFrame.h.

TGCompositeFrame* TGuiBldNameFrame::fTitleFrame [private]

Definition at line 47 of file TGuiBldNameFrame.h.

TRootGuiBuilder* TGuiBldNameFrame::fBuilder [private]

Definition at line 48 of file TGuiBldNameFrame.h.

TGuiBldDragManager* TGuiBldNameFrame::fManager [private]

Definition at line 49 of file TGuiBldNameFrame.h.

TGListTree* TGuiBldNameFrame::fListTree [private]

Definition at line 50 of file TGuiBldNameFrame.h.

TGCanvas* TGuiBldNameFrame::fCanvas [private]

Definition at line 51 of file TGuiBldNameFrame.h.


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