|
GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#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 | |
| TGo4ViewPanel * | FindOtherPanel (TGo4ViewPanel *not_this) |
| TGo4ViewPanel * | GetActivePanel () |
| TPad * | GetSelectedPad () |
| void | ResponseOnPanelEvent (int funcid, TGo4ViewPanel *panel, TPad *pad) |
| void | SetSelectedPad (TPad *pad) |
Static Public Member Functions | |
| static TGo4MdiArea * | Instance () |
Protected Slots | |
| void | subWindowActivatedSlot (QMdiSubWindow *window) |
Private Attributes | |
| TPad * | fxActivePad {nullptr} |
| TGo4ViewPanel * | fxActivePanel {nullptr} |
| TPad * | fxSelectedPad {nullptr} |
Static Private Attributes | |
| static TGo4MdiArea * | gInstance = nullptr |
Definition at line 27 of file TGo4MdiArea.h.
| TGo4MdiArea::TGo4MdiArea | ( | QWidget * | parent = nullptr | ) |
Definition at line 31 of file TGo4MdiArea.cpp.
References gInstance, and subWindowActivatedSlot().
Referenced by Instance().
|
virtual |
Definition at line 42 of file TGo4MdiArea.cpp.
References gInstance.
| 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.
| TGo4ViewPanel * TGo4MdiArea::FindOtherPanel | ( | TGo4ViewPanel * | not_this | ) |
Definition at line 84 of file TGo4MdiArea.cpp.
Referenced by ResponseOnPanelEvent().
| TGo4ViewPanel * TGo4MdiArea::GetActivePanel | ( | ) |
Definition at line 60 of file TGo4MdiArea.cpp.
References fxActivePanel.
Referenced by TGo4SetScaleValues::ApplyValues(), TGo4SetScaleValues::AutoscaleChanged(), TGo4HisDrawOptions::ChangeColor(), TGo4HisDrawOptionsShort::ChangeColor(), TGo4HisDrawOptions::ChangeDrawOptionForCurrentPanel(), TGo4DividePad::DivideCanvas(), TGo4Script::GetActiveViewPanel(), TGo4ScaleOptions::MoveScale(), TGo4SetScaleValues::refreshView(), TGo4Style::SetContourLevels(), TGo4HisDrawOptionsShort::SetDrawOpt(), TGo4Style::SetPadColor(), and TGo4Style::SetPalette().
| TPad * TGo4MdiArea::GetSelectedPad | ( | ) |
Definition at line 48 of file TGo4MdiArea.cpp.
References fxSelectedPad.
Referenced by TGo4ViewPanel::RedrawPanel(), and ResponseOnPanelEvent().
|
static |
Definition at line 26 of file TGo4MdiArea.cpp.
References TGo4MdiArea(), and gInstance.
Referenced by TGo4FitPanel::TGo4FitPanel(), TGo4HisDrawOptions::TGo4HisDrawOptions(), TGo4SetScaleValues::TGo4SetScaleValues(), TGo4Style::TGo4Style(), TGo4SetScaleValues::ApplyValues(), TGo4SetScaleValues::AutoscaleChanged(), TGo4HisDrawOptions::ChangeColor(), TGo4HisDrawOptionsShort::ChangeColor(), TGo4HisDrawOptions::ChangeDrawOptionForCurrentPanel(), TGo4ViewPanel::CompleteInitialization(), TGo4DividePad::DivideCanvas(), TGo4Script::GetActiveViewPanel(), TGo4QSettings::lastPanelSize(), TGo4ScaleOptions::MoveScale(), TGo4ViewPanel::PadDeleted(), TGo4Script::ProduceScript(), TGo4ViewPanel::RedrawPanel(), TGo4SetScaleValues::refreshView(), TGo4ViewPanel::SetActivePad(), TGo4Style::SetContourLevels(), TGo4HisDrawOptionsShort::SetDrawOpt(), TGo4Style::SetPadColor(), and TGo4Style::SetPalette().
|
signal |
| void TGo4MdiArea::ResponseOnPanelEvent | ( | int | funcid, |
| TGo4ViewPanel * | panel, | ||
| TPad * | pad ) |
Definition at line 95 of file TGo4MdiArea.cpp.
References FindOtherPanel(), fxActivePad, fxActivePanel, TGo4ViewPanel::GetCanvas(), GetSelectedPad(), TGo4ViewPanel::IsPanelPad(), QGo4Widget::panel_Activated, QGo4Widget::panel_ActiveUpdated, QGo4Widget::panel_Deleted, QGo4Widget::panel_Modified, QGo4Widget::panel_PadDeleted, QGo4Widget::panel_Updated, panelSignal(), and SetSelectedPad().
| void TGo4MdiArea::SetSelectedPad | ( | TPad * | pad | ) |
Definition at line 53 of file TGo4MdiArea.cpp.
References fxSelectedPad.
Referenced by TGo4ViewPanel::PadDeleted(), TGo4ViewPanel::RedrawPanel(), ResponseOnPanelEvent(), and TGo4ViewPanel::SetActivePad().
|
protectedslot |
Definition at line 76 of file TGo4MdiArea.cpp.
References fxActivePanel, TGo4ViewPanel::GetActivePad(), and TGo4ViewPanel::SetActivePad().
Referenced by TGo4MdiArea().
|
private |
Definition at line 57 of file TGo4MdiArea.h.
Referenced by ResponseOnPanelEvent().
|
private |
Definition at line 56 of file TGo4MdiArea.h.
Referenced by GetActivePanel(), ResponseOnPanelEvent(), and subWindowActivatedSlot().
|
private |
Definition at line 58 of file TGo4MdiArea.h.
Referenced by GetSelectedPad(), and SetSelectedPad().
|
staticprivate |
Definition at line 60 of file TGo4MdiArea.h.
Referenced by TGo4MdiArea(), ~TGo4MdiArea(), and Instance().