A generalized Q-operator for $U_q(widehat{sl}_2)$ vertex models