Sure.
When I need to move the MDIsubWindow to desktop:
Qt Code:
  1. QMdiArea *area = new QMdiArea();
  2. QMdiSubWindow *subWin = this->mdiArea->activeSubWindow();
  3. // I did try to remove this subwin from mdiArea first but not difference
  4. area->addSubWindow(subWin);
  5. XSubWindow *win = new XSubWindow();
  6. win->setMdiArea(area);
  7. win->show();
  8. connect(win, SIGNAL(returnSubWindow(QMdiSubWindow*)), this, SLOT(getReturnedSubWindow(QMdiSubWindow*)));
To copy to clipboard, switch view to plain text mode 

XSubWindow is just a QMainWindow with
closeEvent like
Qt Code:
  1. void XSubWindow::closeEvent(QCloseEvent *event)
  2. {
  3. emit returnSubWindow(this->mdiArea->activeSubWindow());
  4. event->accept();
  5.  
  6. }
To copy to clipboard, switch view to plain text mode 
to handle the returnSubWindow in main MDI window:
Qt Code:
  1. void MainWindow::getReturnedSubWindow(QMdiSubWindow *rwin)
  2. {
  3. this->mdiArea->addSubWindow(rwin);
  4.  
  5. }
To copy to clipboard, switch view to plain text mode 

The content of MDIsubWindow is ether a WEBkit window:
Qt Code:
  1. XWebWidget *child = new XWebWidget;
  2. child->setWindowTitle("Demo");
  3. mdiArea->addSubWindow(child);
To copy to clipboard, switch view to plain text mode 
or
QGraphicsScene only contains a picture.
Qt Code:
  1. scene.setSceneRect(-300, -300, 600, 600);
  2. scene.setItemIndexMethod(QGraphicsScene::NoIndex);
  3.  
  4. view->setWindowTitle("Demo Bid Page");
  5. view->setRenderHint(QPainter::Antialiasing);
  6. view->setBackgroundBrush(QPixmap(":/images/demo.jpg"));
  7.  
  8. mdiArea->addSubWindow(view);
To copy to clipboard, switch view to plain text mode