19 #include <QMdiSubWindow>
38 setSizeIncrement( QSize( 100, 100 ) );
39 setBaseSize( QSize( 100, 100 ) );
41 connect(
this,SIGNAL(subWindowActivated (QMdiSubWindow*)),
this, SLOT(
subWindowActivatedSlot(QMdiSubWindow*)));
60 gROOT->SetSelectedPad(pad);
71 QMdiSubWindow*sub=addSubWindow(widget, flags);
75 sub->setOption(QMdiSubWindow::RubberBandResize);
76 sub->setOption(QMdiSubWindow::RubberBandMove);
virtual void SetActivePad(TPad *pad)
static TGo4MdiArea * Instance()
void ResponseOnPanelEvent(int funcid, TGo4ViewPanel *panel, TPad *pad)
static TGo4MdiArea * fInstance
TGo4ViewPanel * GetActivePanel()
void subWindowActivatedSlot(QMdiSubWindow *window)
virtual bool IsPanelPad(TPad *pad)
bool getMoveSubwindowRubberBand()
TGo4ViewPanel * fxActivePanel
virtual TPad * GetActivePad()
void SetSelectedPad(TPad *pad)
QMdiSubWindow * AddGo4SubWindow(QWidget *widget, Qt::WindowFlags flags=0)
TGo4MdiArea(QWidget *parent=0)
void panelSignal(TGo4ViewPanel *, TPad *, int)