Enumerations | |
| enum | MarkerType { None, Circle, Rectangle, Diamond, DTriangle, UTriangle, LTriangle, RTriangle, Cross, XCross } |
| enum | LineType { NoPen, Solid, Dash, Dot, DashDot, DashDotDot } |
Functions | |
| QwtSymbol::Style | plot2qwtMarker (MarkerType) |
| Convert Plot2d marker type to Qwt marker type. | |
| MarkerType | qwt2plotMarker (QwtSymbol::Style) |
| Convert Qwt marker type to Plot2d marker type. | |
| Qt::PenStyle | plot2qwtLine (LineType) |
| Convert Plot2d line type to Qt/Qwt line type. | |
| LineType | qwt2plotLine (Qt::PenStyle) |
| Convert Qt/Qwt line type to Plot2d line type. | |
| void | drawLine (QPainter *, const QPoint &, const QPoint &, Qt::PenStyle=Qt::SolidLine, const QColor &=Qt::black, int=0) |
| Draw line. | |
| void | drawLine (QPainter *, const QPoint &, const QPoint &, LineType=Solid, const QColor &=Qt::black, int=0) |
| Draw line. | |
| void | drawLine (QPainter *, int, int, int, int, Qt::PenStyle=Qt::SolidLine, const QColor &=Qt::black, int=0) |
| Draw line. | |
| void | drawLine (QPainter *, int, int, int, int, LineType=Solid, const QColor &=Qt::black, int=0) |
| Draw line. | |
| void | drawMarker (QPainter *, const QPoint &, const QRect &, QwtSymbol::Style=QwtSymbol::Ellipse, const QColor &=Qt::black) |
| Draw marker. | |
| void | drawMarker (QPainter *, const QPoint &, const QRect &, MarkerType=Circle, const QColor &=Qt::black) |
| Draw marker. | |
| void | drawMarker (QPainter *, int, int, int, int, QwtSymbol::Style=QwtSymbol::Ellipse, const QColor &=Qt::black) |
| Draw marker. | |
| void | drawMarker (QPainter *, int, int, int, int, MarkerType=Circle, const QColor &=Qt::black) |
| Draw marker. | |
| enum Plot2d::MarkerType |
| enum Plot2d::LineType |
| QwtSymbol::Style Plot2d::plot2qwtMarker | ( | Plot2d::MarkerType | m | ) |
| Plot2d::MarkerType Plot2d::qwt2plotMarker | ( | QwtSymbol::Style | m | ) |
| Qt::PenStyle Plot2d::plot2qwtLine | ( | Plot2d::LineType | p | ) |
| Plot2d::LineType Plot2d::qwt2plotLine | ( | Qt::PenStyle | p | ) |
| void Plot2d::drawLine | ( | QPainter * | painter, |
| const QPoint & | p1, | ||
| const QPoint & | p2, | ||
| Qt::PenStyle | type = Qt::SolidLine, |
||
| const QColor & | color = Qt::black, |
||
| int | width = 0 |
||
| ) |
| painter | painter |
| p1 | starting point |
| p2 | ending point |
| type | line type |
| color | line color |
| width | line width |
| void Plot2d::drawLine | ( | QPainter * | painter, |
| const QPoint & | p1, | ||
| const QPoint & | p2, | ||
| Plot2d::LineType | type = Solid, |
||
| const QColor & | color = Qt::black, |
||
| int | width = 0 |
||
| ) |
| painter | painter |
| p1 | starting point |
| p2 | ending point |
| type | line type |
| color | line color |
| width | line width |
References drawLine(), and plot2qwtLine().
| void Plot2d::drawLine | ( | QPainter * | painter, |
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2, | ||
| Qt::PenStyle | type = Qt::SolidLine, |
||
| const QColor & | color = Qt::black, |
||
| int | width = 0 |
||
| ) |
| painter | painter |
| x1 | X coordinate of the starting point |
| y1 | Y coordinate of the starting point |
| x2 | X coordinate of the ending point |
| y2 | Y coordinate of the ending point |
| type | line type |
| color | line color |
| width | line width |
References drawLine().
| void Plot2d::drawLine | ( | QPainter * | painter, |
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2, | ||
| Plot2d::LineType | type = Solid, |
||
| const QColor & | color = Qt::black, |
||
| int | width = 0 |
||
| ) |
| painter | painter |
| x1 | X coordinate of the starting point |
| y1 | Y coordinate of the starting point |
| x2 | X coordinate of the ending point |
| y2 | Y coordinate of the ending point |
| type | line type |
| color | line color |
| width | line width |
References drawLine(), and plot2qwtLine().
| void Plot2d::drawMarker | ( | QPainter * | painter, |
| const QPoint & | p, | ||
| const QRect & | r, | ||
| QwtSymbol::Style | type = QwtSymbol::Ellipse, |
||
| const QColor & | color = Qt::black |
||
| ) |
| void Plot2d::drawMarker | ( | QPainter * | painter, |
| const QPoint & | p, | ||
| const QRect & | r, | ||
| Plot2d::MarkerType | type = Circle, |
||
| const QColor & | color = Qt::black |
||
| ) |
| painter | painter |
| p | central point |
| r | marker rectangle |
| type | marker type |
| color | marker color |
References drawMarker(), and plot2qwtMarker().
| void Plot2d::drawMarker | ( | QPainter * | painter, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| QwtSymbol::Style | type = QwtSymbol::Ellipse, |
||
| const QColor & | color = Qt::black |
||
| ) |
| painter | painter |
| x | X coordinate of the central point |
| y | Y coordinate of the central point |
| w | marker rectangle width |
| h | marker rectangle height |
| type | marker type |
| color | marker color |
References drawMarker().
| void Plot2d::drawMarker | ( | QPainter * | painter, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| Plot2d::MarkerType | type = Circle, |
||
| const QColor & | color = Qt::black |
||
| ) |
| painter | painter |
| x | X coordinate of the central point |
| y | Y coordinate of the central point |
| w | marker rectangle width |
| h | marker rectangle height |
| type | marker type |
| color | marker color |
References drawMarker(), and plot2qwtMarker().