def __init__(self):
BWizardPage.__init__(self, "cpu_select.ui")
self.setTitle(self.tr("Select the CPU"))
def __init__(self):
BWizardPage.__init__(self, "cpu_select.ui")
self.setTitle(self.tr("Select the CPU"))
- #self._populateCpuList()
def _populateCpuList(self):
cpus = bertos_utils.findDefinitions("cdef", self._projectInfoRetrieve("SOURCES_PATH"))
for cpu in cpus.keys():
self.pageContent.cpuList.addItem(QListWidgetItem(cpu))
def _populateCpuList(self):
cpus = bertos_utils.findDefinitions("cdef", self._projectInfoRetrieve("SOURCES_PATH"))
for cpu in cpus.keys():
self.pageContent.cpuList.addItem(QListWidgetItem(cpu))
+
+ def reloadData(self):
+ self._populateCpuList()
\ No newline at end of file
\ No newline at end of file