#include <MultiPlot.h>
◆ MultiPlot()
Widgets::MultiPlot::MultiPlot |
( |
const int |
index = -1 | ) |
|
Constructor function, configures widget style & signal/slot connections.
◆ updateData
void Widgets::MultiPlot::updateData |
( |
| ) |
|
|
privateslot |
Checks if the widget is enabled, if so, the widget shall be updated to display the latest data frame.
If the widget is disabled (e.g. the user hides it, or the external window is hidden), then the new data shall be saved to the plot vectors, but the widget shall not be redrawn.
◆ updateRange
void Widgets::MultiPlot::updateRange |
( |
| ) |
|
|
privateslot |
Updates the number of horizontal divisions of the plot
◆ m_curves
QVector<QwtPlotCurve *> Widgets::MultiPlot::m_curves |
|
private |
◆ m_index
int Widgets::MultiPlot::m_index |
|
private |
◆ m_layout
QVBoxLayout Widgets::MultiPlot::m_layout |
|
private |
◆ m_legend
QwtLegend Widgets::MultiPlot::m_legend |
|
private |
◆ m_plot
QwtPlot Widgets::MultiPlot::m_plot |
|
private |
◆ m_yData
QVector<PlotData> Widgets::MultiPlot::m_yData |
|
private |
The documentation for this class was generated from the following files:
- /Users/alex/Documents/GitHub/Serial-Studio/src/UI/Widgets/MultiPlot.h
- /Users/alex/Documents/GitHub/Serial-Studio/src/UI/Widgets/MultiPlot.cpp