示例#1
0
 def initConfig(self): 
     self.recent = config.recent()
     self.dirty = []
     if(config.files() != None):
         if(len(config.files()) != 0):
             for i in config.files():
                 self.createTab(i)
示例#2
0
 def initConfig(self):
     self.projects = config.projects()
     self.recent = config.recent()
     self.dirty = []
     if config.files() != None:
         for i in config.files():
             self.createTab(i)
     self.tabWidget.tabCloseRequested.connect(self.closeTab)
     self.treeWidget.itemDoubleClicked.connect(self.ss)