Definition at line 21 of file HistogramPlot.h.
|
void | addData (const QVector< double > &x, const QVector< double > &y) |
|
void | addData (double x, double y) |
|
void | clearData () |
|
void | setData (const QVector< double > &x, const QVector< double > &y) |
|
◆ HistogramPlot()
HistogramPlot::HistogramPlot |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ addData [1/2]
void HistogramPlot::addData |
( |
const QVector< double > & |
x, |
|
|
const QVector< double > & |
y |
|
) |
| |
|
slot |
◆ addData [2/2]
void HistogramPlot::addData |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
slot |
◆ clearData
void HistogramPlot::clearData |
( |
| ) |
|
|
slot |
◆ initGraph()
void HistogramPlot::initGraph |
( |
| ) |
|
|
private |
Definition at line 80 of file HistogramPlot.cpp.
84 QPen pen(QColor(0, 0, 255, 200));
87 m_customPlot->graph()->setBrush(QBrush(QColor(255 / 4, 160, 50, 150)));
91 axisRectangle->setAutoMargins(QCP::msTop | QCP::msBottom);
92 axisRectangle->setMargins(QMargins(base_size.width() * 4, base_size.height() * 2,
93 base_size.width() * 2, base_size.height() * 2));
QSize SizeOfLetterM(const QWidget *widget=nullptr)
Returns size of largest letter of default system font.
References m_customPlot, and GUI::Util::Style::SizeOfLetterM().
Referenced by HistogramPlot(), and clearData().
◆ setData
void HistogramPlot::setData |
( |
const QVector< double > & |
x, |
|
|
const QVector< double > & |
y |
|
) |
| |
|
slot |
◆ m_customPlot
QCustomPlot* HistogramPlot::m_customPlot |
|
private |
The documentation for this class was generated from the following files:
- /home/build/builds/o5h8MZZm/0/mlz/bornagain/GUI/View/PlotComparison/HistogramPlot.h
- /home/build/builds/o5h8MZZm/0/mlz/bornagain/GUI/View/PlotComparison/HistogramPlot.cpp