Results 1 to 4 of 4

Thread: Dockwidget and Toolbutton

Threaded View

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

    Default Re: Dockwidget and Toolbutton

    QDockWidget contains ONE widget. Calling QDockWidget::setWidget() multiple times won't add multiple widgets in the dock widget. Create a layout, add buttons to it, install the layout on a container widget and set the container widget inside the dock widget.
    J-P Nurmi

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

    sandeepvl (13th May 2008)

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.