Results 1 to 2 of 2

Thread: centralWidget and QDockWidgets in designer

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: centralWidget and QDockWidgets in designer

    Try adding the dock widget by the time when the top level layout has not yet been set. Otherwise the dock widget seems to end up into the layout. Change the dock widget's properties (docked, dockWidgetArea) after dropping it on the form (docked property comes visible only when the dock widget is not in a layout and dockWidgetArea property comes visible after setting the docked property to true).

    About the central widget, Designer handles it like you suspect. The central widget is created automatically and the top level layout is set on the central widget.
    J-P Nurmi

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

    momesana (18th December 2006)

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.