#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) |
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 31 of file TGo4MdiArea.cpp.
References fInstance, and subWindowActivatedSlot().
TGo4MdiArea::~TGo4MdiArea | ( | ) | [virtual] |
Definition at line 45 of file TGo4MdiArea.cpp.
References fInstance.
TGo4ViewPanel * TGo4MdiArea::GetActivePanel | ( | ) |
Definition at line 63 of file TGo4MdiArea.cpp.
References fxActivePanel.
Referenced by TGo4SetScaleValues::ApplyValues(), TGo4SetScaleValues::AutoscaleChanged(), TGo4HisDrawOptionsShort::ChangeColor(), TGo4HisDrawOptions::ChangeColor(), TGo4HisDrawOptions::ChangeDrawOptionForCurrentPanel(), TGo4MainWindow::checkPanelRepaintSlot(), TGo4DividePad::DivideCanvas(), TGo4MainWindow::editorServiceSlot(), TGo4ScaleOptions::MoveScale(), TGo4SetScaleValues::refreshView(), TGo4HisDrawOptionsShort::SetDrawOpt(), TGo4Style::SetPadColor(), and TGo4Style::SetPalette().
TPad * TGo4MdiArea::GetSelectedPad | ( | ) |
Definition at line 51 of file TGo4MdiArea.cpp.
References fxSelectedPad.
Referenced by TGo4ViewPanel::RedrawPanel(), and ResponseOnPanelEvent().
TGo4MdiArea * TGo4MdiArea::Instance | ( | ) | [static] |
Definition at line 26 of file TGo4MdiArea.cpp.
References fInstance.
Referenced by TGo4SetScaleValues::ApplyValues(), TGo4SetScaleValues::AutoscaleChanged(), TGo4HisDrawOptionsShort::ChangeColor(), TGo4HisDrawOptions::ChangeColor(), TGo4HisDrawOptions::ChangeDrawOptionForCurrentPanel(), TGo4ViewPanel::CompleteInitialization(), TGo4DividePad::DivideCanvas(), TGo4QSettings::lastPanelSize(), TGo4ScaleOptions::MoveScale(), TGo4ViewPanel::PadDeleted(), TGo4ViewPanel::RedrawPanel(), TGo4SetScaleValues::refreshView(), TGo4ViewPanel::SetActivePad(), TGo4HisDrawOptionsShort::SetDrawOpt(), TGo4Style::SetPadColor(), TGo4Style::SetPalette(), TGo4FitPanel::TGo4FitPanel(), TGo4HisDrawOptions::TGo4HisDrawOptions(), and TGo4SetScaleValues::TGo4SetScaleValues().
void TGo4MdiArea::panelSignal | ( | TGo4ViewPanel * | , | |
TPad * | , | |||
int | ||||
) | [signal] |
Referenced by ResponseOnPanelEvent().
void TGo4MdiArea::ResponseOnPanelEvent | ( | int | funcid, | |
TGo4ViewPanel * | panel, | |||
TPad * | pad | |||
) |
Definition at line 76 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 56 of file TGo4MdiArea.cpp.
References fxSelectedPad.
Referenced by TGo4ViewPanel::PadDeleted(), TGo4ViewPanel::RedrawPanel(), ResponseOnPanelEvent(), and TGo4ViewPanel::SetActivePad().
void TGo4MdiArea::subWindowActivatedSlot | ( | QMdiSubWindow * | window | ) | [protected, slot] |
Definition at line 68 of file TGo4MdiArea.cpp.
References fxActivePanel, TGo4ViewPanel::GetActivePad(), and TGo4ViewPanel::SetActivePad().
Referenced by TGo4MdiArea().
TGo4MdiArea * TGo4MdiArea::fInstance = 0 [static, private] |
Definition at line 56 of file TGo4MdiArea.h.
Referenced by Instance(), TGo4MdiArea(), and ~TGo4MdiArea().
TPad* TGo4MdiArea::fxActivePad [private] |
Definition at line 53 of file TGo4MdiArea.h.
Referenced by ResponseOnPanelEvent().
TGo4ViewPanel* TGo4MdiArea::fxActivePanel [private] |
Definition at line 52 of file TGo4MdiArea.h.
Referenced by GetActivePanel(), ResponseOnPanelEvent(), and subWindowActivatedSlot().
TPad* TGo4MdiArea::fxSelectedPad [private] |
Definition at line 54 of file TGo4MdiArea.h.
Referenced by GetSelectedPad(), and SetSelectedPad().