Ok, and one more question.
I have mainWidget, that contain several other widget (window),
and when I do following code, on my mainWidget I see other widget... I don't want that it show on mainWidget..


code Code:
  1. class MainWidget : public QMainWidget
  2. {
  3. Q_OBJECT
  4. public:
  5. MainWidget()
  6. {
  7. myForm = new MyForm(this);
  8. }
  9.  
  10. private:
  11. MyForm *myForm;
  12.  
  13. }
To copy to clipboard, switch view to plain text mode 

How to do myForm as a child without showing on MainWidget?