myWidget* wd = new myWidget();setCentralWidget(wd->frame);wd->show();
C++ (Qt)setCentralWidget(new myWidget());