I didn't reimplemented anything , I just added new class to project that derive QWidget , with no more extra code lines.