Results 1 to 1 of 1

Thread: QTableWidget's paint problem of whole column of any row at a time

  1. #1
    Join Date
    Jul 2010
    Posts
    33
    Qt products
    Qt4
    Platforms
    MacOS X

    Default QTableWidget's paint problem of whole column of any row at a time

    Hi

    Kindly see the below attatched files. I have to draw a QTableWidget that contains 100000 rows and 100 column. We have created this. But problem is that I want to paint one whole row.
    const QModelIndex index = model->index(llRow,nColumn);
    model->setData(index,QColor(Qt::green),Qt::BackgroundRol e);

    BUt this will PAINT one by one column. If i have 10000 row then its very slow.

    Is there any function so that we can paint immediately one complete row soon.

    Am i going wrong for choose the widget.
    Kindly tell the other widget so that we can draw this type of Filled Table.

    THanks
    Sagir
    Attached Images Attached Images

Similar Threads

  1. Replies: 2
    Last Post: 21st January 2011, 17:12
  2. Replies: 1
    Last Post: 25th June 2010, 18:31
  3. Replies: 5
    Last Post: 20th October 2009, 07:18
  4. How does the QTableWidget sort a column?
    By codemonkey in forum Qt Programming
    Replies: 1
    Last Post: 4th October 2009, 13:21
  5. QTableWidget row-column exchange
    By SnarlCat in forum Qt Programming
    Replies: 0
    Last Post: 28th August 2008, 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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.