Quantcast
Viewing all articles
Browse latest Browse all 4972

QML: QListView / QListModel force repainting listview / delegates

Hi, i have a simple ListModel and ListView which displays the data. The ListView has its own delegate which paints something on a Canvas. I have a function declared from which i want to trigger a repaint of the listview (the delegates which paint on a canvas). But nothing seems to trigger repainting the delegate. (onPaint from the canvas of the delegate is never called again). i Tryed model.revert() and listView.update… Nothing triggers repainting … Any ideas? Greetings, Nando

Viewing all articles
Browse latest Browse all 4972

Trending Articles