VCS/StatusMonitorLed.py

changeset 6
52e8c820d0dd
parent 0
de9c2efb9d02
child 13
1af94a91f439
equal deleted inserted replaced
5:fa319c01b604 6:52e8c820d0dd
89 Private method to receive the status monitor status. 89 Private method to receive the status monitor status.
90 90
91 @param status status of the monitoring thread (string, ok, nok or off) 91 @param status status of the monitoring thread (string, ok, nok or off)
92 @param statusMsg explanotory text for the signaled status (string) 92 @param statusMsg explanotory text for the signaled status (string)
93 """ 93 """
94 self.setColor(self.vcsMonitorLedColors[unicode(status)]) 94 self.setColor(self.vcsMonitorLedColors[status])
95 self.setToolTip(statusMsg) 95 self.setToolTip(statusMsg)
96 96
97 self.__on = status != 'off' 97 self.__on = status != 'off'
98 98
99 def _showContextMenu(self, coord): 99 def _showContextMenu(self, coord):

eric ide

mercurial