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 """ |