class JointControlDialog(Plugin): def __init__(self, context): super(JointControlDialog, self).__init__(context) self.setObjectName('JointControlDialog') self._parent = QWidget() self._widget = JointControlWidget(self._parent) context.add_widget(self._parent) def shutdown_plugin(self): self._widget.shutdown_plugin()
def __init__(self, context): super(JointControlDialog, self).__init__(context) self.setObjectName('JointControlDialog') self._parent = QWidget() self._widget = JointControlWidget(self._parent) context.add_widget(self._parent)