#include <CurveStyleConfig.h>
Public Types | |
enum | Type { Lines, Sticks, Steps, Points } |
Signals | |
void | linesInterpolateChanged (bool interpolate) |
void | penStyleChanged (int style) |
void | penWidthChanged (size_t width) |
void | renderAntialiasChanged (bool antialias) |
void | stepsInvertChanged (bool invert) |
void | sticksBaselineChanged (double baseline) |
void | sticksOrientationChanged (int orientation) |
void | typeChanged (int type) |
Public Member Functions | |
bool | areLinesInterpolated () const |
bool | areStepsInverted () const |
CurveStyleConfig (QObject *parent=0, Type type=Lines, bool linesInterpolate=false, Qt::Orientation sticksOrientation=Qt::Vertical, double sticksBaseline=0.0, bool stepsInvert=false, size_t penWidth=1, Qt::PenStyle penStyle=Qt::SolidLine, bool renderAntialias=false) | |
Qt::PenStyle | getPenStyle () const |
size_t | getPenWidth () const |
double | getSticksBaseline () const |
Qt::Orientation | getSticksOrientation () const |
Type | getType () const |
bool | isRenderAntialiased () const |
void | load (QSettings &settings) |
CurveStyleConfig & | operator= (const CurveStyleConfig &src) |
void | read (QDataStream &stream) |
void | reset () |
void | save (QSettings &settings) const |
void | setLinesInterpolate (bool interpolate) |
void | setPenStyle (Qt::PenStyle style) |
void | setPenWidth (size_t width) |
void | setRenderAntialias (bool antialias) |
void | setStepsInvert (bool invert) |
void | setSticksBaseline (double baseline) |
void | setSticksOrientation (Qt::Orientation orientation) |
void | setType (Type type) |
void | write (QDataStream &stream) const |
~CurveStyleConfig () | |
Private Attributes | |
bool | linesInterpolate_ |
Qt::PenStyle | penStyle_ |
size_t | penWidth_ |
bool | renderAntialias_ |
bool | stepsInvert_ |
double | sticksBaseline_ |
Qt::Orientation | sticksOrientation_ |
Type | type_ |
Definition at line 25 of file CurveStyleConfig.h.
Definition at line 29 of file CurveStyleConfig.h.
rqt_multiplot::CurveStyleConfig::CurveStyleConfig | ( | QObject * | parent = 0 , |
Type | type = Lines , |
||
bool | linesInterpolate = false , |
||
Qt::Orientation | sticksOrientation = Qt::Vertical , |
||
double | sticksBaseline = 0.0 , |
||
bool | stepsInvert = false , |
||
size_t | penWidth = 1 , |
||
Qt::PenStyle | penStyle = Qt::SolidLine , |
||
bool | renderAntialias = false |
||
) |
Definition at line 27 of file CurveStyleConfig.cpp.
Definition at line 42 of file CurveStyleConfig.cpp.
bool rqt_multiplot::CurveStyleConfig::areLinesInterpolated | ( | ) | const |
Definition at line 71 of file CurveStyleConfig.cpp.
bool rqt_multiplot::CurveStyleConfig::areStepsInverted | ( | ) | const |
Definition at line 110 of file CurveStyleConfig.cpp.
Qt::PenStyle rqt_multiplot::CurveStyleConfig::getPenStyle | ( | ) | const |
Definition at line 136 of file CurveStyleConfig.cpp.
size_t rqt_multiplot::CurveStyleConfig::getPenWidth | ( | ) | const |
Definition at line 123 of file CurveStyleConfig.cpp.
double rqt_multiplot::CurveStyleConfig::getSticksBaseline | ( | ) | const |
Definition at line 97 of file CurveStyleConfig.cpp.
Qt::Orientation rqt_multiplot::CurveStyleConfig::getSticksOrientation | ( | ) | const |
Definition at line 84 of file CurveStyleConfig.cpp.
Definition at line 58 of file CurveStyleConfig.cpp.
bool rqt_multiplot::CurveStyleConfig::isRenderAntialiased | ( | ) | const |
Definition at line 149 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::linesInterpolateChanged | ( | bool | interpolate | ) | [signal] |
void rqt_multiplot::CurveStyleConfig::load | ( | QSettings & | settings | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 170 of file CurveStyleConfig.cpp.
CurveStyleConfig & rqt_multiplot::CurveStyleConfig::operator= | ( | const CurveStyleConfig & | src | ) |
Definition at line 241 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::penStyleChanged | ( | int | style | ) | [signal] |
void rqt_multiplot::CurveStyleConfig::penWidthChanged | ( | size_t | width | ) | [signal] |
void rqt_multiplot::CurveStyleConfig::read | ( | QDataStream & | stream | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 211 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::renderAntialiasChanged | ( | bool | antialias | ) | [signal] |
void rqt_multiplot::CurveStyleConfig::reset | ( | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 185 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::save | ( | QSettings & | settings | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 157 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::setLinesInterpolate | ( | bool | interpolate | ) |
Definition at line 62 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::setPenStyle | ( | Qt::PenStyle | style | ) |
Definition at line 127 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::setPenWidth | ( | size_t | width | ) |
Definition at line 114 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::setRenderAntialias | ( | bool | antialias | ) |
Definition at line 140 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::setStepsInvert | ( | bool | invert | ) |
Definition at line 101 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::setSticksBaseline | ( | double | baseline | ) |
Definition at line 88 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::setSticksOrientation | ( | Qt::Orientation | orientation | ) |
Definition at line 75 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::setType | ( | Type | type | ) |
Definition at line 49 of file CurveStyleConfig.cpp.
void rqt_multiplot::CurveStyleConfig::stepsInvertChanged | ( | bool | invert | ) | [signal] |
void rqt_multiplot::CurveStyleConfig::sticksBaselineChanged | ( | double | baseline | ) | [signal] |
void rqt_multiplot::CurveStyleConfig::sticksOrientationChanged | ( | int | orientation | ) | [signal] |
void rqt_multiplot::CurveStyleConfig::typeChanged | ( | int | type | ) | [signal] |
void rqt_multiplot::CurveStyleConfig::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 198 of file CurveStyleConfig.cpp.
bool rqt_multiplot::CurveStyleConfig::linesInterpolate_ [private] |
Definition at line 84 of file CurveStyleConfig.h.
Qt::PenStyle rqt_multiplot::CurveStyleConfig::penStyle_ [private] |
Definition at line 90 of file CurveStyleConfig.h.
size_t rqt_multiplot::CurveStyleConfig::penWidth_ [private] |
Definition at line 89 of file CurveStyleConfig.h.
bool rqt_multiplot::CurveStyleConfig::renderAntialias_ [private] |
Definition at line 91 of file CurveStyleConfig.h.
bool rqt_multiplot::CurveStyleConfig::stepsInvert_ [private] |
Definition at line 87 of file CurveStyleConfig.h.
double rqt_multiplot::CurveStyleConfig::sticksBaseline_ [private] |
Definition at line 86 of file CurveStyleConfig.h.
Qt::Orientation rqt_multiplot::CurveStyleConfig::sticksOrientation_ [private] |
Definition at line 85 of file CurveStyleConfig.h.
Type rqt_multiplot::CurveStyleConfig::type_ [private] |
Definition at line 82 of file CurveStyleConfig.h.