Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Plot2d.h File Reference
#include <qwt_symbol.h>
#include <QString>
#include <QColor>
#include <QPixmap>

Go to the source code of this file.

Classes

struct  Plot2d_Point
 

Namespaces

namespace  Plot2d
 

Macros

#define PLOT2D_EXPORT
 
#define PLOT2D_DEVIATION_COLOR   "DEVIATION_COLOR"
 
#define PLOT2D_DEVIATION_LW   "DEVIATION_LW"
 
#define PLOT2D_DEVIATION_TS   "DEVIATION_TS"
 

Typedefs

typedef QList< Plot2d_PointpointList
 

Enumerations

enum  Plot2d::MarkerType {
  Plot2d::None, Plot2d::Circle, Plot2d::Rectangle, Plot2d::Diamond,
  Plot2d::DTriangle, Plot2d::UTriangle, Plot2d::LTriangle, Plot2d::RTriangle,
  Plot2d::Cross, Plot2d::XCross
}
 
enum  Plot2d::LineType {
  Plot2d::NoPen, Plot2d::Solid, Plot2d::Dash, Plot2d::Dot,
  Plot2d::DashDot, Plot2d::DashDotDot
}
 

Functions

QwtSymbol::Style Plot2d::plot2qwtMarker (MarkerType)
 Convert Plot2d marker type to Qwt marker type. More...
 
MarkerType Plot2d::qwt2plotMarker (QwtSymbol::Style)
 Convert Qwt marker type to Plot2d marker type. More...
 
Qt::PenStyle Plot2d::plot2qwtLine (LineType)
 Convert Plot2d line type to Qt/Qwt line type. More...
 
LineType Plot2d::qwt2plotLine (Qt::PenStyle)
 Convert Qt/Qwt line type to Plot2d line type. More...
 
void Plot2d::drawLine (QPainter *, const QPoint &, const QPoint &, Qt::PenStyle=Qt::SolidLine, const QColor &=Qt::black, int=0)
 Draw line. More...
 
void Plot2d::drawLine (QPainter *, const QPoint &, const QPoint &, LineType=Solid, const QColor &=Qt::black, int=0)
 Draw line. More...
 
void Plot2d::drawLine (QPainter *, int, int, int, int, Qt::PenStyle=Qt::SolidLine, const QColor &=Qt::black, int=0)
 Draw line. More...
 
void Plot2d::drawLine (QPainter *, int, int, int, int, LineType=Solid, const QColor &=Qt::black, int=0)
 Draw line. More...
 
void Plot2d::drawMarker (QPainter *, const QPoint &, const QRect &, QwtSymbol::Style=QwtSymbol::Ellipse, const QColor &=Qt::black)
 Draw marker. More...
 
void Plot2d::drawMarker (QPainter *, const QPoint &, const QRect &, MarkerType=Circle, const QColor &=Qt::black)
 Draw marker. More...
 
void Plot2d::drawMarker (QPainter *, int, int, int, int, QwtSymbol::Style=QwtSymbol::Ellipse, const QColor &=Qt::black)
 Draw marker. More...
 
void Plot2d::drawMarker (QPainter *, int, int, int, int, MarkerType=Circle, const QColor &=Qt::black)
 Draw marker. More...
 
QPixmap Plot2d::markerIcon (const QSize &, const QColor &, Plot2d::MarkerType)
 Create icon pixmap according to the marker type. More...
 
QPixmap Plot2d::lineIcon (const QSize &, const QColor &, Plot2d::LineType)
 Create icon pixmap according to the line type. More...
 
void Plot2d::getNextMarker (const int rtti, const QwtPlot *, QwtSymbol::Style &, QColor &, Qt::PenStyle &)
 
bool Plot2d::existMarker (const int rtti, const QwtPlot *, const QwtSymbol::Style, const QColor &, const Qt::PenStyle)
 
bool Plot2d::closeColors (const QColor &, const QColor &, int distance=-1)
 

Macro Definition Documentation

#define PLOT2D_DEVIATION_COLOR   "DEVIATION_COLOR"
#define PLOT2D_DEVIATION_LW   "DEVIATION_LW"
#define PLOT2D_DEVIATION_TS   "DEVIATION_TS"
#define PLOT2D_EXPORT

Typedef Documentation