Results 1 to 5 of 5

Thread: [model/view] slow refresh on big table

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2006
    Posts
    55
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default [model/view] slow refresh on big table

    Hi,
    I am using QTableView with a rather big model under (1500x30 cells).
    When I try to scroll it is horribly slow. I tried to see what's going on by
    placing a breakpoint in ::data(QModelIndex, int) and the debugger
    and the window with the table side by side hoping not to interfere too much
    on the refresh mecanism : dream on !
    The backingstore mecanism seems to want to erase the background everytime
    the window gets the focus (and when the debugger stops at a breakpoint,
    the window loses focus and regain it when you hit the run button).
    Anyone has a tip for measuring refresh time in another way, counting the
    number of times the model/view framework call ::data on the same cell for
    a same refresh occasion ?
    Thx in advance.
    Last edited by lauranger; 17th May 2006 at 12:11.

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.