GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
TGo4MdiArea Class Reference

#include <TGo4MdiArea.h>

Inheritance diagram for TGo4MdiArea:

Signals

void panelSignal (TGo4ViewPanel *, TPad *, int)
void panelSignal (TGo4ViewPanel *, TPad *, int)

Public Member Functions

 TGo4MdiArea (QWidget *parent=nullptr)
 TGo4MdiArea (QWidget *parent=nullptr)
virtual ~TGo4MdiArea ()
virtual ~TGo4MdiArea ()
QMdiSubWindow * AddGo4SubWindow (QWidget *widget, Qt::WindowFlags flags=Qt::Widget)
 this method allows to set general properties for all go4 subwindows JAM
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)
TGo4ViewPanelFindOtherPanel (TGo4ViewPanel *not_this)
TGo4ViewPanelGetActivePanel ()
TGo4ViewPanelGetActivePanel ()
TPad * GetSelectedPad ()
TPad * GetSelectedPad ()
void ResponseOnPanelEvent (int funcid, TGo4ViewPanel *panel, TPad *pad)
void ResponseOnPanelEvent (int funcid, TGo4ViewPanel *panel, TPad *pad)
void SetSelectedPad (TPad *pad)
void SetSelectedPad (TPad *pad)

Static Public Member Functions

static TGo4MdiAreaInstance ()
static TGo4MdiAreaInstance ()

Protected Slots

void subWindowActivatedSlot (QMdiSubWindow *window)
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() [1/2]

TGo4MdiArea::TGo4MdiArea ( QWidget * parent = nullptr)

Definition at line 31 of file TGo4MdiArea.cpp.

References gInstance, and subWindowActivatedSlot().

Referenced by Instance().

◆ ~TGo4MdiArea() [1/2]

TGo4MdiArea::~TGo4MdiArea ( )
virtual

Definition at line 42 of file TGo4MdiArea.cpp.

References gInstance.

◆ TGo4MdiArea() [2/2]

TGo4MdiArea::TGo4MdiArea ( QWidget * parent = nullptr)

◆ ~TGo4MdiArea() [2/2]

virtual TGo4MdiArea::~TGo4MdiArea ( )
virtual

Member Function Documentation

◆ AddGo4SubWindow() [1/2]

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.

◆ AddGo4SubWindow() [2/2]

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

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

◆ FindOtherPanel() [1/2]

TGo4ViewPanel * TGo4MdiArea::FindOtherPanel ( TGo4ViewPanel * not_this)

Definition at line 84 of file TGo4MdiArea.cpp.

Referenced by ResponseOnPanelEvent().

◆ FindOtherPanel() [2/2]

TGo4ViewPanel * TGo4MdiArea::FindOtherPanel ( TGo4ViewPanel * not_this)

◆ GetActivePanel() [1/2]

◆ GetActivePanel() [2/2]

TGo4ViewPanel * TGo4MdiArea::GetActivePanel ( )

◆ GetSelectedPad() [1/2]

TPad * TGo4MdiArea::GetSelectedPad ( )

Definition at line 48 of file TGo4MdiArea.cpp.

References fxSelectedPad.

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

◆ GetSelectedPad() [2/2]

TPad * TGo4MdiArea::GetSelectedPad ( )

◆ Instance() [1/2]

◆ Instance() [2/2]

TGo4MdiArea * TGo4MdiArea::Instance ( )
static

References TGo4MdiArea().

◆ panelSignal [1/2]

◆ panelSignal [2/2]

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

◆ ResponseOnPanelEvent() [1/2]

◆ ResponseOnPanelEvent() [2/2]

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

◆ SetSelectedPad() [1/2]

void TGo4MdiArea::SetSelectedPad ( TPad * pad)

◆ SetSelectedPad() [2/2]

void TGo4MdiArea::SetSelectedPad ( TPad * pad)

◆ subWindowActivatedSlot [1/2]

void TGo4MdiArea::subWindowActivatedSlot ( QMdiSubWindow * window)
protectedslot

Definition at line 76 of file TGo4MdiArea.cpp.

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

Referenced by TGo4MdiArea().

◆ subWindowActivatedSlot [2/2]

void TGo4MdiArea::subWindowActivatedSlot ( QMdiSubWindow * window)
protectedslot

References fxActivePanel.

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: