[Qt-interest] problem with QMainWindow setCentralWidget and stackedWidget
Meir Yanovich
meiry242 at gmail.com
Sat May 15 06:06:47 CEST 2010
Hello
i have gui the i created in the designer , simple one .
QMainWIndow that contains stackedWidget , the application starts with
stackedWidget index 0 that contains qwebkit widget and after some user flow
,it changes to stackedWidget
index 1 that contains QTree widget , to center the first widget i use in the
QMainWindow constractor this line of code
this->setCentralWidget(ui.webView); but when the application switching to
index number 1 im getting exception that is
coming from the switching command .
why ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100515/5445daa6/attachment.html
More information about the Qt-interest-old
mailing list