GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Private Attributes | Static Private Attributes | List of all members
TGo4MdiArea Class Reference

#include <TGo4MdiArea.h>

+ Inheritance diagram for TGo4MdiArea:

Signals

void panelSignal (TGo4ViewPanel *, TPad *, int)
 

Public Member Functions

 TGo4MdiArea (QWidget *parent=0)
 
virtual ~TGo4MdiArea ()
 
TGo4ViewPanelGetActivePanel ()
 
TPad * GetSelectedPad ()
 
void SetSelectedPad (TPad *pad)
 
QMdiSubWindow * AddGo4SubWindow (QWidget *widget, Qt::WindowFlags flags=0)
 
void ResponseOnPanelEvent (int funcid, TGo4ViewPanel *panel, TPad *pad)
 

Static Public Member Functions

static TGo4MdiAreaInstance ()
 

Protected Slots

void subWindowActivatedSlot (QMdiSubWindow *window)
 

Private Attributes

TGo4ViewPanelfxActivePanel
 
TPad * fxActivePad
 
TPad * fxSelectedPad
 

Static Private Attributes

static TGo4MdiAreafInstance = 0
 

Detailed Description

Author
S. Linev
Since
14.01.2014

Definition at line 28 of file TGo4MdiArea.h.

Constructor & Destructor Documentation

TGo4MdiArea::TGo4MdiArea ( QWidget *  parent = 0)

Definition at line 32 of file TGo4MdiArea.cpp.

References fInstance, and subWindowActivatedSlot().

TGo4MdiArea::~TGo4MdiArea ( )
virtual

Definition at line 46 of file TGo4MdiArea.cpp.

References fInstance.

Member Function Documentation

QMdiSubWindow * TGo4MdiArea::AddGo4SubWindow ( QWidget *  widget,
Qt::WindowFlags  flags = 0 
)
TGo4ViewPanel * TGo4MdiArea::GetActivePanel ( )
TPad * TGo4MdiArea::GetSelectedPad ( )

Definition at line 52 of file TGo4MdiArea.cpp.

References fxSelectedPad.

Referenced by TGo4ViewPanel::RedrawPanel(), and ResponseOnPanelEvent().

TGo4MdiArea * TGo4MdiArea::Instance ( )
static
void TGo4MdiArea::panelSignal ( TGo4ViewPanel ,
TPad *  ,
int   
)
signal

Referenced by ResponseOnPanelEvent().

void TGo4MdiArea::ResponseOnPanelEvent ( int  funcid,
TGo4ViewPanel panel,
TPad *  pad 
)
void TGo4MdiArea::SetSelectedPad ( TPad *  pad)
void TGo4MdiArea::subWindowActivatedSlot ( QMdiSubWindow *  window)
protectedslot

Definition at line 82 of file TGo4MdiArea.cpp.

References fxActivePanel, TGo4ViewPanel::GetActivePad(), and TGo4ViewPanel::SetActivePad().

Referenced by TGo4MdiArea().

Member Data Documentation

TGo4MdiArea * TGo4MdiArea::fInstance = 0
staticprivate

Definition at line 59 of file TGo4MdiArea.h.

Referenced by Instance(), TGo4MdiArea(), and ~TGo4MdiArea().

TPad* TGo4MdiArea::fxActivePad
private

Definition at line 56 of file TGo4MdiArea.h.

Referenced by ResponseOnPanelEvent().

TGo4ViewPanel* TGo4MdiArea::fxActivePanel
private

Definition at line 55 of file TGo4MdiArea.h.

Referenced by GetActivePanel(), ResponseOnPanelEvent(), and subWindowActivatedSlot().

TPad* TGo4MdiArea::fxSelectedPad
private

Definition at line 57 of file TGo4MdiArea.h.

Referenced by GetSelectedPad(), and SetSelectedPad().


The documentation for this class was generated from the following files: