Hi,

the MdiChild is declared as:
Qt Code:
  1. #include <QMainWindow>
  2. #include <impgenmaint.h>
  3.  
  4. namespace Ui {
  5. class documentWindow;
  6. }
  7.  
  8. class documentWindow : public QMainWindow
  9. {
  10. Q_OBJECT
  11.  
  12. public:
  13. explicit documentWindow(QWidget *parent = 0);
  14. ~documentWindow();
  15.  
  16. private:
  17. Ui::documentWindow *ui;
  18. };
To copy to clipboard, switch view to plain text mode 

The implementation is the same I previously posted.

I copied the QT mdi example, thus the code the created the mdi child is:
Qt Code:
  1. documentWindow *MainWindow::createMdiChild()
  2. {
  3. documentWindow *child = new documentWindow;
  4. mdiArea->addSubWindow(child);
  5. return child;
  6. }
To copy to clipboard, switch view to plain text mode 

I call createMdiChild as:
Qt Code:
  1. documentWindow *child = createMdiChild();
  2. child->show();
To copy to clipboard, switch view to plain text mode 

Thanks.
Carlos.