eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py

branch
maintenance
changeset 8176
31965986ecd1
parent 8166
bd5cd5858503
child 8188
bfa6c0969acf
equal deleted inserted replaced
8153:e01ae92db699 8176:31965986ecd1
94 itm.setIcon(1, UI.PixmapCache.getIcon("namingError")) 94 itm.setIcon(1, UI.PixmapCache.getIcon("namingError"))
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 elif code.startswith("P"):
100 itm.setIcon(1, UI.PixmapCache.getIcon("dirClosed"))
99 101
100 itm.setTextAlignment(0, Qt.AlignRight | Qt.AlignVCenter) 102 itm.setTextAlignment(
101 itm.setTextAlignment(1, Qt.AlignHCenter | Qt.AlignVCenter) 103 0, Qt.AlignmentFlag.AlignRight | Qt.AlignmentFlag.AlignVCenter)
104 itm.setTextAlignment(
105 1, Qt.AlignmentFlag.AlignHCenter | Qt.AlignmentFlag.AlignVCenter)

eric ide

mercurial