30 # if defined PLOT2D_EXPORTS || defined Plot2d_EXPORTS
31 # define PLOT2D_EXPORT __declspec(dllexport)
33 # define PLOT2D_EXPORT __declspec(dllimport)
36 # define PLOT2D_EXPORT
39 #include <qwt_symbol.h>
48 #define PLOT2D_DEVIATION_COLOR "DEVIATION_COLOR"
49 #define PLOT2D_DEVIATION_LW "DEVIATION_LW"
50 #define PLOT2D_DEVIATION_TS "DEVIATION_TS"
59 Plot2d_Point(
double theX,
double theY,
const QString& theText = QString() );
61 bool deviation(
double& min,
double& max)
const;
62 bool hasDeviation()
const;
63 void setDeviation(
double min,
double max);
64 void clearDeviation();
65 bool minDeviation(
double& min)
const;
66 bool maxDeviation(
double& max)
const;
101 void drawLine( QPainter*,
const QPoint&,
const QPoint&,
102 Qt::PenStyle = Qt::SolidLine,
103 const QColor& = Qt::black,
int = 0 );
104 void drawLine( QPainter*,
const QPoint&,
const QPoint&,
106 const QColor& = Qt::black,
int = 0 );
107 void drawLine( QPainter*,
int,
int,
int,
int,
108 Qt::PenStyle = Qt::SolidLine,
109 const QColor& = Qt::black,
int = 0 );
110 void drawLine( QPainter*,
int,
int,
int,
int,
112 const QColor& = Qt::black,
int = 0 );
114 void drawMarker( QPainter*,
const QPoint&,
const QRect&,
115 QwtSymbol::Style = QwtSymbol::Ellipse,
116 const QColor& = Qt::black );
117 void drawMarker( QPainter*,
const QPoint&,
const QRect&,
119 const QColor& = Qt::black );
120 void drawMarker( QPainter*,
int,
int,
int,
int,
121 QwtSymbol::Style = QwtSymbol::Ellipse,
122 const QColor& = Qt::black );
123 void drawMarker( QPainter*,
int,
int,
int,
int,
125 const QColor& = Qt::black );
127 QPixmap
markerIcon(
const QSize&,
const QColor&,
130 QPixmap
lineIcon(
const QSize&,
const QColor&,
134 QColor&, Qt::PenStyle& );
137 const QColor&,
const Qt::PenStyle );
147 # pragma warning ( disable: 4251 )