10 #ifndef QWT_SCALE_DIV_H 11 #define QWT_SCALE_DIV_H 17 #ifndef QT_NO_DEBUG_STREAM 59 double upperBound = 0.0 );
63 explicit QwtScaleDiv(
double lowerBound,
double upperBound,
64 QList<double>[NTickTypes] );
66 explicit QwtScaleDiv(
double lowerBound,
double upperBound,
67 const QList<double> &minorTicks,
const QList<double> &mediumTicks,
68 const QList<double> &majorTicks );
73 void setInterval(
double lowerBound,
double upperBound );
77 void setLowerBound(
double );
78 double lowerBound()
const;
80 void setUpperBound(
double );
81 double upperBound()
const;
85 bool contains(
double value )
const;
87 void setTicks(
int tickType,
const QList<double> & );
88 QList<double> ticks(
int tickType )
const;
91 bool isIncreasing()
const;
96 QwtScaleDiv bounded(
double lowerBound,
double upperBound )
const;
101 QList<double> d_ticks[NTickTypes];
106 #ifndef QT_NO_DEBUG_STREAM A class representing an interval.
bool operator==(optional< T > const &x, optional< T > const &y)
A class representing a scale division.
TickType
Scale tick types.
Q_DECLARE_TYPEINFO(QwtScaleDiv, Q_MOVABLE_TYPE)
QWT_EXPORT QDebug operator<<(QDebug, const QwtScaleDiv &)
bool operator!=(optional< T > const &x, optional< T > const &y)