|
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) |
|
Definition at line 21 of file HistogramPlot.h.
◆ HistogramPlot()
HistogramPlot::HistogramPlot |
( |
QWidget * |
parent = 0 | ) |
|
|
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 75 of file HistogramPlot.cpp.
79 QPen pen(QColor(0, 0, 255, 200));
82 m_customPlot->graph()->setBrush(QBrush(QColor(255 / 4, 160, 50, 150)));
86 axisRectangle->setAutoMargins(QCP::msTop | QCP::msBottom);
87 axisRectangle->setMargins(QMargins(base_size.width() * 4, base_size.height() * 2,
88 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 StyleUtils::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: