Results 1 to 4 of 4

Thread: Performance with QTableView and QAbstractTableModel

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2006
    Posts
    849
    Thanks
    6
    Thanked 163 Times in 151 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Performance with QTableView and QAbstractTableModel

    setUniformRowHeights(true) on the view will speed things up.

    side note: you should check role in headerData(), too.

  2. #2
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Performance with QTableView and QAbstractTableModel

    doesnt that work only for QTreeView?

  3. #3
    Join Date
    Feb 2009
    Location
    Germany, Cologne
    Posts
    7
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Performance with QTableView and QAbstractTableModel

    I read from the Qt Assistant that setUniformRowHeights(true) is only available on QTreeViews.
    Looks like there is no way of speeding up my application .

Similar Threads

  1. Replies: 3
    Last Post: 29th January 2009, 08:38
  2. Multi-line messages in QTableView
    By Conel in forum Qt Programming
    Replies: 6
    Last Post: 13th April 2006, 13:49

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.