+ Reply to Thread
Results 1 to 3 of 3

Thread: Qt 4.4 QDockWidget resize problem

  1. #1
    Join Date
    Sep 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt 4.4 QDockWidget resize problem

    Hi all,

    I'm writing an app using QDesigner to set up ui's, and have run into a weird problem with dock widgets. Basically I've lost the ability to resize the dock areas when widgets are docked, although they are properly resizeable when floating. I have run out of ideas as to why this might be, and am hoping someone here can help!

    a) The docks work fine in the designer preview.
    b) They also work fine if I set up a new project using the same .ui file for the main window (so it can't be anything to do with the UI setup)
    c) Even with a cut-down version of my real project in which the mainwindow constructor only calls setupUi and nothing else happens, docked dock widgets are not resizeable. Aside from calling a few non-gui related constructors this modified version of the program doesn't actually do anything, so I can't see why it's any different from b) above

    Anyone run into this sort of problem before? Any ideas? Help much appreciated - am tearing my hair out over this.

    If it makes any difference, this is WinVista32, MinGw, Qt4.4

    Thanks in advance,

    Mark

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    30,863
    Thanks
    3
    Thanked 4,622 Times in 4,427 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Blog Entries
    4
    Wiki edits
    10

    Default Re: Qt 4.4 QDockWidget resize problem

    Could you prepare a minimal compilable example reproducing the problem?

  3. #3
    Join Date
    Sep 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.4 QDockWidget resize problem

    Will try when I get some time on it (hopefully Monday). Was hoping someone might recognise the problem and that I could avoid removing all non-relevent bits of code - actually quite a big job - but looks like that's the only way forward.

    Will get back to you all!

    M.

+ Reply to Thread

Similar Threads

  1. Replies: 1
    Last Post: 10th August 2008, 18:55
  2. QGLWidget Resize Problem
    By Sandip in forum Qt Programming
    Replies: 2
    Last Post: 28th February 2008, 06:47
  3. QGLWidget resize problem.
    By anderl in forum Qt Programming
    Replies: 2
    Last Post: 22nd January 2008, 08:57
  4. QMainWindow resize problem
    By edb in forum Qt Programming
    Replies: 5
    Last Post: 12th January 2007, 10:31
  5. How to get a QDockWidget to auto resize?
    By bitChanger in forum Qt Programming
    Replies: 4
    Last Post: 6th January 2006, 16:10

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