code: def init_widget(self):
          
          super(QtKeyEvent, self).init_widget()
          d = self.declaration
          widget = self.widget
          self._keyPressEvent = widget.keyPressEvent
          self._keyReleaseEvent = widget.keyReleaseEvent
          self.set_enabled(d.enabled)
          self.set_keys(d.keys)
docs: The KeyEvent uses the parent_widget as it's widget