def __init__(self):
BWizardPage.__init__(self, UI_LOCATION + "/cpu_select.ui")
- self.setTitle(self.tr("Select the CPU"))
+ self.setTitle(self.tr("Select the CPU on your board"))
self.freq_modified = False
## Overloaded QWizardPage methods ##
"""
Overload of the BWizardPage connectSignals method.
"""
- self.connect(self.pageContent.cpuList, SIGNAL("itemSelectionChanged()"), self.rowChanged)
+ self.connect(self.pageContent.cpuList, SIGNAL("currentItemChanged(QListWidgetItem *, QListWidgetItem*)"), self.rowChanged)
self.connect(self.pageContent.frequencySpinBox, SIGNAL("editingFinished()"), self.freqChanged)
def reloadData(self):
"""
try:
QApplication.instance().setOverrideCursor(Qt.WaitCursor)
- self.project().loadSourceTree()
+ self.project.loadSourceTree()
self.populateCpuList()
cpu_name = self.projectInfo("CPU_NAME")
selected_freq = self.projectInfo("SELECTED_FREQ")
"""
self.pageContent.cpuList.clear()
self.pageContent.cpuList.setCurrentItem(None)
- infos = self.project().loadCpuInfos()
+ infos = self.project.getCpuInfos()
tag_list = bertos_utils.getTagSet(infos)
# Create, fill and store the dict with the tags
tag_dict = {}