[Qt-interest] Updating the TableWidgetItem slows down the operation significantly.
Yong Zhang
yzhang.qt at gmail.com
Fri Feb 26 01:35:44 CET 2010
Hi All,
I use a QTableWidget to display the current location values (x, y) of
the mouse on the screen. I display the mouse location using a hand image
on the screen. When the mouse moves, the mouse image is updated on the
screen to indicate the new location. My goal is to also update the
location values (x, y) in the QTableWidget as two QTableWidgetItems. The
system works well, however, I found that it significantly slows down the
operations, that is, the update of the mouse image on the screen is very
slow and the mouse movements are not smooth. When I do not update the
location values in the QTableWidget, I can move the mouse around very
smoothly and the mouse image is also updated very smoothly. My question
is, is there anyway to make it fast and smooth enough to update the
information in the QTableWidget?
Thank you very much,
Yong
More information about the Qt-interest-old
mailing list