1 #include "HistogramPlotWindow.h"
3 #include <qwt_scale_engine.h>
8 #include "HistogramItem.h"
21 QwtText frequencyLabel(
"Frequency", QwtText::PlainText);
23 frequencyLabel.setColor(Qt::darkCyan);
24 QFont font = frequencyLabel.font();
25 font.setPointSize(13);
27 frequencyLabel.setFont(font);
28 plot()->enableAxis(QwtPlot::yRight);
29 plot()->setAxisTitle(QwtPlot::yRight, frequencyLabel);
32 p_dock->setAllowedAreas(Qt::AllDockWidgetAreas);
33 p_dock->setFloating(
false);
34 p_dock->setObjectName(
"DockWidget");
35 p_dock->setMinimumWidth(130);
36 addDockWidget(Qt::LeftDockWidgetArea, p_dock, Qt::Vertical);
62 p_histItems.push_back(hi);