QCombobox set Item delegate not painting for current Item..
I am trying to create a combo box showing different colors (red, blue, green etc). Currently i am setting item delegate for its content so as to draw/paint colors instead of displaying names. All colors are drawing currectly but as soon as i am selecting any color from the combobox, the current index of combo box is displaying just the name of that color and not painting it. How can i make it paint the selected color on the current combo box item?

Thanks in advance.