[Qt-interest] who to replace at ran-time widgets

David Boosalis david.boosalis at gmail.com
Thu Apr 22 17:07:52 CEST 2010


Meir

You can make a QStackedWidget the main widget of QMainWindow, and you
QWebkit Widget and the widget that replaces it as children of the stack
widget, then toggle between them at will.  If your QWebKit Window is only
used once you can probable delete it when done.



On Thu, Apr 22, 2010 at 7:19 AM, Meir Yanovich <meiry242 at gmail.com> wrote:

> hello all
> i have Qwebkit widget that is laying one QmainWindow. now after the webkit
> widget done its job
> i like to replace it and remove it from the QMainWindow with other widget
> is this is the proper way to do it ? if yes how should i do it ?
> Thanks
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100422/49d2e0e3/attachment.html 


More information about the Qt-interest-old mailing list