PDA

View Full Version : Error in put one QWidget in another QWidget



xjtu
19th April 2008, 14:43
When I write a QWidget to display a certain webpage ,just as a little web browser. If I just display the only Qwidget ,there is nothing wrong with it.
But when I put the QWidget in another QWidget , It just not display.:confused:
Any one can tell me why !

aamer4yu
19th April 2008, 16:05
How are you putting one widget in another widget ??
may be the widget u put i overriding the display.

use layouts to add widgets and set the layout on the main window or widget.