Ejemplo n.º 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()
Ejemplo n.º 2
0
 def __init__(self, parent):
     if PYQT5:
         super(DockableTabWidget, self).__init__(parent, parent=parent)
     else:
         QTabWidget.__init__(self, parent)
         DockableWidgetMixin.__init__(self, parent)