Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, April 2007
Flickering of QTable


Message 1 in thread

Hello,

I'm using QT 3.3.4 and I'm implementing an application which shows
measured data in
a table. The values will be updated in an given intervall like 3
seconds for example.
At some state of the values the color of the rows are changing.
My problem is that every update the table is flickering which is
annoying. I only update the
values that are changing not the whole table. So my question is, how
can I avoid this flickering?

Thanks
Wolfgang

-- 
 [ signature omitted ] 

Message 2 in thread

Move to QT 4 :) and have the data model send  out a small range
dataChange signal...

Sorry couldn't resist, because this is a big part of why the Model/View
architecture is so powerful.

I had a similar problem with my app, and I never really came up with a
great solutuion... However, ICS does have a qtable like widget that
supposedly has much better repaint for QT3 apps

Scott
> -----Original Message-----
> From: Wolfgang Leideck [mailto:wleideck@xxxxxxxxxxxxxx]
> Sent: Monday, April 02, 2007 11:12 PM
> To: Qt Group
> Subject: Flickering of QTable
> 
> Hello,
> 
> I'm using QT 3.3.4 and I'm implementing an application which shows
> measured data in
> a table. The values will be updated in an given intervall like 3
> seconds for example.
> At some state of the values the color of the rows are changing.
> My problem is that every update the table is flickering which is
> annoying. I only update the
> values that are changing not the whole table. So my question is, how
> can I avoid this flickering?
> 
> Thanks
> Wolfgang
> 
> --
> Wolfgang Leideck
> Alberichstr. 14
> D - 68199 Mannheim
> 
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/

--
 [ signature omitted ]