311 if statusText not in self.__statusFilters: |
311 if statusText not in self.__statusFilters: |
312 self.__statusFilters.append(statusText) |
312 self.__statusFilters.append(statusText) |
313 |
313 |
314 def closeEvent(self, e): |
314 def closeEvent(self, e): |
315 """ |
315 """ |
316 Private slot implementing a close event handler. |
316 Protected slot implementing a close event handler. |
317 |
317 |
318 @param e close event (QCloseEvent) |
318 @param e close event (QCloseEvent) |
319 """ |
319 """ |
320 if self.process is not None and \ |
320 if self.process is not None and \ |
321 self.process.state() != QProcess.NotRunning: |
321 self.process.state() != QProcess.NotRunning: |
698 ## Context menu handling methods |
698 ## Context menu handling methods |
699 ########################################################################### |
699 ########################################################################### |
700 |
700 |
701 def __showContextMenu(self, coord): |
701 def __showContextMenu(self, coord): |
702 """ |
702 """ |
703 Protected slot to show the context menu of the status list. |
703 Private slot to show the context menu of the status list. |
704 |
704 |
705 @param coord the position of the mouse pointer (QPoint) |
705 @param coord the position of the mouse pointer (QPoint) |
706 """ |
706 """ |
707 self.menu.popup(self.mapToGlobal(coord)) |
707 self.menu.popup(self.mapToGlobal(coord)) |
708 |
708 |