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