QwtScaleDiv(3) | Qwt User's Guide | QwtScaleDiv(3) |
QwtScaleDiv - A class representing a scale division.
#include <qwt_scale_div.h>
enum TickType { NoTick = -1, MinorTick,
MediumTick, MajorTick, NTickTypes }
Scale tick types.
QwtScaleDiv (double lowerBound=0.0, double
upperBound=0.0)
QwtScaleDiv (const QwtInterval &, QList< double
>[NTickTypes])
QwtScaleDiv (double lowerBound, double upperBound,
QList< double >[NTickTypes])
QwtScaleDiv (double lowerBound, double upperBound, const
QList< double > &minorTicks, const QList< double >
&mediumTicks, const QList< double > &majorTicks)
bool operator== (const QwtScaleDiv &) const
Equality operator. bool operator!= (const QwtScaleDiv &)
const
Inequality. void setInterval (double lowerBound, double
upperBound)
void setInterval (const QwtInterval &)
QwtInterval interval () const
void setLowerBound (double)
double lowerBound () const
void setUpperBound (double)
double upperBound () const
double range () const
bool contains (double value) const
void setTicks (int tickType, const QList< double > &)
QList< double > ticks (int tickType) const
bool isEmpty () const
Check if the scale division is empty( lowerBound() ==
upperBound() ) bool isIncreasing () const
Check if the scale division is increasing( lowerBound() <=
upperBound() ) void invert ()
QwtScaleDiv inverted () const
QwtScaleDiv bounded (double lowerBound, double
upperBound) const
A class representing a scale division.
A Qwt scale is defined by its boundaries and 3 list for the positions of the major, medium and minor ticks.
The upperBound() might be smaller than the lowerBound() to indicate inverted scales.
Scale divisions can be calculated from a QwtScaleEngine.
See also:
Scale tick types.
Enumerator
Construct a division without ticks
Parameters:
Note:
Construct a scale division
Parameters:
Construct a scale division
Parameters:
Note:
Construct a scale division
Parameters:
Note:
Return a scale division with an interval [lowerBound, upperBound] where all ticks outside this interval are removed
Parameters:
Returns:
Note:
Return if a value is between lowerBound() and upperBound()
Parameters:
Returns:
Returns:
Invert the scale division
See also:
Returns:
See also:
Returns:
See also:
Inequality.
Returns:
Equality operator.
Returns:
Returns:
Change the interval
Parameters:
Note:
Change the interval
Parameters:
Set the first boundary
Parameters:
See also:
Assign ticks
Parameters:
Set the second boundary
Parameters:
See also:
Return a list of ticks
Parameters:
Returns:
Returns:
See also:
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |