View Full Version : Getting selected in option.state in eventEditor in Delegate

20th September 2010, 22:34
According to a previous post where it explain how to draw a button in a list with a delegate, I'm trying to know is the item is selected in the eventEditor.
I'll try to explain, why could be the reason in paint( ... ) option.state is the flag QStyle::State_Selected comes for the selected item but never in the eventEditor( ... )