Question

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?

Was it helpful?

Solution 2

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

OTHER TIPS

You probably want to call the setFocus() method which your listview inherits from QWidget.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top