コード例 #1
0
ファイル: refresh.py プロジェクト: yazici/cgru
 def refresh(self):
     if self.counter > 0:
         cgruconfig.Config()
         keeper_refresh = 1000 * int(cgruconfig.VARS['keeper_refresh'])
         if self.timer.interval() != keeper_refresh:
             self.timer.setInterval(keeper_refresh)
     nimby.refresh()
     render.refresh()
     self.counter += 1
コード例 #2
0
def editCGRUConfig():
   if QtCore.QProcess.execute( cgruconfig.VARS['editor'] % cgruconfig.VARS['config_file_home']) == 0:
      cgruconfig.Config()
コード例 #3
0
def confReload(): cgruconfig.Config()
def quit(): Application.quit()
コード例 #4
0
ファイル: info.py プロジェクト: all-in-one-of/Python_dep
 def appendConfigFile(self, filename):
     self.textCursor().insertText('\n%s:\n' % filename, self.ftitle)
     variables = dict()
     cgruconfig.Config(variables, [filename])
     self.appendVars(variables)