Ah yes: QwtTextLabel != QwtPlotTextLabel ( re-read your initial question ! ):
So your line should be:
plot
->labelRpPlot
->setText
( QwtText( "Rp [N]=20000.333 <br><br> Rp[N/mm <sup>2</sup>]=3.44455" ,
QwtText::RichText ) );
plot->labelRpPlot->setText( QwtText( "Rp [N]=20000.333 <br><br> Rp[N/mm <sup>2</sup>]=3.44455" , QwtText::RichText ) );
To copy to clipboard, switch view to plain text mode
or:
plot
->labelRpPlot
->setText
( QwtText( QString( "Rp [N]=20000.333 <br><br> Rp[N/mm <sup>2</sup>]=3.44455" ),
QwtText::RichText ) );
plot->labelRpPlot->setText( QwtText( QString( "Rp [N]=20000.333 <br><br> Rp[N/mm <sup>2</sup>]=3.44455" ), QwtText::RichText ) );
To copy to clipboard, switch view to plain text mode
Uwe
Bookmarks