13 #include "qwt_global.h" 
   14 #include "qwt_interval.h" 
   56     , interval( min, max )
 
   69     return !( *
this == other );
 
  121     return !( *
this == other );
 
  128     for ( 
int i = 0; i < 
set.size(); i++ )
 
  147         double open = 0.0, 
double high = 0.0,
 
  148         double low = 0.0, 
double close = 0.0 );
 
  152     bool isValid() 
const;
 
  183         double t, 
double o, 
double h, 
double l, 
double c )
 
  223     minY = qMin( minY, 
high );
 
  224     minY = qMin( minY, 
low );
 
  225     minY = qMin( minY, 
close );
 
  228     maxY = qMax( maxY, 
high );
 
  229     maxY = qMax( maxY, 
low );
 
  230     maxY = qMax( maxY, 
close );
 
  247         double vx = 0.0, 
double vy = 0.0 );
 
  250         double vx = 0.0, 
double vy = 0.0 );
 
  278         double posX, 
double posY, 
double vectorX, 
double vectorY )
 
  294         const QPointF& pos, 
double vectorX, 
double vectorY )
 
  305     return QPointF( 
x, 
y );
 
  311     return ( 
vx == 0.0 ) && ( 
vy == 0.0 );
 
A class representing an interval.
A sample of the types (x1-x2, y) or (x, y1-y2)
QwtInterval interval
Interval.
bool operator==(const QwtIntervalSample &) const
Compare operator.
bool operator!=(const QwtIntervalSample &) const
Compare operator.
Open-High-Low-Close sample used in financial charts.
double high
Highest price.
bool isValid() const
Check if a sample is valid.
double open
Opening price.
double close
Closing price.
QwtInterval boundingInterval() const
Calculate the bounding interval of the OHLC values.
QwtOHLCSample(double time=0.0, double open=0.0, double high=0.0, double low=0.0, double close=0.0)
A sample of the types (x1...xn, y) or (x, y1..yn)
QVector< double > set
Vector of values associated to value.
bool operator!=(const QwtSetSample &other) const
Compare operator.
bool operator==(const QwtSetSample &other) const
Compare operator.
Sample used in vector fields.
double y
y coordinate of the position
QwtVectorFieldSample(double x=0.0, double y=0.0, double vx=0.0, double vy=0.0)
Constructor.
double vx
x coordinate of the vector
double x
x coordinate of the position
double vy
y coordinate of the vector