コード例 #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)
コード例 #2
0
ファイル: actionsWidget.py プロジェクト: pars-linux/uludag
    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)
コード例 #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)
コード例 #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)