标签: qt user-interface
有谁知道如何在QString中找到QTextEdit并更改其颜色?
QString
QTextEdit
答案 0 :(得分:0)
您可以使用QTextEdit::find() + How to highlight a string of text within a QTextEdit
QTextEdit::find()
另请参阅:QSyntaxHighlighter
QSyntaxHighlighter