A scale division consists of its limits and 3 list of tick values qualified as major, medium and minor ticks.
In most cases scale divisions are calculated by a QwtScaleEngine.
Definition at line 29 of file qwt_scale_div.h.
| Public Types | |
| enum | TickType { NoTick = -1, MinorTick, MediumTick, MajorTick, NTickTypes } | 
| Public Member Functions | |
| QwtScaleDiv () | |
| QwtScaleDiv (const QwtDoubleInterval &, QwtValueList[NTickTypes]) | |
| QwtScaleDiv (double lBound, double rBound, QwtValueList[NTickTypes]) | |
| int | operator== (const QwtScaleDiv &s) const | 
| int | operator!= (const QwtScaleDiv &s) const | 
| double | lBound () const | 
| double | hBound () const | 
| double | range () const | 
| bool | contains (double v) const | 
| const QwtValueList & | ticks (int type) const | 
| void | invalidate () | 
| bool | isValid () const | 
| void | invert () | 
| 
 | 
| Construct an invalid QwtScaleDiv instance. 
 Definition at line 15 of file qwt_scale_div.cpp. | 
| 
 | ||||||||||||
| Construct QwtScaleDiv instance. 
 
 Definition at line 28 of file qwt_scale_div.cpp. References ticks(). | 
| 
 | ||||||||||||||||
| Construct QwtScaleDiv instance. 
 
 Definition at line 46 of file qwt_scale_div.cpp. References ticks(). | 
| 
 | 
| 
 
 
 Definition at line 86 of file qwt_scale_div.h. Referenced by QwtPlot::canvasMap(), QwtPlotPanner::moveCanvas(), QwtPlotZoomer::rescale(), and QwtAbstractScaleDraw::setScaleDiv(). | 
| 
 | 
| Invalidate the scale division. 
 Definition at line 89 of file qwt_scale_div.cpp. | 
| 
 | 
| Invert the scale divison. 
 Definition at line 118 of file qwt_scale_div.cpp. References ticks(). Referenced by QwtLog10ScaleEngine::divideScale(). | 
| 
 | 
| Check if the scale division is valid. 
 Definition at line 101 of file qwt_scale_div.cpp. | 
| 
 | 
| 
 
 
 Definition at line 77 of file qwt_scale_div.h. Referenced by QwtPlot::canvasMap(), QwtPlotPanner::moveCanvas(), QwtPlotZoomer::rescale(), QwtPlotMagnifier::rescale(), QwtPlotPicker::scaleRect(), and QwtAbstractScaleDraw::setScaleDiv(). | 
| 
 | 
| Inequality. 
 
 Definition at line 83 of file qwt_scale_div.cpp. | 
| 
 | 
| Equality operator. 
 
 Definition at line 61 of file qwt_scale_div.cpp. | 
| 
 | 
| 
 Definition at line 94 of file qwt_scale_div.h. Referenced by QwtPlotPicker::scaleRect(). | 
| 
 | 
| Return a list of ticks 
 
 Definition at line 139 of file qwt_scale_div.cpp. Referenced by QwtRoundScaleDraw::extent(), QwtScaleDraw::getBorderDistHint(), invert(), QwtScaleDraw::maxLabelHeight(), QwtScaleDraw::maxLabelWidth(), QwtScaleDraw::minLabelDist(), QwtScaleDraw::minLength(), QwtScaleDiv(), and QwtPlot::sizeHint(). | 
 1.4.6
 1.4.6