FACT++  1.0
void DockWindow::closeEvent ( QCloseEvent *  )
protected

Definition at line 45 of file DockWindow.cc.

References fDockWidget, and fTabWidget.

46 {
47  QWidget *w = new QWidget;
48 
49  QGridLayout *l = new QGridLayout(w);
50  //layout->setObjectName(QString::fromUtf8("gridLayout_")+windowTitle());
51  l->addWidget(fDockWidget, 0, 0, 1, 1);
52 
53  fTabWidget->addTab(w, windowTitle());
54  fTabWidget->setTabsClosable(true);
55 
56  fDockWidget->setParent(w);
57 }
QTabWidget * fTabWidget
Definition: DockWindow.h:15
QDockWidget * fDockWidget
Definition: DockWindow.h:12