PDA

View Full Version : ColorEditorFactory not working properly in 4.7.4?



bcutler
5th December 2011, 22:47
I've got two questions, really. I was attempting to determine how to render icons in a list without having a blue tinge appear on the icon when the list item is selected. (That's question #1)

In the process of trying to understand how to do custom rendering of list elements, I ran the ColorEditorFactory example included with the QT 4.7.4 source. But it doesn't seem to work in the same way that it appears on the example site. Instead of seeing a combo box with color icons and color names, I just get a static label with the color value text: "#7fffd4". Can anyone else reproduce this error?

Thanks!

Santosh Reddy
7th December 2011, 00:49
It is not an error, that is way it works. Just double click the cell ("#7fffd4") you will see what you want:)