CharFormat how set backgroud color ??
General and Desktop
4
Posts
3
Posters
1.7k
Views
1
Watching
-
hi i use QTextEdit and i want change background color on single char, i know char color can change with change
[code]
QTextChaFormat::setTextOutline(QPen(QColor::Color))
[/code]
Underline color can change
[code]
QTextChaFormat::setUnderlineColor,
[/code]
but i can't finde background color. -
but i neet set background color to single char, not to all TextEdit.
ok i have , QTextCharForm inherits setBackground(); srry -