GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
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=nullptr)
 
virtual ~TGo4MdiArea ()
 
TGo4ViewPanelGetActivePanel ()
 
TGo4ViewPanelFindOtherPanel (TGo4ViewPanel *not_this)
 
TPad * GetSelectedPad ()
 
void SetSelectedPad (TPad *pad)
 
QMdiSubWindow * AddGo4SubWindow (QWidget *widget, Qt::WindowFlags flags=Qt::Widget)
 
void ResponseOnPanelEvent (int funcid, TGo4ViewPanel *panel, TPad *pad)
 

Static Public Member Functions

static TGo4MdiAreaInstance ()
 

Protected Slots

void subWindowActivatedSlot (QMdiSubWindow *window)
 

Private Attributes

TGo4ViewPanelfxActivePanel {nullptr}
 
TPad * fxActivePad {nullptr}
 
TPad * fxSelectedPad {nullptr}
 

Static Private Attributes

static TGo4MdiAreagInstance = nullptr
 

Detailed Description

Author
S. Linev
Since
14.01.2014

Definition at line 27 of file TGo4MdiArea.h.

Constructor & Destructor Documentation

◆ TGo4MdiArea()

TGo4MdiArea::TGo4MdiArea ( QWidget *  parent = nullptr)

Definition at line 31 of file TGo4MdiArea.cpp.

References gInstance, and subWindowActivatedSlot().

◆ ~TGo4MdiArea()

TGo4MdiArea::~TGo4MdiArea ( )
virtual

Definition at line 42 of file TGo4MdiArea.cpp.

References gInstance.

Member Function Documentation

◆ AddGo4SubWindow()

QMdiSubWindow * TGo4MdiArea::AddGo4SubWindow ( QWidget *  widget,
Qt::WindowFlags  flags = Qt::Widget 
)

◆ FindOtherPanel()

TGo4ViewPanel * TGo4MdiArea::FindOtherPanel ( TGo4ViewPanel not_this)

Definition at line 84 of file TGo4MdiArea.cpp.

Referenced by ResponseOnPanelEvent().

◆ GetActivePanel()

TGo4ViewPanel * TGo4MdiArea::GetActivePanel ( )

◆ GetSelectedPad()

TPad * TGo4MdiArea::GetSelectedPad ( )

Definition at line 48 of file TGo4MdiArea.cpp.

References fxSelectedPad.

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

◆ Instance()

TGo4MdiArea * TGo4MdiArea::Instance ( )
static

◆ panelSignal

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

◆ ResponseOnPanelEvent()

void TGo4MdiArea::ResponseOnPanelEvent ( int  funcid,
TGo4ViewPanel panel,
TPad *  pad 
)

◆ SetSelectedPad()

void TGo4MdiArea::SetSelectedPad ( TPad *  pad)

◆ subWindowActivatedSlot

void TGo4MdiArea::subWindowActivatedSlot ( QMdiSubWindow *  window)
protectedslot

Definition at line 76 of file TGo4MdiArea.cpp.

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

Referenced by TGo4MdiArea().

Member Data Documentation

◆ fxActivePad

TPad* TGo4MdiArea::fxActivePad {nullptr}
private

Definition at line 57 of file TGo4MdiArea.h.

Referenced by ResponseOnPanelEvent().

◆ fxActivePanel

TGo4ViewPanel* TGo4MdiArea::fxActivePanel {nullptr}
private

Definition at line 56 of file TGo4MdiArea.h.

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

◆ fxSelectedPad

TPad* TGo4MdiArea::fxSelectedPad {nullptr}
private

Definition at line 58 of file TGo4MdiArea.h.

Referenced by GetSelectedPad(), and SetSelectedPad().

◆ gInstance

TGo4MdiArea * TGo4MdiArea::gInstance = nullptr
staticprivate

Definition at line 60 of file TGo4MdiArea.h.

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


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