Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
hi... How can I color text in LineEdit or TextBrowser
suppose i have @ QString message="hello"; ui->textBrowser->append(message); @ how can i color the message.. Thanks in advance
You can enclose the text in html span tags and add the color:
@ QString message = "<span style='color: red'>hello</span>" @