Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
    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)
Ejemplo n.º 3
0
 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)
Ejemplo n.º 4
0
    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)