Hi,

I have several problems with this function. I try to identify the font which is used for painting labels in a QwtScaleDraw in a QwtPlot.

* Output f.e. the line
qDebug() << plot_->axisScaleDraw(QwtPlot::xBottom)->label(450).font();
is
QFont( "MS Shell Dlg 2,8.14286,-1,5,50,0,0,0,0,0" ).
The QwtPlot is shown on the screen at this point of time. This is strange to me because I set the application font to Arial with QMainWindow::setFont(), I expect all fonts to be Arial then. Is the QMainWindow font not propagated to QwtPlot? Did I miss anything?

* I put a simple QLineEdit in front of a QwtScaleDraw::label() (goal is to make labels editable to let the user change the axis boundaries). If I set the font of the QLineEdit to this MS Shell Dlg, the result looks quite different from other labels (font, size...). I expect to get the same look on the QwtScaleDraw-labels and my QLineEdit. It looks like either QwtText::font() returns something strange.

* so the question is: how can I get the same font on my QLineEdit as a QwtScaleDraw label uses?

* what is the difference between QwtText::font() and QwtText::usedFont() ?

Best regards,
Carsten