Results 1 to 2 of 2

Thread: QDockWidget fixed size?

  1. #1
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    300
    Thanks
    9
    Thanked 29 Times in 29 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default QDockWidget fixed size?

    I've used Designer to create a QDockWidget that should only exist in the top or bottom parts of the screen. So far so good.

    But even though it should only be two buttons high, whatever properties I alter, a splitter-handle exists so the user can resize the dockwidget.

    How do I remove this handle and give the widget a fixed height?

    I suspect it can't be done in Designer, so I'm asking the question in the Qt Programming forum.

    Thanks!

    Edit: Oh, it's QT 4, by the way.
    "The strength of a civilization is not measured by its ability to wage wars, but rather by its ability to prevent them." - Gene Roddenberry

  2. #2
    Join Date
    Feb 2006
    Posts
    11
    Thanks
    1

    Default Re: QDockWidget fixed size?

    I want to know the answer also. Or is there any way to change the DocWidget and QToolBar size by coding?

Similar Threads

  1. QDockWidget size
    By user in forum Qt Programming
    Replies: 2
    Last Post: 8th January 2009, 20:35
  2. Replies: 2
    Last Post: 22nd September 2008, 09:22
  3. Qt Designer - Fixed size main form
    By nleverin in forum Newbie
    Replies: 3
    Last Post: 25th April 2008, 19:54
  4. Default size of a QListWidget inside a QDockWidget
    By rakuco in forum Qt Programming
    Replies: 0
    Last Post: 25th July 2007, 08:01
  5. QDockWidget Size
    By kiker99 in forum Qt Programming
    Replies: 9
    Last Post: 31st March 2007, 16:15

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.