27 #include "../utils/ScopedCursor.h" 35 #include "ui_ChartDialogForm.h" 36 #include "ui_HistogramDataWidgetForm.h" 39 #include <QDockWidget> 43 m_ui(new
Ui::ChartDialogForm)
51 QGridLayout* layout =
new QGridLayout(
m_ui->m_dataWidgetFrame);
53 this->layout()->setSizeConstraint(QLayout::SetFixedSize);
58 m_ui->m_helpPushButton->setPageReference(
"widgets/charts/histogram/histogram.html");
79 chartStyle->setTitle(QString::fromUtf8(
"Histogram"));
86 chartStyle->setAxisY(QString::fromUtf8(
"Frequency"));
91 chart->setPen(Qt::black);
92 chart->setBrush(QBrush(Qt::blue));
93 chart->
attach(chartDisplay);
95 chartDisplay->replot();
A class used to define the style of a histogram's chart.
A class to represent a histogram chart.
A class used to define a chartDisplay's style.
A dialog used to define the basic parameters of a new histogram.
A class to represent a chart display.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr