#include <plotmatrix.h>
Public Slots | |
void | maximumZoomOut () |
void | maximumZoomOutHorizontal () |
void | maximumZoomOutVertical () |
Signals | |
void | plotAdded (PlotWidget *) |
void | undoableChange () |
Public Member Functions | |
void | addColumn () |
void | addRow () |
unsigned | colsCount () const |
QGridLayout * | gridLayout () |
bool | isColumnEmpty (unsigned row) const |
bool | isRowEmpty (unsigned row) const |
const QString & | name () const |
PlotWidget * | plotAt (unsigned row, unsigned column) |
const PlotWidget * | plotAt (unsigned row, unsigned column) const |
PlotWidget * | plotAt (unsigned index) |
const PlotWidget * | plotAt (unsigned index) const |
unsigned | plotCount () const |
PlotMatrix (QString name, PlotDataMapRef &datamap, QWidget *parent=nullptr) | |
void | removeColumn (unsigned column_to_delete) |
void | removeEmpty () |
void | removeRow (unsigned row_to_delete) |
void | replot () |
unsigned | rowsCount () const |
void | setAxisScale (QwtPlot::Axis axisId, unsigned row, unsigned col, double min, double max, double step=0) |
void | setHorizontalLink (bool linked) |
void | setName (const QString &new_name) |
void | updateLayout () |
bool | xmlLoadState (QDomElement &plotmatrix_element) |
QDomElement | xmlSaveState (QDomDocument &doc) const |
virtual | ~PlotMatrix () |
Private Slots | |
void | on_legendSizeChanged (int point_size) |
void | on_singlePlotScaleChanged (PlotWidget *modified_plot, QRectF range) |
Private Member Functions | |
PlotWidget * | addPlotWidget (unsigned row, unsigned col) |
void | alignAxes (unsigned rowOrColumn, QwtPlot::Axis axisId) |
void | alignScaleBorder (unsigned rowOrColumn, QwtPlot::Axis axisId) |
void | swapPlots (unsigned rowA, unsigned colA, unsigned rowB, unsigned colB) |
Private Attributes | |
bool | _horizontal_link |
QGridLayout * | _layout |
int | _legend_point_size |
PlotDataMapRef & | _mapped_data |
QString | _name |
unsigned | _num_cols |
unsigned | _num_rows |
Definition at line 9 of file plotmatrix.h.
PlotMatrix::PlotMatrix | ( | QString | name, |
PlotDataMapRef & | datamap, | ||
QWidget * | parent = nullptr |
||
) |
Definition at line 13 of file plotmatrix.cpp.
|
virtual |
Definition at line 181 of file plotmatrix.cpp.
void PlotMatrix::addColumn | ( | ) |
Definition at line 72 of file plotmatrix.cpp.
|
private |
Definition at line 29 of file plotmatrix.cpp.
void PlotMatrix::addRow | ( | ) |
Definition at line 54 of file plotmatrix.cpp.
|
private |
Definition at line 451 of file plotmatrix.cpp.
|
private |
Definition at line 485 of file plotmatrix.cpp.
unsigned PlotMatrix::colsCount | ( | ) | const |
Definition at line 188 of file plotmatrix.cpp.
QGridLayout * PlotMatrix::gridLayout | ( | ) |
Definition at line 369 of file plotmatrix.cpp.
bool PlotMatrix::isColumnEmpty | ( | unsigned | row | ) | const |
Definition at line 198 of file plotmatrix.cpp.
bool PlotMatrix::isRowEmpty | ( | unsigned | row | ) | const |
Definition at line 210 of file plotmatrix.cpp.
|
slot |
Definition at line 400 of file plotmatrix.cpp.
|
slot |
Definition at line 374 of file plotmatrix.cpp.
|
slot |
Definition at line 387 of file plotmatrix.cpp.
const QString & PlotMatrix::name | ( | ) | const |
Definition at line 364 of file plotmatrix.cpp.
|
privateslot |
Definition at line 437 of file plotmatrix.cpp.
|
privateslot |
Definition at line 414 of file plotmatrix.cpp.
|
signal |
PlotWidget * PlotMatrix::plotAt | ( | unsigned | row, |
unsigned | column | ||
) |
Definition at line 223 of file plotmatrix.cpp.
const PlotWidget * PlotMatrix::plotAt | ( | unsigned | row, |
unsigned | column | ||
) | const |
Definition at line 233 of file plotmatrix.cpp.
PlotWidget * PlotMatrix::plotAt | ( | unsigned | index | ) |
Definition at line 243 of file plotmatrix.cpp.
const PlotWidget * PlotMatrix::plotAt | ( | unsigned | index | ) | const |
Definition at line 248 of file plotmatrix.cpp.
unsigned PlotMatrix::plotCount | ( | ) | const |
Definition at line 193 of file plotmatrix.cpp.
void PlotMatrix::removeColumn | ( | unsigned | column_to_delete | ) |
Definition at line 103 of file plotmatrix.cpp.
void PlotMatrix::removeEmpty | ( | ) |
Definition at line 157 of file plotmatrix.cpp.
void PlotMatrix::removeRow | ( | unsigned | row_to_delete | ) |
Definition at line 131 of file plotmatrix.cpp.
void PlotMatrix::replot | ( | ) |
Definition at line 343 of file plotmatrix.cpp.
unsigned PlotMatrix::rowsCount | ( | ) | const |
Definition at line 183 of file plotmatrix.cpp.
void PlotMatrix::setAxisScale | ( | QwtPlot::Axis | axisId, |
unsigned | row, | ||
unsigned | col, | ||
double | min, | ||
double | max, | ||
double | step = 0 |
||
) |
Definition at line 254 of file plotmatrix.cpp.
void PlotMatrix::setHorizontalLink | ( | bool | linked | ) |
Definition at line 353 of file plotmatrix.cpp.
void PlotMatrix::setName | ( | const QString & | new_name | ) |
Definition at line 359 of file plotmatrix.cpp.
|
private |
Definition at line 90 of file plotmatrix.cpp.
|
signal |
void PlotMatrix::updateLayout | ( | ) |
Definition at line 328 of file plotmatrix.cpp.
bool PlotMatrix::xmlLoadState | ( | QDomElement & | plotmatrix_element | ) |
Definition at line 288 of file plotmatrix.cpp.
QDomElement PlotMatrix::xmlSaveState | ( | QDomDocument & | doc | ) | const |
Definition at line 265 of file plotmatrix.cpp.
|
private |
Definition at line 79 of file plotmatrix.h.
|
private |
Definition at line 76 of file plotmatrix.h.
|
private |
Definition at line 84 of file plotmatrix.h.
|
private |
Definition at line 81 of file plotmatrix.h.
|
private |
Definition at line 83 of file plotmatrix.h.
|
private |
Definition at line 78 of file plotmatrix.h.
|
private |
Definition at line 77 of file plotmatrix.h.