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): |