# Author: Lorenzo Berni <duplo@develer.com>
#
# Author: Lorenzo Berni <duplo@develer.com>
#
from BWizardPage import *
from BWizardPage import *
class BCpuPage(BWizardPage):
def __init__(self):
BWizardPage.__init__(self, "cpu_select.ui")
self.setTitle(self.tr("Select the CPU"))
class BCpuPage(BWizardPage):
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))
\ No newline at end of file
\ No newline at end of file