I have been looking at the QComboBox source file for a while now and I can't figure out what I need to change so that the icon is positioned above text in a QComboBox.
|-----------------------|
| ----- |
| |icn| |
| ----- |
| Text label here |
-------------------------
The paint method in QCombobox is very simple and references something called QStyleOptionComboBox, but I don't think I want to be making changes here though as this will impact portability.
Would I be better inventing something new to act and behave like a QComboBox?
I should have added that it I am looking at changing both the ListView and selected item i.e the button portion.