Qwt 6.0.3, Qt 4.8.4, Linux.

I was expecting this code to generate a disabled widget (it does) with the plot title, legend, and maybe plot curves, ghosted (it does not). The scales and their labels get ghosted. Am I missing something or is this a "feature"?
Qt Code:
  1. #include <QtGui>
  2. #include "qwt_plot.h"
  3. #include <qwt_plot_curve.h>
  4. #include <qwt_legend.h>
  5.  
  6. static const double x[] = { 0.0, 1.0, 2.0, 3.0 };
  7. static const double y[] = { 0.0, 1.0, 4.0, 9.0 };
  8.  
  9. int main(int argc, char **argv)
  10. {
  11. QApplication app(argc, argv);
  12.  
  13. QwtPlot myPlot;
  14. myPlot.setTitle("Test");
  15. myPlot.setAxisTitle( QwtPlot::xBottom, "X" );
  16. myPlot.setAxisTitle( QwtPlot::yLeft, "Y" );
  17. QwtLegend *legend = new QwtLegend;
  18. myPlot.insertLegend( legend, QwtPlot::BottomLegend );
  19.  
  20. QwtPlotCurve *curve = new QwtPlotCurve("Curve");
  21. curve->setLegendAttribute( QwtPlotCurve::LegendShowLine );
  22. curve->setPen(QColor(Qt::red));
  23. curve->setSamples(x, y, 4);
  24. curve->attach(&myPlot);
  25.  
  26. myPlot.setEnabled(false);
  27. myPlot.show();
  28.  
  29. return app.exec();
  30. }
To copy to clipboard, switch view to plain text mode 
tt.png