Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py

changeset 4506
57666e501a42
parent 4423
14f3ca3dcef6
child 4511
b5e4e7efa904
equal deleted inserted replaced
4505:3b437ae320bd 4506:57666e501a42
48 elif code in _messages: 48 elif code in _messages:
49 message = _messages[code] 49 message = _messages[code]
50 else: 50 else:
51 continue 51 continue
52 itm = QTreeWidgetItem(self.codeTable, [code, message]) 52 itm = QTreeWidgetItem(self.codeTable, [code, message])
53 if code.startswith(("W", "C")): 53 if code.startswith(("W", "C", "M")):
54 itm.setIcon(0, UI.PixmapCache.getIcon("warning.png")) 54 itm.setIcon(0, UI.PixmapCache.getIcon("warning.png"))
55 elif code.startswith("E"): 55 elif code.startswith("E"):
56 itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError.png")) 56 itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError.png"))
57 elif code.startswith("N"): 57 elif code.startswith("N"):
58 itm.setIcon(0, UI.PixmapCache.getIcon("namingError.png")) 58 itm.setIcon(0, UI.PixmapCache.getIcon("namingError.png"))

eric ide

mercurial