GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
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 ()
 
QMdiSubWindow * AddGo4SubWindow (QWidget *widget, Qt::WindowFlags flags=Qt::Widget)
 this method allows to set general properties for all go4 subwindows JAM
 
TGo4ViewPanelFindOtherPanel (TGo4ViewPanel *not_this)
 
TGo4ViewPanelGetActivePanel ()
 
TPad * GetSelectedPad ()
 
void ResponseOnPanelEvent (int funcid, TGo4ViewPanel *panel, TPad *pad)
 
void SetSelectedPad (TPad *pad)
 

Static Public Member Functions

static TGo4MdiAreaInstance ()
 

Protected Slots

void subWindowActivatedSlot (QMdiSubWindow *window)
 

Private Attributes

TPad * fxActivePad {nullptr}
 
TGo4ViewPanelfxActivePanel {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().

Referenced by Instance().

◆ ~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 )

this method allows to set general properties for all go4 subwindows JAM

Definition at line 65 of file TGo4MdiArea.cpp.

References go4sett.

◆ FindOtherPanel()

TGo4ViewPanel * TGo4MdiArea::FindOtherPanel ( TGo4ViewPanel * not_this)

Definition at line 84 of file TGo4MdiArea.cpp.

Referenced by ResponseOnPanelEvent().

◆ GetActivePanel()

◆ GetSelectedPad()

TPad * TGo4MdiArea::GetSelectedPad ( )

Definition at line 48 of file TGo4MdiArea.cpp.

References fxSelectedPad.

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

◆ Instance()

◆ panelSignal

◆ ResponseOnPanelEvent()

◆ 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().

Field 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 TGo4MdiArea(), ~TGo4MdiArea(), and Instance().


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