PDA

View Full Version : HIWebView



almost
27th June 2007, 09:59
Hi,
I'm using HIWebView inside a QStackedWidget which is inside a QSplitter ....
The problem is that the HIWebView gets displayed in the lower left corner of the
mainwindow instead of the upper right.

Any hint ?

jpn
27th June 2007, 18:05
Just to assure,

splitter is set as central widget of the main window?
stacked widget was added with QSplitter::addWidget() or QSplitter::insertWidget()?
HIWebView was added with QStackedWidget::addWidget() or QStackedWidget::insertWidget()?

almost
27th June 2007, 22:22
I tried both in a QWidget and as child of a centralwidget .

And widgets where added with addWidget not insertWidget.

To be more precise I first created a WebWidget following qq20 and then used this in a tree :

QSplitter <- QStackedWidget <- WebWidget.

Since the post I did other tests. The WebWidget does not like to be in QSplitters or QStackedWidget. It is ok to add it to a QLayout (but not a nested layout).