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( ... )

thanks