#include <Plot.h>
◆ Plot()
Widgets::Plot::Plot |
( |
const int |
index = -1 | ) |
|
Constructor function, configures widget style & signal/slot connections.
◆ updateData
void Widgets::Plot::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 vector, but the widget shall not be redrawn.
◆ updateRange
void Widgets::Plot::updateRange |
( |
| ) |
|
|
privateslot |
Updates the number of horizontal divisions of the plot
◆ m_autoscale
bool Widgets::Plot::m_autoscale |
|
private |
◆ m_curve
QwtPlotCurve Widgets::Plot::m_curve |
|
private |
◆ m_index
int Widgets::Plot::m_index |
|
private |
◆ m_layout
QVBoxLayout Widgets::Plot::m_layout |
|
private |
◆ m_max
double Widgets::Plot::m_max |
|
private |
◆ m_min
double Widgets::Plot::m_min |
|
private |
◆ m_plot
QwtPlot Widgets::Plot::m_plot |
|
private |
The documentation for this class was generated from the following files:
- /Users/alex/Documents/GitHub/Serial-Studio/src/UI/Widgets/Plot.h
- /Users/alex/Documents/GitHub/Serial-Studio/src/UI/Widgets/Plot.cpp