Search code examples
qtlistviewqt4symbiannokia

Problem with selection rectangle


I am trying to make a customized listview in QT for the Symbian OS. However, I am facing some problems: I am able to draw everything like icons, text etc.. wherever I wish.

However, it is not getting selected by default.

To do selection, I need to draw the rectangle manually. It could be a problem if they got changed or some other stuff took place, however.

How would I get the default selection?


Solution

  • I need to call the base class paint. Once the overridden function gets over, I need to call the base class paint.