PDA

View Full Version : Add QWebInspector as a detached window from the main window?



LZAntal
20th January 2013, 17:38
Hi,

I have one mainwindow and a QWebView inside of it as a center widget. I can add the QWebInspector to it and it works great but it covers up part of the screen.
I would like to add it as a detached window like you can do it in Chrome and Safari.
So my question is what is the best approach to do this?

Thank you

Laszlo

ChrisW67
20th January 2013, 22:15
Like any other QWidget, if you don't give the QWebInspector a parent QWidget it will be a top-level window.

LZAntal
21st January 2013, 00:12
Hi,

Brilliant! Thank you :)

Laszlo