Add path in the tooltip of the toolchainList element
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 13 Jan 2009 09:19:19 +0000 (09:19 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 13 Jan 2009 09:19:19 +0000 (09:19 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2168 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BToolchainPage.py

index 2236fcfe3bd463eace52f6670a28ba0390a4e725..b9aa7609312c4bbc067ef7269c69cafb70726990 100644 (file)
@@ -73,6 +73,7 @@ class BToolchainPage(BWizardPage):
     
     def _validItem(self, index, infos):
         item = self.pageContent.toolchainList.item(index)
+        item.setToolTip(qvariant_converter.getString(self.pageContent.toolchainList.item(index).data(Qt.UserRole)))
         needed = self._projectInfoRetrieve("CPU_INFOS")
         if infos["target"].find(qvariant_converter.getString(needed["TOOLCHAIN"])) != -1:
             item.setIcon(QIcon(":/images/ok.png"))