fixing the output widget of KDevelop-2.1 on KDE3
Harald Fernengel
harry at kdevelop.org
Mon Feb 11 22:39:02 UTC 2002
Hi,
> Can anybody give me link to a code example where I can easily see how I
> insert coloured text in a QMultiLineEdit of Qt3? I don't understand the
> Qt3 docu for that.
> The best would be something like insertText("blabla", color) but it
> doesn't seem that easy. :(
> You know COutputWidget is still black/white and flickering on KDE 3 and
> I want to have a look for fixing that until the KDevelop-2.1 final release.
It works via QStyleSheet, you can define any tag (<falk></falk>). The most
common HTML-Tags are already predefined (documented in QStyleSheet), just
use:
textEdit->append( "<font color=red>error</font>" );
Best regards,
Harry
More information about the KDevelop-devel
mailing list