eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py

changeset 8188
bfa6c0969acf
parent 8166
bd5cd5858503
child 8206
adf11836cfce
equal deleted inserted replaced
8187:7bfee4d12551 8188:bfa6c0969acf
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"): 99 elif code.startswith("P"):
100 itm.setIcon(1, UI.PixmapCache.getIcon("dirClosed")) 100 itm.setIcon(1, UI.PixmapCache.getIcon("dirClosed"))
101 elif code.startswith("Y"):
102 itm.setIcon(1, UI.PixmapCache.getIcon("filePython"))
101 103
102 itm.setTextAlignment( 104 itm.setTextAlignment(
103 0, Qt.AlignmentFlag.AlignRight | Qt.AlignmentFlag.AlignVCenter) 105 0, Qt.AlignmentFlag.AlignRight | Qt.AlignmentFlag.AlignVCenter)
104 itm.setTextAlignment( 106 itm.setTextAlignment(
105 1, Qt.AlignmentFlag.AlignHCenter | Qt.AlignmentFlag.AlignVCenter) 107 1, Qt.AlignmentFlag.AlignHCenter | Qt.AlignmentFlag.AlignVCenter)

eric ide

mercurial