+
+ ####
+
+ ## Overloaded BWizardPage methods ##
+
+ def setupUi(self):
+ """
+ Overload of the BWizardPage setupUi method.
+ """
+ self.pageContent.cpuList.setSortingEnabled(True)
+ self.pageContent.descriptionLabel.setVisible(False)
+ self.pageContent.descriptionLabel.setText("")
+ self.pageContent.frequencyLabel.setVisible(False)
+ self.pageContent.frequencySpinBox.setVisible(False)
+
+ def connectSignals(self):
+ """
+ Overload of the BWizardPage connectSignals method.
+ """
+ self.connect(self.pageContent.cpuList, SIGNAL("itemSelectionChanged()"), self.rowChanged)
+ self.connect(self.pageContent.frequencySpinBox, SIGNAL("valueChanged(double)"), self.freqChanged)
+
+ def reloadData(self):
+ """
+ Overload of the BWizardPage reloadData method.
+ """
+ QApplication.instance().setOverrideCursor(Qt.WaitCursor)
+ bertos_utils.loadSourceTree(self.project())
+ self.populateCpuList()
+ cpu_name = self.projectInfo("CPU_NAME")
+ self.setupUi()
+ if not cpu_name is None:
+ self.selectItem(cpu_name)
+ QApplication.instance().restoreOverrideCursor()
+ self.emit(SIGNAL("completeChanged()"))
+
+ ####
+
+ ## Slots ##
+