diff --git a/doc/软件需求构思和描述文档-迭代一轮.docx b/doc/软件需求构思和描述文档-迭代一轮.docx index c783b15..8cf1c39 100644 Binary files a/doc/软件需求构思和描述文档-迭代一轮.docx and b/doc/软件需求构思和描述文档-迭代一轮.docx differ diff --git a/src/word_main_window.py b/src/word_main_window.py index ff65c45..28973f1 100644 --- a/src/word_main_window.py +++ b/src/word_main_window.py @@ -702,22 +702,7 @@ class WordStyleMainWindow(QMainWindow): # 附加工具功能 weather_menu = view_menu.addMenu('附加工具') - - # 显示天气工具组 - self.show_weather_tools_action = QAction('显示天气工具', self) - self.show_weather_tools_action.setCheckable(True) - self.show_weather_tools_action.setChecked(False) # 默认不显示 - self.show_weather_tools_action.triggered.connect(self.toggle_weather_tools) - weather_menu.addAction(self.show_weather_tools_action) - - # 显示每日一言工具组 - self.show_quote_tools_action = QAction('显示每日一言工具', self) - self.show_quote_tools_action.setCheckable(True) - self.show_quote_tools_action.setChecked(False) # 默认不显示 - self.show_quote_tools_action.triggered.connect(self.toggle_quote_tools) - weather_menu.addAction(self.show_quote_tools_action) - - weather_menu.addSeparator() + # 刷新天气 refresh_weather_action = QAction('刷新天气', self)