TEveCompositeFrame Class Reference

#include <TEveWindow.h>

Inheritance diagram for TEveCompositeFrame:

TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TEveCompositeFrameInMainFrame TEveCompositeFrameInMainFrame TEveCompositeFrameInPack TEveCompositeFrameInPack TEveCompositeFrameInTab TEveCompositeFrameInTab List of all members.

Public Types

typedef TGFrame *(*) IconBarCreator_foo (TEveCompositeFrame *, TGCompositeFrame *, Int_t)
typedef TGFrame *(*) IconBarCreator_foo (TEveCompositeFrame *, TGCompositeFrame *, Int_t)

Public Member Functions

 TEveCompositeFrame (TGCompositeFrame *gui_parent, TEveWindow *eve_parent)
virtual ~TEveCompositeFrame ()
virtual void WindowNameChanged (const TString &name)
virtual void Destroy ()=0
virtual void AcquireEveWindow (TEveWindow *ew)
virtual TEveWindowRelinquishEveWindow (Bool_t reparent=kTRUE)
TEveWindowGetEveWindow () const
TEveWindowGetEveParentAsWindow () const
virtual void SetCurrent (Bool_t curr)
virtual void SetShowTitleBar (Bool_t show)
virtual void HideAllDecorations ()
virtual void ShowNormalDecorations ()
void ActionPressed ()
void FlipTitleBarState ()
void TitleBarClicked ()
 ClassDef (TEveCompositeFrame, 0)
 TEveCompositeFrame (TGCompositeFrame *gui_parent, TEveWindow *eve_parent)
virtual ~TEveCompositeFrame ()
virtual void WindowNameChanged (const TString &name)
virtual void Destroy ()=0
virtual void AcquireEveWindow (TEveWindow *ew)
virtual TEveWindowRelinquishEveWindow (Bool_t reparent=kTRUE)
TEveWindowGetEveWindow () const
TEveWindowGetEveParentAsWindow () const
virtual void SetCurrent (Bool_t curr)
virtual void SetShowTitleBar (Bool_t show)
virtual void HideAllDecorations ()
virtual void ShowNormalDecorations ()
void ActionPressed ()
void FlipTitleBarState ()
void TitleBarClicked ()
 ClassDef (TEveCompositeFrame, 0)

Static Public Member Functions

static void SetupFrameMarkup (IconBarCreator_foo creator, UInt_t top_frame_height=14, UInt_t mini_bar_height=4, Bool_t allow_top_collapse=kTRUE)
static void SetupFrameMarkup (IconBarCreator_foo creator, UInt_t top_frame_height=14, UInt_t mini_bar_height=4, Bool_t allow_top_collapse=kTRUE)

Protected Attributes

TGCompositeFramefTopFrame
TGTextButtonfToggleBar
TGTextButtonfTitleBar
TGFramefIconBar
TGLayoutHintsfEveWindowLH
TGFramefMiniBar
TEveElementfEveParent
TEveWindowfEveWindow
Bool_t fShowInSync
TGCompositeFramefTopFrame
TGTextButtonfToggleBar
TGTextButtonfTitleBar
TGFramefIconBar
TGLayoutHintsfEveWindowLH
TGFramefMiniBar
TEveElementfEveParent
TEveWindowfEveWindow

Static Protected Attributes

static TContextMenufgCtxMenu
static const TString fgkEmptyFrameName
static TListfgFrameList
static TContextMenufgCtxMenu
static TListfgFrameList

Private Member Functions

 TEveCompositeFrame (const TEveCompositeFrame &)
TEveCompositeFrameoperator= (const TEveCompositeFrame &)
 TEveCompositeFrame (const TEveCompositeFrame &)
TEveCompositeFrameoperator= (const TEveCompositeFrame &)

Static Private Attributes

static IconBarCreator_foo fgIconBarCreator
static UInt_t fgTopFrameHeight
static UInt_t fgMiniBarHeight
static Bool_t fgAllowTopFrameCollapse

Friends

class TEveWindow
class TEveWindowManager

Detailed Description

Definition at line 39 of file TEveWindow.h.


Member Typedef Documentation

typedef TGFrame*(*) TEveCompositeFrame::IconBarCreator_foo(TEveCompositeFrame *, TGCompositeFrame *, Int_t)

Definition at line 45 of file TEveWindow.h.

typedef TGFrame*(*) TEveCompositeFrame::IconBarCreator_foo(TEveCompositeFrame *, TGCompositeFrame *, Int_t)

Definition at line 45 of file TEveWindow.h.


Constructor & Destructor Documentation

TEveCompositeFrame::TEveCompositeFrame ( const TEveCompositeFrame  )  [private]

TEveCompositeFrame::TEveCompositeFrame ( TGCompositeFrame gui_parent,
TEveWindow eve_parent 
)

Definition at line 95 of file TEveWindow.cxx.

References TList::Add(), TGCompositeFrame::AddFrame(), b, TGFrame::ChangeOptions(), TQObject::Connect(), fEveParent, fEveWindowLH, fgAllowTopFrameCollapse, fgFrameList, fgIconBarCreator, fgMiniBarHeight, fgTopFrameHeight, fIconBar, fMiniBar, fTitleBar, fToggleBar, fTopFrame, TEveWindow::GetMiniBarBackgroundColor(), TEveManager::GetWindowManager(), gEve, TGCompositeFrame::HideFrame(), kFALSE, kFixedHeight, kLHintsExpandX, kLHintsExpandY, kLHintsNormal, kLocalCleanup, kRaisedFrame, TGCompositeFrame::MapSubwindows(), TGFrame::Resize(), TGFrame::SetBackgroundColor(), TGCompositeFrame::SetCleanup(), and TGCompositeFrame::SetMapSubwindows().

TEveCompositeFrame::~TEveCompositeFrame (  )  [virtual]

Definition at line 180 of file TEveWindow.cxx.

References TEveWindow::ClearEveFrame(), fEveWindow, fEveWindowLH, fgFrameList, gDebug, TEveElementList::GetElementName(), TObject::Info(), RelinquishEveWindow(), and TList::Remove().

TEveCompositeFrame::TEveCompositeFrame ( const TEveCompositeFrame  )  [private]

TEveCompositeFrame::TEveCompositeFrame ( TGCompositeFrame gui_parent,
TEveWindow eve_parent 
)

virtual TEveCompositeFrame::~TEveCompositeFrame (  )  [virtual]


Member Function Documentation

TEveCompositeFrame& TEveCompositeFrame::operator= ( const TEveCompositeFrame  )  [private]

void TEveCompositeFrame::WindowNameChanged ( const TString name  )  [virtual]

Definition at line 204 of file TEveWindow.cxx.

References fTitleBar, name, and TGTextButton::SetText().

Referenced by AcquireEveWindow(), TEveWindow::NameTitleChanged(), RelinquishEveWindow(), TEveCompositeFrameInMainFrame::WindowNameChanged(), and TEveCompositeFrameInTab::WindowNameChanged().

virtual void TEveCompositeFrame::Destroy (  )  [pure virtual]

Referenced by TEveWindow::DestroyWindowAndSlot().

void TEveCompositeFrame::AcquireEveWindow ( TEveWindow ew  )  [virtual]

Definition at line 214 of file TEveWindow.cxx.

References TGCompositeFrame::AddFrame(), fEveWindow, fEveWindowLH, TEveElementList::GetElementName(), TEveWindow::GetGUIFrame(), TEveWindow::GetShowTitleBar(), TEveElement::IncDenyDestroy(), TEveWindow::IsCurrent(), TGFrame::MapWindow(), TEveWindow::PostDock(), TGFrame::ReparentWindow(), SetCurrent(), SetShowTitleBar(), and WindowNameChanged().

Referenced by TEveWindow::PopulateEmptyFrame(), TEveWindow::ReplaceWindow(), and TEveWindow::SwapWindows().

TEveWindow * TEveCompositeFrame::RelinquishEveWindow ( Bool_t  reparent = kTRUE  )  [virtual]

Definition at line 250 of file TEveWindow.cxx.

References TEveElement::DecDenyDestroy(), TGObject::fClient, fEveWindow, fgkEmptyFrameName, TGClient::GetDefaultRoot(), TEveWindow::GetGUIFrame(), kFALSE, TEveWindow::PreUndock(), TGCompositeFrame::RemoveFrame(), TGFrame::ReparentWindow(), SetCurrent(), TGFrame::UnmapWindow(), and WindowNameChanged().

Referenced by TEveWindow::DestroyWindow(), TEveWindow::DestroyWindowAndSlot(), TEveWindow::ReplaceWindow(), TEveWindow::SwapWindows(), and ~TEveCompositeFrame().

TEveWindow* TEveCompositeFrame::GetEveWindow (  )  const [inline]

Definition at line 86 of file TEveWindow.h.

References fEveWindow.

TEveWindow * TEveCompositeFrame::GetEveParentAsWindow (  )  const

Definition at line 276 of file TEveWindow.cxx.

References fEveParent.

Referenced by TEveWindow::UndockWindow(), and TEveWindow::UndockWindowDestroySlot().

void TEveCompositeFrame::SetCurrent ( Bool_t  curr  )  [virtual]

Definition at line 284 of file TEveWindow.cxx.

References TGObject::fClient, fTitleBar, TEveWindow::GetCurrentBackgroundColor(), TGFrame::GetDefaultFrameBackground(), TGClient::NeedRedraw(), and TGFrame::SetBackgroundColor().

Referenced by AcquireEveWindow(), RelinquishEveWindow(), TEveWindow::SetCurrent(), and TEveCompositeFrameInTab::SetCurrent().

void TEveCompositeFrame::SetShowTitleBar ( Bool_t  show  )  [virtual]

Definition at line 298 of file TEveWindow.cxx.

References fEveWindow, fMiniBar, fShowInSync, fTopFrame, TEveWindow::GetShowTitleBar(), TGCompositeFrame::HideFrame(), and TGCompositeFrame::ShowFrame().

Referenced by AcquireEveWindow(), FlipTitleBarState(), TEveWindow::SetShowTitleBar(), TEveWindowManager::SetShowTitleBars(), and ShowNormalDecorations().

void TEveCompositeFrame::HideAllDecorations (  )  [virtual]

Definition at line 315 of file TEveWindow.cxx.

References fMiniBar, fShowInSync, fTopFrame, TGCompositeFrame::HideFrame(), and kFALSE.

Referenced by TEveWindowManager::HideAllEveDecorations().

void TEveCompositeFrame::ShowNormalDecorations (  )  [virtual]

Definition at line 326 of file TEveWindow.cxx.

References fEveWindow, TEveWindow::GetShowTitleBar(), and SetShowTitleBar().

Referenced by TEveWindowManager::ShowNormalEveDecorations().

void TEveCompositeFrame::ActionPressed (  ) 

Definition at line 334 of file TEveWindow.cxx.

References fEveWindow, fgCtxMenu, fIconBar, gClient, TGClient::GetDefaultRoot(), TGObject::GetId(), gVirtualX, h, TContextMenu::Popup(), w, x, and y.

void TEveCompositeFrame::FlipTitleBarState (  ) 

Definition at line 355 of file TEveWindow.cxx.

References fEveWindow, TEveWindow::FlipShowTitleBar(), fShowInSync, TEveWindow::GetShowTitleBar(), and SetShowTitleBar().

void TEveCompositeFrame::TitleBarClicked (  ) 

Definition at line 367 of file TEveWindow.cxx.

References fEveWindow, and TEveWindow::TitleBarClicked().

void TEveCompositeFrame::SetupFrameMarkup ( IconBarCreator_foo  creator,
UInt_t  top_frame_height = 14,
UInt_t  mini_bar_height = 4,
Bool_t  allow_top_collapse = kTRUE 
) [static]

Definition at line 80 of file TEveWindow.cxx.

References fgAllowTopFrameCollapse, fgIconBarCreator, fgMiniBarHeight, and fgTopFrameHeight.

Referenced by G__G__Eve1_726_0_17(), and G__setup_memfuncTEveCompositeFrame().

TEveCompositeFrame::ClassDef ( TEveCompositeFrame  ,
 
)

TEveCompositeFrame& TEveCompositeFrame::operator= ( const TEveCompositeFrame  )  [private]

virtual void TEveCompositeFrame::WindowNameChanged ( const TString name  )  [virtual]

virtual void TEveCompositeFrame::Destroy (  )  [pure virtual]

virtual void TEveCompositeFrame::AcquireEveWindow ( TEveWindow ew  )  [virtual]

virtual TEveWindow* TEveCompositeFrame::RelinquishEveWindow ( Bool_t  reparent = kTRUE  )  [virtual]

TEveWindow* TEveCompositeFrame::GetEveWindow (  )  const [inline]

Definition at line 86 of file TEveWindow.h.

References fEveWindow.

TEveWindow* TEveCompositeFrame::GetEveParentAsWindow (  )  const

virtual void TEveCompositeFrame::SetCurrent ( Bool_t  curr  )  [virtual]

virtual void TEveCompositeFrame::SetShowTitleBar ( Bool_t  show  )  [virtual]

virtual void TEveCompositeFrame::HideAllDecorations (  )  [virtual]

virtual void TEveCompositeFrame::ShowNormalDecorations (  )  [virtual]

void TEveCompositeFrame::ActionPressed (  ) 

void TEveCompositeFrame::FlipTitleBarState (  ) 

void TEveCompositeFrame::TitleBarClicked (  ) 

static void TEveCompositeFrame::SetupFrameMarkup ( IconBarCreator_foo  creator,
UInt_t  top_frame_height = 14,
UInt_t  mini_bar_height = 4,
Bool_t  allow_top_collapse = kTRUE 
) [static]

TEveCompositeFrame::ClassDef ( TEveCompositeFrame  ,
 
)


Friends And Related Function Documentation

TEveWindow [friend]

Definition at line 41 of file TEveWindow.h.

TEveWindowManager [friend]

Definition at line 42 of file TEveWindow.h.


Member Data Documentation

static IconBarCreator_foo TEveCompositeFrame::fgIconBarCreator [static, private]

Definition at line 51 of file TEveWindow.h.

Referenced by SetupFrameMarkup(), and TEveCompositeFrame().

static UInt_t TEveCompositeFrame::fgTopFrameHeight [static, private]

Definition at line 52 of file TEveWindow.h.

Referenced by SetupFrameMarkup(), and TEveCompositeFrame().

static UInt_t TEveCompositeFrame::fgMiniBarHeight [static, private]

Definition at line 53 of file TEveWindow.h.

Referenced by SetupFrameMarkup(), and TEveCompositeFrame().

static Bool_t TEveCompositeFrame::fgAllowTopFrameCollapse [static, private]

Definition at line 54 of file TEveWindow.h.

Referenced by SetupFrameMarkup(), and TEveCompositeFrame().

TGCompositeFrame* TEveCompositeFrame::fTopFrame [protected]

Definition at line 57 of file TEveWindow.h.

Referenced by HideAllDecorations(), SetShowTitleBar(), and TEveCompositeFrame().

TGTextButton* TEveCompositeFrame::fToggleBar [protected]

Definition at line 58 of file TEveWindow.h.

Referenced by TEveCompositeFrame().

TGTextButton* TEveCompositeFrame::fTitleBar [protected]

Definition at line 59 of file TEveWindow.h.

Referenced by SetCurrent(), TEveCompositeFrame(), and WindowNameChanged().

TGFrame* TEveCompositeFrame::fIconBar [protected]

Definition at line 60 of file TEveWindow.h.

Referenced by ActionPressed(), and TEveCompositeFrame().

TGLayoutHints* TEveCompositeFrame::fEveWindowLH [protected]

Definition at line 61 of file TEveWindow.h.

Referenced by AcquireEveWindow(), TEveCompositeFrame(), and ~TEveCompositeFrame().

TGFrame* TEveCompositeFrame::fMiniBar [protected]

Definition at line 63 of file TEveWindow.h.

Referenced by HideAllDecorations(), SetShowTitleBar(), and TEveCompositeFrame().

TEveElement* TEveCompositeFrame::fEveParent [protected]

Definition at line 65 of file TEveWindow.h.

Referenced by TEveWindow::DestroyWindow(), GetEveParentAsWindow(), TEveWindow::IsAncestorOf(), TEveWindow::PopulateEmptyFrame(), TEveWindow::ReplaceWindow(), TEveWindow::SwapWindows(), and TEveCompositeFrame().

TEveWindow* TEveCompositeFrame::fEveWindow [protected]

Definition at line 66 of file TEveWindow.h.

Referenced by AcquireEveWindow(), ActionPressed(), TEveCompositeFrameInPack::Destroy(), TEveCompositeFrameInTab::Destroy(), TEveCompositeFrameInMainFrame::Destroy(), FlipTitleBarState(), GetEveWindow(), TEveCompositeFrameInMainFrame::MainFrameClosed(), RelinquishEveWindow(), SetShowTitleBar(), ShowNormalDecorations(), TitleBarClicked(), and ~TEveCompositeFrame().

Bool_t TEveCompositeFrame::fShowInSync [protected]

Definition at line 68 of file TEveWindow.h.

Referenced by FlipTitleBarState(), HideAllDecorations(), and SetShowTitleBar().

TContextMenu * TEveCompositeFrame::fgCtxMenu [static, protected]

Definition at line 70 of file TEveWindow.h.

Referenced by ActionPressed().

static const TString TEveCompositeFrame::fgkEmptyFrameName [static, protected]

Definition at line 71 of file TEveWindow.h.

Referenced by RelinquishEveWindow().

TList * TEveCompositeFrame::fgFrameList [static, protected]

Definition at line 73 of file TEveWindow.h.

Referenced by TEveWindowManager::HideAllEveDecorations(), TEveWindowManager::SetShowTitleBars(), TEveWindowManager::ShowNormalEveDecorations(), TEveCompositeFrame(), and ~TEveCompositeFrame().

TGCompositeFrame* TEveCompositeFrame::fTopFrame [protected]

Definition at line 57 of file TEveWindow.h.

TGTextButton* TEveCompositeFrame::fToggleBar [protected]

Definition at line 58 of file TEveWindow.h.

TGTextButton* TEveCompositeFrame::fTitleBar [protected]

Definition at line 59 of file TEveWindow.h.

TGFrame* TEveCompositeFrame::fIconBar [protected]

Definition at line 60 of file TEveWindow.h.

TGLayoutHints* TEveCompositeFrame::fEveWindowLH [protected]

Definition at line 61 of file TEveWindow.h.

TGFrame* TEveCompositeFrame::fMiniBar [protected]

Definition at line 63 of file TEveWindow.h.

TEveElement* TEveCompositeFrame::fEveParent [protected]

Definition at line 65 of file TEveWindow.h.

TEveWindow* TEveCompositeFrame::fEveWindow [protected]

Definition at line 66 of file TEveWindow.h.

TContextMenu* TEveCompositeFrame::fgCtxMenu [static, protected]

Definition at line 70 of file TEveWindow.h.

TList* TEveCompositeFrame::fgFrameList [static, protected]

Definition at line 73 of file TEveWindow.h.


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