X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBCpuPage.py;h=9ef2da0db4c065d9d976cfcc73ee04de351b28a7;hb=3f3f2c46a3cadf8383ae18a5f22a41a5748298e5;hp=49daf8c98df294e023bdd44897b446d602cf692e;hpb=bfab81f21ec1f468ae3f96fbee651636789c15ed;p=bertos.git diff --git a/wizard/BCpuPage.py b/wizard/BCpuPage.py index 49daf8c9..9ef2da0d 100644 --- a/wizard/BCpuPage.py +++ b/wizard/BCpuPage.py @@ -47,7 +47,7 @@ class BCpuPage(BWizardPage): 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 ## @@ -103,7 +103,7 @@ class BCpuPage(BWizardPage): """ 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): @@ -112,7 +112,7 @@ class BCpuPage(BWizardPage): """ 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") @@ -161,7 +161,7 @@ class BCpuPage(BWizardPage): """ 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 = {}