GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4MdiArea.h>
Signals | |
void | panelSignal (TGo4ViewPanel *, TPad *, int) |
Public Member Functions | |
TGo4MdiArea (QWidget *parent=0) | |
virtual | ~TGo4MdiArea () |
TGo4ViewPanel * | GetActivePanel () |
TPad * | GetSelectedPad () |
void | SetSelectedPad (TPad *pad) |
QMdiSubWindow * | AddGo4SubWindow (QWidget *widget, Qt::WindowFlags flags=0) |
void | ResponseOnPanelEvent (int funcid, TGo4ViewPanel *panel, TPad *pad) |
Static Public Member Functions | |
static TGo4MdiArea * | Instance () |
Protected Slots | |
void | subWindowActivatedSlot (QMdiSubWindow *window) |
Private Attributes | |
TGo4ViewPanel * | fxActivePanel |
TPad * | fxActivePad |
TPad * | fxSelectedPad |
Static Private Attributes | |
static TGo4MdiArea * | fInstance = 0 |
Definition at line 28 of file TGo4MdiArea.h.
TGo4MdiArea::TGo4MdiArea | ( | QWidget * | parent = 0 | ) |
Definition at line 32 of file TGo4MdiArea.cpp.
References fInstance, and subWindowActivatedSlot().
|
virtual |
Definition at line 46 of file TGo4MdiArea.cpp.
References fInstance.
QMdiSubWindow * TGo4MdiArea::AddGo4SubWindow | ( | QWidget * | widget, |
Qt::WindowFlags | flags = 0 |
||
) |
this method allows to set general properties for all go4 subwindows JAM
Definition at line 69 of file TGo4MdiArea.cpp.
References TGo4QSettings::getMoveSubwindowRubberBand(), and go4sett.
Referenced by TGo4MainWindow::EstablishAnalysisConfiguration(), TGo4MainWindow::EstablishAnalysisWindow(), TGo4MainWindow::MakeNewPanel(), TGo4MainWindow::StartConditionEditor(), TGo4MainWindow::StartConditionInfo(), TGo4MainWindow::StartEditDynEntry(), TGo4MainWindow::StartEventInfo(), TGo4MainWindow::StartFitPanel(), TGo4MainWindow::StartHistogramInfo(), TGo4MainWindow::StartParaEdit(), TGo4MainWindow::startUserGUI(), and TGo4MainWindow::ToggleScaleValues().
TGo4ViewPanel * TGo4MdiArea::GetActivePanel | ( | ) |
Definition at line 64 of file TGo4MdiArea.cpp.
References fxActivePanel.
Referenced by TGo4SetScaleValues::ApplyValues(), TGo4SetScaleValues::AutoscaleChanged(), TGo4HisDrawOptionsShort::ChangeColor(), TGo4HisDrawOptions::ChangeColor(), TGo4HisDrawOptions::ChangeDrawOptionForCurrentPanel(), TGo4MainWindow::checkPanelRepaintSlot(), TGo4DividePad::DivideCanvas(), TGo4MainWindow::editorServiceSlot(), TGo4Script::GetActiveViewPanel(), TGo4ScaleOptions::MoveScale(), TGo4SetScaleValues::refreshView(), TGo4Style::SetContourLevels(), TGo4HisDrawOptionsShort::SetDrawOpt(), TGo4Style::SetPadColor(), and TGo4Style::SetPalette().
TPad * TGo4MdiArea::GetSelectedPad | ( | ) |
Definition at line 52 of file TGo4MdiArea.cpp.
References fxSelectedPad.
Referenced by TGo4ViewPanel::RedrawPanel(), and ResponseOnPanelEvent().
|
static |
Definition at line 27 of file TGo4MdiArea.cpp.
References fInstance.
Referenced by TGo4SetScaleValues::ApplyValues(), TGo4SetScaleValues::AutoscaleChanged(), TGo4HisDrawOptionsShort::ChangeColor(), TGo4HisDrawOptions::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(), TGo4Style::SetPalette(), TGo4FitPanel::TGo4FitPanel(), TGo4HisDrawOptions::TGo4HisDrawOptions(), TGo4SetScaleValues::TGo4SetScaleValues(), and TGo4Style::TGo4Style().
|
signal |
Referenced by ResponseOnPanelEvent().
void TGo4MdiArea::ResponseOnPanelEvent | ( | int | funcid, |
TGo4ViewPanel * | panel, | ||
TPad * | pad | ||
) |
Definition at line 90 of file TGo4MdiArea.cpp.
References fxActivePad, fxActivePanel, GetSelectedPad(), TGo4ViewPanel::IsPanelPad(), QGo4Widget::panel_Activated, QGo4Widget::panel_ActiveUpdated, QGo4Widget::panel_Deleted, QGo4Widget::panel_Modified, QGo4Widget::panel_PadDeleted, QGo4Widget::panel_Updated, panelSignal(), TGo4ViewPanel::SetActivePad(), and SetSelectedPad().
Referenced by TGo4MainWindow::editorServiceSlot().
void TGo4MdiArea::SetSelectedPad | ( | TPad * | pad | ) |
Definition at line 57 of file TGo4MdiArea.cpp.
References fxSelectedPad.
Referenced by TGo4ViewPanel::PadDeleted(), TGo4ViewPanel::RedrawPanel(), ResponseOnPanelEvent(), and TGo4ViewPanel::SetActivePad().
|
protectedslot |
Definition at line 82 of file TGo4MdiArea.cpp.
References fxActivePanel, TGo4ViewPanel::GetActivePad(), and TGo4ViewPanel::SetActivePad().
Referenced by TGo4MdiArea().
|
staticprivate |
Definition at line 59 of file TGo4MdiArea.h.
Referenced by Instance(), TGo4MdiArea(), and ~TGo4MdiArea().
|
private |
Definition at line 56 of file TGo4MdiArea.h.
Referenced by ResponseOnPanelEvent().
|
private |
Definition at line 55 of file TGo4MdiArea.h.
Referenced by GetActivePanel(), ResponseOnPanelEvent(), and subWindowActivatedSlot().
|
private |
Definition at line 57 of file TGo4MdiArea.h.
Referenced by GetSelectedPad(), and SetSelectedPad().