Ok, thanks.
I was triying to modify the Qwt3D plot code, did you look at it?
There is a header called, qwt3d_portability.h where a this variable is defined:
const Qt::TextFlag SingleLine = Qt::TextSingleLine;
const Qt::TextFlag SingleLine = Qt::TextSingleLine;
To copy to clipboard, switch view to plain text mode
An then, in qwt3d_label.cpp this variable is used:
....
.....
....
QRect r = QRect(QPoint(0,0),fm.size(Qwt3D::SingleLine, text_));
.....
To copy to clipboard, switch view to plain text mode
In oder to set the rectangle of the text label in a single line. I tried to replace this flag with another one,in order to avoid the single line restiction, but It doesn't work?
Did you also try this approach?
Thanks
Bookmarks