comparison examples/qwt/simpleplot/simple.d @ 380:beb04f46ef4a

fix NULL default values
author Eldar Insafutdinov
date Sat, 10 Jul 2010 22:32:16 +0100
parents a795eeb3b21f
children 347e4c7a9ba1
comparison
equal deleted inserted replaced
379:a795eeb3b21f 380:beb04f46ef4a
71 class Plot : QwtPlot 71 class Plot : QwtPlot
72 { 72 {
73 public: 73 public:
74 this() 74 this()
75 { 75 {
76 super(cast(QWidget)null);
77 setTitle("A Simple QwtPlot Demonstration"); 76 setTitle("A Simple QwtPlot Demonstration");
78 insertLegend(new QwtLegend(cast(QWidget)null), QwtPlot.RightLegend); 77 insertLegend(new QwtLegend(), QwtPlot.RightLegend);
79 78
80 // Set axis titles 79 // Set axis titles
81 setAxisTitle(xBottom, "x -->"); 80 setAxisTitle(xBottom, "x -->");
82 setAxisTitle(yLeft, "y -->"); 81 setAxisTitle(yLeft, "y -->");
83 82