def __init__(self, parent, componentFile = None): QWidget.__init__(self, parent) self.mainLayout = QVBoxLayout(self, 5, 5) self.mainLayout.setAutoAdd(True) self.change = False from editors import Editor as ed self.editor = ed("kwrite", self) if componentFile != None: self.editor.openFile(componentFile)
def __init__(self, parent, actionsFile=None): QWidget.__init__(self, parent) self.mainLayout = QVBoxLayout(self, 5, 5) self.mainLayout.setAutoAdd(True) self.change = False from editors import Editor as ed self.editor = ed("python", self) if actionsFile != None: self.editor.openFile(actionsFile)
def __init__(self, parent, actionsFile = None): QWidget.__init__(self, parent) self.mainLayout = QVBoxLayout(self, 5, 5) self.mainLayout.setAutoAdd(True) self.change = False from editors import Editor as ed self.editor = ed("python", self) if actionsFile != None: self.editor.openFile(actionsFile)
def __init__(self, parent, componentFile=None): QWidget.__init__(self, parent) self.mainLayout = QVBoxLayout(self, 5, 5) self.mainLayout.setAutoAdd(True) self.change = False from editors import Editor as ed self.editor = ed("kwrite", self) if componentFile != None: self.editor.openFile(componentFile)