Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Private Attributes | Static Private Attributes

TGo4MdiArea Class Reference

#include <TGo4MdiArea.h>

List of all members.

Signals

void panelSignal (TGo4ViewPanel *, TPad *, int)

Public Member Functions

 TGo4MdiArea (QWidget *parent=0)
virtual ~TGo4MdiArea ()
TGo4ViewPanelGetActivePanel ()
TPad * GetSelectedPad ()
void SetSelectedPad (TPad *pad)
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 31 of file TGo4MdiArea.cpp.

References fInstance, and subWindowActivatedSlot().

TGo4MdiArea::~TGo4MdiArea (  )  [virtual]

Definition at line 45 of file TGo4MdiArea.cpp.

References fInstance.


Member Function Documentation

TGo4ViewPanel * TGo4MdiArea::GetActivePanel (  ) 
TPad * TGo4MdiArea::GetSelectedPad (  ) 

Definition at line 51 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  )  [protected, slot]

Definition at line 68 of file TGo4MdiArea.cpp.

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

Referenced by TGo4MdiArea().


Member Data Documentation

TGo4MdiArea * TGo4MdiArea::fInstance = 0 [static, private]

Definition at line 56 of file TGo4MdiArea.h.

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

TPad* TGo4MdiArea::fxActivePad [private]

Definition at line 53 of file TGo4MdiArea.h.

Referenced by ResponseOnPanelEvent().

Definition at line 52 of file TGo4MdiArea.h.

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

TPad* TGo4MdiArea::fxSelectedPad [private]

Definition at line 54 of file TGo4MdiArea.h.

Referenced by GetSelectedPad(), and SetSelectedPad().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines