示例#1
0
 def __init__(self, parent, namespace, message, commands=[]):
     InternalShell.__init__(self,
                            parent=parent,
                            namespace=namespace,
                            message=message,
                            commands=commands,
                            multithreaded=True)
     DockableWidgetMixin.__init__(self, parent)
     self.setup()
示例#2
0
文件: FTIR.py 项目: BenMoon/LabSoft
 def __init__(self, parent):
     if PYQT5:
         super(DockableTabWidget, self).__init__(parent, parent=parent)
     else:
         QTabWidget.__init__(self, parent)
         DockableWidgetMixin.__init__(self, parent)