Plugins/CheckerPlugins/Pep8/Pep8StatisticsDialog.py

changeset 2909
c3fb85fe41f9
parent 2895
4a44d92757f9
child 2912
9ff696796092
equal deleted inserted replaced
2908:c6e9a57eb44b 2909:c3fb85fe41f9
85 itm.setData(2, Qt.DisplayRole, message) 85 itm.setData(2, Qt.DisplayRole, message)
86 if code.startswith("W"): 86 if code.startswith("W"):
87 itm.setIcon(1, UI.PixmapCache.getIcon("warning.png")) 87 itm.setIcon(1, UI.PixmapCache.getIcon("warning.png"))
88 elif code.startswith("E"): 88 elif code.startswith("E"):
89 itm.setIcon(1, UI.PixmapCache.getIcon("syntaxError.png")) 89 itm.setIcon(1, UI.PixmapCache.getIcon("syntaxError.png"))
90 elif code.startswith("N"):
91 itm.setIcon(1, UI.PixmapCache.getIcon("namingError.png"))
90 92
91 itm.setTextAlignment(0, Qt.AlignRight) 93 itm.setTextAlignment(0, Qt.AlignRight)
92 itm.setTextAlignment(1, Qt.AlignHCenter) 94 itm.setTextAlignment(1, Qt.AlignHCenter)

eric ide

mercurial