Results 1 to 3 of 3

Thread: why there is no update on maximize? [QTableWidget]

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: why there is no update on maximize? [QTableWidget]

    Quote Originally Posted by macias View Post
    changeEvent is not propagated to qtablewidget
    What about the corresponding QMdiSubWindow, does it receive a change event?
    J-P Nurmi

  2. #2
    Join Date
    Apr 2007
    Location
    Toruń, POLAND
    Posts
    24
    Thanks
    7
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: why there is no update on maximize? [QTableWidget]

    Quote Originally Posted by jpn View Post
    What about the corresponding QMdiSubWindow, does it receive a change event?
    Well, I can pass it manually.

    However, till now I could not solve this issue, however I found out a workaround. Switch scrollbars to per pixel scrolling instead of per row + in my reimplementation of resizeEvent I call the inherited resizeEvent twice.
    Strange, a bit ugly, but works.

    I think that the correct solution cannot be done without fixing some kind of bug, or a glitch in Qt itself. I already reported this problem to Trolltech.

    have a nice day, bye

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.