Пример #1
0
 def browseCoreFile(self):
     dbgLog('browse core file')
     fileHelper = FileDirHelper()
     corePathName = fileHelper.getFilePath("Select the CoreFile")
     self.coreAttrib.setCoreFile(corePathName)
     dbgLog(self.coreAttrib.getCoreFile())
     labelHandle = self.ui.lCorefileBrowser
     labelHelper = LabelHelper()
     ## This is to check if the string is empty or not
     if corePathName:
         labelHelper.setLabel(labelHandle, corePathName)
Пример #2
0
 def ButtonbrowseSysRoot(self):
     dbgLog('browseSys Root pressed')
     fileHelper = FileDirHelper()
     sysRootDir = fileHelper.getDirPath("SysRootPath")
     self.coreAttrib.setSysRoot(sysRootDir)
     dbgLog(self.coreAttrib.getSysRoot())
     labelHandle = self.ui.lSysRootFilePath
     labelHelper = LabelHelper()
     ## This is to check if the string is empty or not
     if sysRootDir:
         labelHelper.setLabel(labelHandle, sysRootDir)
Пример #3
0
 def browseApplicationExe(self):
     dbgLog('browse Application Exe')
     fileHelper = FileDirHelper()
     appPathName = fileHelper.getFilePath("Select the Executable")
     self.coreAttrib.setApplicationExe(appPathName)
     dbgLog(self.coreAttrib.getApplicationExe())
     labelHandle = self.ui.lApplicationFilePath
     labelHelper = LabelHelper()
     ## This is to check if the string is empty or not
     if appPathName:
         labelHelper.setLabel(labelHandle, appPathName)