mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect-gui.git
synced 2025-06-24 13:14:11 +08:00
fixed
This commit is contained in:
parent
b033ec5c0c
commit
e7eb6d09ba
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user