I have fixed that crash... Whenever i am creating a new page and placing as an MDI child its width & height will be always minimum even though i am giving the size for that page... I have made modification i the above code... I llnot be using QMdiSubWindow to add the page, instead i ll be directly giving like this..
mdiArea->addSubWindow(newPage,flags);
newPage->resize(800, 480);
newPage->show();
mdiArea->addSubWindow(newPage,flags);
newPage->resize(800, 480);
newPage->show();
To copy to clipboard, switch view to plain text mode
I have tried calling methods like update(), updateGeometry(), repaint(), but cause nothing it still shows the page with minimum size..I have tried so many workaround but nothing helped... Any suggestion regarding this.....
How can add a new widget to the QMdiArea without using an QMdiSubWindow class instance?
Bookmarks