Results 1 to 2 of 2

Thread: QDockWidget magically disapear

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QDockWidget magically disapear

    Anyway, I have main window with QStackedWidget inside, one widget in QStackedWidget contains QDockWidget.
    That explains the behaviour. StackWidget is supposed to show one widget at a time. You DONT need to add dock widget to stack widget.

    You are required to add dock widget to main window, see QMainWindow::addDockWidget

  2. The following user says thank you to aamer4yu for this useful post:

    1111 (29th January 2009)

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.