Esempio n. 1
0
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()
Esempio n. 2
0
    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)