Format for the curves on the plot canvas. More...
#include <TBPlotCanvas.qo.h>
Public Member Functions | |
TBPlotFormat (PlotFactoryPtr factory) | |
Constructor that takes a factory to build the line and symbol. | |
~TBPlotFormat () | |
void | setCurveStyle (QString str) |
Sets the curve style using the given QString name. | |
void | setPointStyle (QString str) |
Sets the point style using the given QString name. | |
QwtSymbol | getSymbol () |
Public Attributes | |
PlotLinePtr | line |
Line to use with the plot. | |
PlotSymbolPtr | symbol |
Symbol to use with the plot. | |
QwtPlotCurve::CurveStyle | curveStyle |
Curve style. | |
QwtSymbol::Style | pointStyle |
Point style. | |
QColor | color |
Point color. | |
int | size1 |
Point size. | |
int | size2 |
Format for the curves on the plot canvas.
A TBPlotFormat specifies how to display a plot curve. The format includes a PlotLine and a PlotSymbol.
Definition at line 56 of file TBPlotCanvas.qo.h.
casa::TBPlotFormat::TBPlotFormat | ( | PlotFactoryPtr | factory | ) |
Constructor that takes a factory to build the line and symbol.
casa::TBPlotFormat::~TBPlotFormat | ( | ) |
QwtSymbol casa::TBPlotFormat::getSymbol | ( | ) |
void casa::TBPlotFormat::setCurveStyle | ( | QString | str | ) |
Sets the curve style using the given QString name.
void casa::TBPlotFormat::setPointStyle | ( | QString | str | ) |
Sets the point style using the given QString name.
QColor casa::TBPlotFormat::color |
Point color.
Definition at line 87 of file TBPlotCanvas.qo.h.
QwtPlotCurve::CurveStyle casa::TBPlotFormat::curveStyle |
Curve style.
Definition at line 81 of file TBPlotCanvas.qo.h.
Line to use with the plot.
Definition at line 71 of file TBPlotCanvas.qo.h.
QwtSymbol::Style casa::TBPlotFormat::pointStyle |
Point style.
Definition at line 84 of file TBPlotCanvas.qo.h.
Point size.
Definition at line 91 of file TBPlotCanvas.qo.h.
Definition at line 92 of file TBPlotCanvas.qo.h.
Symbol to use with the plot.
Definition at line 74 of file TBPlotCanvas.qo.h.