Results 1 to 2 of 2

Thread: Resizing QDockWidget on Show

  1. #1
    Join Date
    Jun 2009
    Posts
    66
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Resizing QDockWidget on Show

    Hi,

    I've got an application which has A QDockedWidget going right along the bottom of the main window, and one QDockedWidget going down the left-hand side (Not right to the bottom of the window, because the space is taken up by the qdockedwidget running right along the bottom of the window).

    If I do the following :-

    1 - Hide() the QDockedWidget going down the left hand side.
    2 - Hide() the QDockedWidget going along the bottom.

    The central widget expands to fill the space avaiable.

    3 - Show() the QDockedWidget going down the left-hand side.

    The Docked widget reappears, but is the same size as it was when it was hidden. What I want to happen, is for it to epand to take up the full length of the left hand size (including the space left by the docked widget hidden at the bottom).

    anyone have any ideas about this?

    David

  2. #2
    Join Date
    Jun 2009
    Posts
    66
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Smile Re: Resizing QDockWidget on Show

    This issue was a bug in QT. I upgraded to QT4.5.2, and the issue was resolved

Similar Threads

  1. Replies: 10
    Last Post: 20th April 2015, 23:24
  2. QDockWidget magically disapear
    By 1111 in forum Qt Programming
    Replies: 1
    Last Post: 29th January 2009, 12:44
  3. QDockWidget closing detection
    By danielperaza in forum Qt Programming
    Replies: 1
    Last Post: 16th April 2008, 16:28
  4. Replies: 2
    Last Post: 14th August 2007, 16:16
  5. Replies: 8
    Last Post: 4th February 2007, 01:42

Tags for this Thread

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.