mirror of
https://github.com/yuruotong1/autoMate.git
synced 2025-12-26 05:16:21 +08:00
📝 更新(word_action.py): 删除无用的打印语句
📝 更新(chat_list.py): 删除无用的打印语句 📝 更新(chat_page.py): 删除重复的欢迎消息打印语句
This commit is contained in:
parent
76ffb49825
commit
6a582a2e58
@ -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
|
||||
|
||||
@ -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())
|
||||
|
||||
|
||||
@ -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库以进行操作系统相关操作
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user