Plot window. More...
#include <PlotWindow.hh>
Inherits QWidget.
Public Member Functions | |
PlotWindow (QWidget *_parent=nullptr) | |
Constructor. More... | |
virtual | ~PlotWindow () |
Destructor. More... | |
PlotCanvas * | AddCanvas () |
Add a new canvas. More... | |
unsigned int | CanvasCount () const |
Get the number of canvases in this plot window. More... | |
void | Clear () |
Clear and remove all canvases. More... | |
std::list< PlotCanvas * > | Plots () |
Get a list of all the plots. More... | |
void | RemoveCanvas (PlotCanvas *_canvas) |
Remove a plot canvas. More... | |
void | Restart () |
Restart plotting. More... | |
Plot window.
|
explicit |
Constructor.
[in] | _parent | Pointer to the parent widget. |
|
virtual |
Destructor.
PlotCanvas* AddCanvas | ( | ) |
Add a new canvas.
unsigned int CanvasCount | ( | ) | const |
Get the number of canvases in this plot window.
void Clear | ( | ) |
Clear and remove all canvases.
std::list<PlotCanvas *> Plots | ( | ) |
Get a list of all the plots.
void RemoveCanvas | ( | PlotCanvas * | _canvas | ) |
Remove a plot canvas.
[in] | _canvas | Canvas to remove |
void Restart | ( | ) |
Restart plotting.
A new plot curve will be created for each variable in the plot. Existing plot curves will no longer be updated.