How to make QCombobox painting item delegate for it's current Item? (Qt 4)
- by r4nj33t
QCombobox set Item delegate not painting for current Item..
I am trying to create a combo box showing different line types (Solid, Dotted, Dash etc). Currently i am setting item delegate for its content
so as to draw/paint line type instead of displaying names. All line types are drawing currectly but as soon as i am selecting any line type from the
combobox, the current index of combo box is displaying just the line name and not painting it. How can i make it paint the selected line type on the current
combo box index?