Results 1 to 2 of 2

Thread: QTableWidget and stop refresh

  1. #1
    Join Date
    Jan 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default QTableWidget and stop refresh

    Hello to all the forum, this is my first message! I like this forum and it was helpfull more than one time.

    I need stop the refresh in my grid (in WxWidgets the funcion are BeginBatch() and EndBatch()).
    I want to insert a timer that every 300 msec made a refresh of the grid and then a sortByColumn(), because I have many update for second and do every time a sortByColumn take too much time. I don't want to show data that are not in order, so i need to stop refresh and make a refresh only every 300 msec.
    Is possible to do this? thanks!
    (I hope that the question is understandable, my english is not so good! )

    Sam

  2. #2
    Join Date
    Jan 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QTableWidget and stop refresh

    I've tried with setUpdatesEnabled(bool), but this function is not good for me, because if I click some element of the grid (I need to copy the content on the clipboard) the string copied is not the visualized, the program take the updated QWidgetItem and not the blocked item.

Similar Threads

  1. Qmessagebox cant stop looping
    By Devoraz in forum Newbie
    Replies: 9
    Last Post: 7th August 2009, 07:34
  2. Qt Creator doesn't stop at breakpoints
    By TheSaw in forum Qt Tools
    Replies: 3
    Last Post: 12th May 2009, 15:53
  3. mapper stop after upgrade to 4.4.3
    By SunnySan in forum Qt Programming
    Replies: 6
    Last Post: 6th November 2008, 11:50
  4. how to stop signals propagation further
    By babu198649 in forum Qt Programming
    Replies: 13
    Last Post: 27th November 2007, 10:25
  5. Stop the thread
    By santosh.kumar in forum Qt Programming
    Replies: 1
    Last Post: 14th May 2007, 10:29

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.