Are you initialising _state to QStyle::State_Raised in the constructor ?