From e7eb6d09bae6e3bd36ce4f2be5986b6a00a2e9c9 Mon Sep 17 00:00:00 2001 From: njdaoyehu Date: Thu, 28 Nov 2024 10:22:01 +0800 Subject: [PATCH] fixed --- widget/task_run.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/widget/task_run.py b/widget/task_run.py index fda314a..b91e5f2 100644 --- a/widget/task_run.py +++ b/widget/task_run.py @@ -99,27 +99,6 @@ class TaskRunDialog(QDialog): fmt.setForeground(QBrush(font_color)) self.log_text.mergeCurrentCharFormat(fmt) self.log_text.appendPlainText(text) - # InsertText(QString - # text, QPlainTextEdit * plainTextEdit, int - # fontSize, QColor - # fontColor, QColor - # backColor) - # { - # QTextCharFormat - # fmt; - # // 字体色 - # fmt.setForeground(QBrush(fontColor)); - # // fmt.setUnderlineColor("red"); - # - # // 背景色 - # fmt.setBackground(QBrush(backColor)); - # // 字体大小 - # fmt.setFontPointSize(fontSize); - # // 文本框使用以上设定 - # plainTextEdit->mergeCurrentCharFormat(fmt); - # // 文本框添加文本 - # plainTextEdit->appendPlainText(text); - # } def showEvent(self, e): AppContext.get_edge_context().get_component('image-framework').start_location()