Hi Giuseppe,
thank you for your reply. Im trying to find a Bug in Labplot, so I have to
try to create a minimal project.
I tried with QTextDocument and it seems to work fine.
QTextDocument document;
document.setHtml(staticText.text());
//painter->drawStaticText(QPoint(-w/2,-h/2), staticText);
Hi,
On 14/05/2019 20:07, Martin Marmsoler wrote:
I store this String in a QStaticText (staticText)and draw this text with
painter->drawStaticText(QPoint(-w/2,-h/2),staticText);
But the result is that the hole text is red and not only the part "arke"
Which Qt version are you using, under wh
Hello,
I'm trying to draw a static text from html code received from a QTextEdit.
The first time I set the text normaly without html:
teLabel->setText("Textmarke");
then I mark in the TextEdit field the part "arke" of the above text and
change the color with
teLabel->setTextColor(color);
>From