Results 1 to 1 of 1

Thread: QMdiArea slow resize of child windows

  1. #1
    Join Date
    Jan 2006
    Location
    Bend, Oregon
    Posts
    27
    Qt products
    Qt3
    Platforms
    MacOS X Unix/X11 Windows

    Default QMdiArea slow resize of child windows

    Hi,

    I'm porting my app from Qt 3.3 to Qt 4.6. My app has a MDI area as a main window. In the past I have used QWorkspace but that is no longer available and I don't want to use the Q3 compatibility classes. So I switched to QMdiArea since that seems to be the successor of QWorkspace. When I resize a subwindow the resize operation is very slow and it looks ugly (all kind of distortions while resizing, the scrollbars move outsize the child window before the child gets redrawn). I know that I could turn on the rubberband resize mode but I want the feedback for the user (the subwindow contains an edit control). I know it is not the widget (edit control) that is the main widget of the subWindow since I can resize it fine when it is hosted in a dialog window. However, when I delete all text from the edit contol (TPlainTextEdit) it does seem to update ok...

    You can test this by using the mdi applications in the example folder. Choose a moderate size file to open a child window and resize.

    I have been running this on Windows 7.

    My old app running under Qt 3.3 has no such performance issues. Any suggestions on how to speed this up?

    Cheers,
    Thomas
    Last edited by Tommytrojan; 9th June 2010 at 20:21.

Similar Threads

  1. How to resize a Mdi child?
    By qlands in forum Newbie
    Replies: 2
    Last Post: 25th May 2016, 18:53
  2. Qt resize child Window...
    By Peppy in forum Qt Programming
    Replies: 6
    Last Post: 12th December 2009, 12:53
  3. QTextEdit super slow resize
    By bunjee in forum Qt Programming
    Replies: 5
    Last Post: 13th May 2008, 17:09
  4. Qidget height resize if child widgets invisible
    By visor_ua in forum Qt Programming
    Replies: 1
    Last Post: 27th April 2008, 11:27
  5. Infinite loop - resize parent from child
    By bitChanger in forum Qt Programming
    Replies: 3
    Last Post: 5th May 2006, 13:21

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.