Can we write or colored text into string
or
can we change color of string content?
Any idea please Help me.
Syntax or example for this.
Can we write or colored text into string
or
can we change color of string content?
Any idea please Help me.
Syntax or example for this.
Last edited by bismitapadhy; 28th May 2009 at 09:59.
QString is only a sequence of unicode characters without any visual interpretation. Take a look at QLabel - you can set a QString on it and you can apply visual formatting by using simple html tags such as <font color="red">
thank you!
QLabel *label = new QLabel("<font color=red>hello!</font></h2>")like this
Bookmarks