(self)
| 739 | self.log("已开始处理") |
| 740 | |
| 741 | def stop_processing(self): |
| 742 | self.processor.stop() |
| 743 | if self.icon: |
| 744 | self.icon.icon = self.icon_image['processing'] # 改用 'processing' 状态 |
| 745 | self.running_state = False |
| 746 | self.icon.menu = self.create_menu() # 更新菜单 |
| 747 | self.log("已停止处理") |
| 748 | |
| 749 | def create_tray_icon(self): |
| 750 | width, height = 64, 32 |
no test coverage detected