Hi. I'm trying to calculate height of an item in QListView in QComboBox.
I need height of a single item (n) and height of the whole drop-down box. I tried to make a descendant from QItemDelegate and implement the paint function in order to try and get the rect property though it doesn't even called when I show the items.

So I made a descendant class object and called Combo->setItemDelegate(obj).

Thanks in advance.