Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveWindowManager.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Author: Matevz Tadel 2007
3
4/*************************************************************************
5 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TEveWindowManager
13#define ROOT_TEveWindowManager
14
15#include "TEveElement.h"
16#include "TQObject.h"
17
18class TEveWindow;
19class TEveWindowSlot;
20
22 public TQObject
23{
24private:
25 TEveWindowManager(const TEveWindowManager&); // Not implemented
26 TEveWindowManager& operator=(const TEveWindowManager&); // Not implemented
27
28protected:
31
33
34public:
35 TEveWindowManager(const char* n="TEveWindowManager", const char* t="");
36 virtual ~TEveWindowManager();
37
38 void SelectWindow(TEveWindow* w);
39 void DeleteWindow(TEveWindow* w);
40
41 void WindowDocked(TEveWindow* window); // *SIGNAL*
42 void WindowUndocked (TEveWindow* window); // *SIGNAL*
43 void WindowSelected(TEveWindow* window); // *SIGNAL*
44 void WindowDeleted (TEveWindow* window); // *SIGNAL*
45
47 Bool_t IsCurrentWindow(const TEveWindow* w) const { return w == fCurrentWindow; }
49
53
54 void DestroyWindows();
55
56 // Global frame decoration control.
57
60 void SetShowTitleBars(Bool_t state);
61
62 ClassDef(TEveWindowManager, 0); // Manager for EVE windows.
63};
64
65#endif
bool Bool_t
Definition RtypesCore.h:63
#define ClassDef(name, id)
Definition Rtypes.h:325
A list of TEveElements.
Manager for EVE windows.
void ShowNormalEveDecorations()
Show eve decorations (title-bar or mini-bar) as specified for the contained window on all frames.
void SetShowTitleBars(Bool_t state)
Set show title-bar state on all frames.
void WindowUndocked(TEveWindow *window)
Emit the "WindowUndocked(TEveWindow*)" signal.
TEveWindowSlot * GetCurrentWindowAsSlot() const
Return current window dynamic-casted to TEveWindowSlot.
virtual ~TEveWindowManager()
Destructor.
void SetDefaultContainer(TEveWindow *w)
Bool_t HasDefaultContainer() const
void DestroyWindowRecursively(TEveWindow *window)
Destroy window's children and then the window itself.
void WindowDocked(TEveWindow *window)
Emit the "WindowDocked(TEveWindow*)" signal.
TEveWindowManager & operator=(const TEveWindowManager &)
TEveWindow * GetDefaultContainer() const
void WindowDeleted(TEveWindow *window)
Emit the "WindowDeleted(TEveWindow*)" signal.
TEveWindow * fDefaultContainer
void HideAllEveDecorations()
Hide all eve decorations (title-bar and mini-bar) on all frames.
TEveWindow * GetCurrentWindow() const
Bool_t IsCurrentWindow(const TEveWindow *w) const
void DeleteWindow(TEveWindow *w)
Called by a window before it gets deleted.
TEveWindow * fCurrentWindow
void WindowSelected(TEveWindow *window)
Emit the "WindowSelected(TEveWindow*)" signal.
void DestroyWindows()
Wait for all windows to shut-down.
TEveWindowManager(const TEveWindowManager &)
void SelectWindow(TEveWindow *w)
Entry-point for communicating the fact that a window was acted upon in such a way that it should beco...
Description of TEveWindowSlot.
Definition TEveWindow.h:302
Abstract base-class for representing eve-windows.
Definition TEveWindow.h:210
This is the ROOT implementation of the Qt object communication mechanism (see also http://www....
Definition TQObject.h:48
const Int_t n
Definition legend1.C:16