Hi,
Qt 4.8/QML
I have a ListView with a delegate and model.
In the delegate defintion:
color : “#FF0000”
onclick turns the color to green (color = “#00FF00”). Next click back to red.
All works fine, until I scroll the list. Then all the green items – that have been hidden (scrolled out of the listview area) – are set back to red again.
I guess this is caused by repainting the items when they scroll back in/out of the (list)view area.
Is this a bug or does qtquick completely reload components with start-off values when repainting is needed.
BTW: the QtGUI equivalent works fine.
↧