+ description = self.pageContent.cpuList.currentItem().data(Qt.UserRole).toMap()
+ # I don't like to use QString as key in the dict, but the QVariant.toMap() return a dict<QString,QVariant>
+ description = description[QString("CPU_DESC")].toStringList()
+ # We need to convert the list of QString in a list of unicode
+ description = [unicode(line) for line in description]
+ self.pageContent.descriptionLabel.setText("<br>".join(description))
+ self.pageContent.descriptionLabel.setVisible(True)