I have a color selection QComboBox, I populate the items same as this sample suggests:

Using Qt::Decoration shows the nice color squares for each item. The problem is that when the combo box is "closed" (After an item was selected) there is no indication of the selected color. I just have the name.

Is there a way to make the selected color square displayed in the combo in its "idle" mode?