qt-interest@trolltech.com
[Top] [All Lists]

QTreeView - repaint() - no effect

Subject: QTreeView - repaint() - no effect
From: "Kaiser, Rene"
Date: Tue, 31 Oct 2006 17:25:26 +0100

Another strange behavior with the QTreeView: 

I've got the QTreeView displaying both text and images (I have a custom
delegate). When the model changes, the text is automatically updated,
however, the images are not. So I tried to do this manually by calling
the repaint() method - without success.

Resizing e.g. the row's height did the job and caused the images to
repaint, but that's as ugly and unstable as it gets.

Does anybody know how to do this properly?


thx,
r.

--------------------------------------------------------------------
  Rene Kaiser
  Institute of Information Systems & Information Management
  JOANNEUM RESEARCH Forschungsgesellschaft mbH
  Steyrergasse 17, A-8010 Graz, AUSTRIA

  phone:  +43-316-876-1173                   fax: +43-316-876-1191
  web:    http://www.joanneum.at/iis
  e-mail: mailto:rene.kaiser@xxxxxxxxxxx
-------------------------------------------------------------------- 

--
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/

<Prev in Thread] Current Thread [Next in Thread>