示例#1
0
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()
示例#2
0
    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)