📝 更新(word_action.py): 删除无用的打印语句

📝 更新(chat_list.py): 删除无用的打印语句
📝 更新(chat_page.py): 删除重复的欢迎消息打印语句
This commit is contained in:
yuruo 2024-06-06 14:11:19 +08:00
parent 76ffb49825
commit 6a582a2e58
3 changed files with 1 additions and 21 deletions

View File

@ -10,20 +10,4 @@ class WordAction(ActionBase):
@action(description="批量修改表格中的内容,将表格的行和列修改为新内容")
def tmp(self, tmp: object):
print("tmp")
if __name__ == "__main__":
word_action = WordAction()
# print(word_action.get_action_description("change_content_for_table"))
# print(word_action.get_actions())
print(word_action.package_actions_description())
# word_action.change_content_for_table("", 1, 1, 1, 1, "")
return True

View File

@ -95,7 +95,6 @@ class ChatList(QListWidget):
conversation_item.setSizeHint(conversation_widget.size()) # # 设置 QTextEdit 的背景为白色,边角为椭圆
# 获取 QTextEdit 的文档的大小
doc_size = self.text_edit.document().size().toSize()
print("doc_size", doc_size)
conversation_widget.setFixedHeight(doc_size.height()*25 + 20)
conversation_item.setSizeHint(conversation_widget.size())

View File

@ -168,9 +168,6 @@ class ChatPage(QMainWindow, interface_ui):
self.chat_list.new_response(
"<b>你好我叫智子你的智能Agent助手</b><br><br>你可以输入“/”搜索行为,或者可有什么要求可以随时吩咐!"
)
self.chat_list.new_response(
"<b>你好我叫智子你的智能Agent助手</b><br><br>你可以输入“/”搜索行为,或者可有什么要求可以随时吩咐!"
)
# self.chat_list.new_response("""
# import os # 导入os库以进行操作系统相关操作