Results 1 to 10 of 10

Thread: Huge tableview low performance

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Nov 2006
    Location
    Saint-Petersburg, Russia
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Huge tableview low performance

    I am using my own ItemModel where each item presents as row and it's data in shows in cells. Cells count depends from item data size. Each byte of item data in one cell.

    Item data size ~ 10000
    Items count = rows count ~ 1000000

    Im reading items from file on the fly and store in memory only vivible part of the table.
    It slows down perfomance, but not so critical as painting and scrolling

    As i wrote earlier. I tested QTableView with empty ItemModel, where data() method always returns empty QVariant, and table scrolling was not so fast, as, for example, program from QT3 special example with reimplemented QTable millionXmillion

    I suppose that problem in new complex Model/View architecture ...

    Small example: main.cpp
    Compare prefofmance with .... MS Excel for example
    Last edited by semoser; 8th November 2006 at 14:10.

Similar Threads

  1. Replies: 1
    Last Post: 4th October 2006, 16:05
  2. TreeView, TableView
    By rbrand in forum Qt Programming
    Replies: 1
    Last Post: 4th July 2006, 08:54
  3. Modified tableview
    By dkite in forum Qt Programming
    Replies: 2
    Last Post: 14th March 2006, 01:58
  4. [QT 4] QTextEdit performance
    By fellobo in forum Qt Programming
    Replies: 8
    Last Post: 6th March 2006, 19:27
  5. Increasing performance from Qtextedit, listview, etc?
    By taylor34 in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2006, 10:20

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.