eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8166
bd5cd5858503
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
95 elif code.startswith("D"): 95 elif code.startswith("D"):
96 itm.setIcon(1, UI.PixmapCache.getIcon("docstringError")) 96 itm.setIcon(1, UI.PixmapCache.getIcon("docstringError"))
97 elif code.startswith("S"): 97 elif code.startswith("S"):
98 itm.setIcon(1, UI.PixmapCache.getIcon("securityLow")) 98 itm.setIcon(1, UI.PixmapCache.getIcon("securityLow"))
99 99
100 itm.setTextAlignment(0, Qt.AlignRight | Qt.AlignVCenter) 100 itm.setTextAlignment(
101 itm.setTextAlignment(1, Qt.AlignHCenter | Qt.AlignVCenter) 101 0, Qt.AlignmentFlag.AlignRight | Qt.AlignmentFlag.AlignVCenter)
102 itm.setTextAlignment(
103 1, Qt.AlignmentFlag.AlignHCenter | Qt.AlignmentFlag.AlignVCenter)

eric ide

mercurial