Re: [Interest] %20%5BInterest%5D%20window%20alway%20on%20top

2012-04-03 Thread Tibo W
Yes, you're right, I don't have to change the focusPolicy.

The widget is not a QDialog, but a QGraphicsView with a QDialog window flag.
I use it to display a semi-transparent content on top of libVLC (who's inside a 
QWidget).

Now, my problem is when I toggle the video fullscreen, the QGraphicsView goes 
behind...
If it's a separate window (parent == NULL), I can call hide() then shoe(), 
it'll bring back forward. But that's no longer working.


Any idea ? thanks !
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] QWebPluginFactory + CSS

2012-03-14 Thread Tibo W
Hi,

I'm creating an object (inheriting from QWidget) through a QWebPluginFactory.
I then use CSS to modify the width and height of this object.

So from c++, how can I retrieve the size I set through CSS ?
width() and height() seem to return the size of the top window.

thanks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest