Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py

changeset 89
5328bc217a3c
parent 88
3701923bccf2
child 90
6de42151f9e6
equal deleted inserted replaced
88:3701923bccf2 89:5328bc217a3c
75 itm.setTextAlignment(1, Qt.AlignRight) 75 itm.setTextAlignment(1, Qt.AlignRight)
76 if isWarning: 76 if isWarning:
77 itm.setIcon(0, UI.PixmapCache.getIcon("warning.png")) 77 itm.setIcon(0, UI.PixmapCache.getIcon("warning.png"))
78 else: 78 else:
79 itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError.png")) 79 itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError.png"))
80 itm.setToolTip(0, file)
80 itm.setData(0, self.filenameRole, file) 81 itm.setData(0, self.filenameRole, file)
81 itm.setData(0, self.warningRole, isWarning) 82 itm.setData(0, self.warningRole, isWarning)
82 83
83 def start(self, fn, codestring = ""): 84 def start(self, fn, codestring = ""):
84 """ 85 """

eric ide

mercurial