Results 1 to 3 of 3

Thread: Add QWebInspector as a detached window from the main window?

  1. #1
    Join Date
    Jan 2013
    Posts
    8
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Add QWebInspector as a detached window from the main window?

    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

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Add QWebInspector as a detached window from the main window?

    Like any other QWidget, if you don't give the QWebInspector a parent QWidget it will be a top-level window.

  3. #3
    Join Date
    Jan 2013
    Posts
    8
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Add QWebInspector as a detached window from the main window?

    Hi,

    Brilliant! Thank you

    Laszlo

Similar Threads

  1. Replies: 3
    Last Post: 8th April 2011, 20:55
  2. Replies: 2
    Last Post: 17th February 2011, 13:30
  3. Replies: 3
    Last Post: 23rd December 2010, 07:55
  4. Replies: 2
    Last Post: 4th August 2010, 20:10
  5. Positioning Detached Process Window
    By GTBuilder in forum Qt Programming
    Replies: 2
    Last Post: 10th March 2008, 01:17

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.