#include <PlotCurve.h>
Public Member Functions | |
PlotCurve (const QString &name=QString()) | |
int | plotStyle () |
The plot style of the curve. | |
void | restoreCurveLayout (const QStringList &lst) |
QString | saveCurveLayout () |
void | setPlotStyle (int s) |
void | setType (int t) |
void | setXOffset (double dx) |
void | setYOffset (double dy) |
int | type () |
Sort of rtti(). | |
double | xOffset () |
double | yOffset () |
Protected Attributes | |
int | d_plot_style |
int | d_type |
double | d_x_offset |
double | d_y_offset |
PlotCurve::PlotCurve | ( | const QString & | name = QString() |
) | [inline] |
int PlotCurve::plotStyle | ( | ) | [inline] |
The plot style of the curve.
References d_plot_style.
Referenced by Graph::saveCurveLayout(), Graph::setCurveStyle(), and Graph::updateCurveLayout().
void PlotCurve::restoreCurveLayout | ( | const QStringList & | lst | ) |
References PatternBox::brushStyle(), Graph::getPenStyle(), and SymbolBox::style().
Referenced by FunctionCurve::restore().
QString PlotCurve::saveCurveLayout | ( | ) |
References d_plot_style, PatternBox::patternIndex(), Graph::Spline, SymbolBox::symbolIndex(), and Graph::VerticalSteps.
Referenced by FunctionCurve::saveToString().
void PlotCurve::setPlotStyle | ( | int | s | ) | [inline] |
References d_plot_style.
Referenced by BoxCurve::BoxCurve(), PlotDialog::changePlotType(), Graph::copyCurves(), FunctionCurve::FunctionCurve(), Graph::insertCurve(), ApplicationWindow::openGraph(), Graph::plotVectorCurve(), QwtBarCurve::QwtBarCurve(), QwtErrorPlotCurve::QwtErrorPlotCurve(), QwtHistogram::QwtHistogram(), QwtPieCurve::QwtPieCurve(), FunctionCurve::restore(), Graph::setCurveStyle(), and VectorCurve::VectorCurve().
void PlotCurve::setType | ( | int | t | ) | [inline] |
void PlotCurve::setXOffset | ( | double | dx | ) | [inline] |
References d_x_offset.
void PlotCurve::setYOffset | ( | double | dy | ) | [inline] |
References d_y_offset.
int PlotCurve::type | ( | ) | [inline] |
Sort of rtti().
References d_type.
Referenced by Graph::addCurves(), Graph::analysableCurvesList(), QwtErrorPlotCurve::boundingRect(), AssociationsDialog::changePlotAssociation(), Graph::closestCurve(), QwtErrorPlotCurve::copy(), Graph::copyCurves(), QwtErrorPlotCurve::direction(), QwtErrorPlotCurve::drawErrorBars(), LegendWidget::drawSymbol(), Graph::generateFunctionName(), Graph::guessUniqueCurveLayout(), Graph::initCurveLayout(), LayerItem::insertCurvesList(), PlotDialog::insertTabs(), LegendWidget::parse(), QwtErrorPlotCurve::plotAssociation(), QwtErrorPlotCurve::QwtErrorPlotCurve(), FunctionCurve::restore(), Graph::saveCurves(), DataCurve::saveToString(), PlotDialog::setActiveCurve(), QwtErrorPlotCurve::setDirection(), QwtErrorPlotCurve::setXErrors(), CurvesDialog::showCurveBtn(), Graph::updateCurveNames(), Graph::updateCurvesData(), DataCurve::validCurveType(), and QwtErrorPlotCurve::xErrors().
double PlotCurve::xOffset | ( | ) | [inline] |
double PlotCurve::yOffset | ( | ) | [inline] |
References d_y_offset.
int PlotCurve::d_plot_style [protected] |
Referenced by plotStyle(), saveCurveLayout(), and setPlotStyle().
int PlotCurve::d_type [protected] |
Referenced by DataCurve::loadData(), setType(), DataCurve::tableRow(), and type().
double PlotCurve::d_x_offset [protected] |
Referenced by setXOffset(), and xOffset().
double PlotCurve::d_y_offset [protected] |
Referenced by setYOffset(), and yOffset().