Exemplo n.º 1
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)
Exemplo n.º 2
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)
Exemplo n.º 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)
Exemplo n.º 4
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)
Exemplo n.º 5
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)
Exemplo n.º 6
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)