An abstract base class for widgets having a scale.
More...
#include <qwt_abstract_scale.h>
|
|
double | lowerBound |
| |
|
double | upperBound |
| |
|
int | scaleMaxMajor |
| |
|
int | scaleMaxMinor |
| |
|
double | scaleStepSize |
| |
An abstract base class for widgets having a scale.
◆ QwtAbstractScale()
| QwtAbstractScale::QwtAbstractScale |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~QwtAbstractScale()
| QwtAbstractScale::~QwtAbstractScale |
( |
| ) |
|
|
virtual |
◆ abstractScaleDraw() [1/2]
Return the scale draw (non-const version) (English only)
Return the scale draw object (non-const)
◆ abstractScaleDraw() [2/2]
Return the scale draw (const version) (English only)
Return the scale draw object (const)
◆ changeEvent()
| void QwtAbstractScale::changeEvent |
( |
QEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ invTransform()
| double QwtAbstractScale::invTransform |
( |
int |
value | ) |
const |
Transform a widget coordinate to scale value.
◆ isInverted()
| bool QwtAbstractScale::isInverted |
( |
| ) |
const |
Check if scale is inverted.
◆ lowerBound()
| double QwtAbstractScale::lowerBound |
( |
| ) |
const |
Return the lower bound of the scale.
◆ maximum()
| double QwtAbstractScale::maximum |
( |
| ) |
const |
Return the maximum boundary.
◆ minimum()
| double QwtAbstractScale::minimum |
( |
| ) |
const |
Return the minimum boundary.
◆ rescale()
| void QwtAbstractScale::rescale |
( |
double |
lowerBound, |
|
|
double |
upperBound, |
|
|
double |
stepSize |
|
) |
| |
|
protected |
Recalculate scale and update scale draw (English only)
Recalculate scale division and update scale.
◆ scaleChange()
| void QwtAbstractScale::scaleChange |
( |
| ) |
|
|
protectedvirtual |
◆ scaleDiv()
| const QwtScaleDiv & QwtAbstractScale::scaleDiv |
( |
| ) |
const |
Return the scale division.
◆ scaleEngine() [1/2]
Return the scale engine (non-const version)
◆ scaleEngine() [2/2]
Return the scale engine (const version)
◆ scaleMap()
| const QwtScaleMap & QwtAbstractScale::scaleMap |
( |
| ) |
const |
◆ scaleMaxMajor()
| int QwtAbstractScale::scaleMaxMajor |
( |
| ) |
const |
Return the maximum number of major tick intervals.
◆ scaleMaxMinor()
| int QwtAbstractScale::scaleMaxMinor |
( |
| ) |
const |
Return the maximum number of minor tick intervals.
◆ scaleStepSize()
| double QwtAbstractScale::scaleStepSize |
( |
| ) |
const |
Return the step size hint.
◆ setAbstractScaleDraw()
Set the scale draw object (English only)
Set the scale draw object.
◆ setLowerBound()
| void QwtAbstractScale::setLowerBound |
( |
double |
value | ) |
|
Set the lower bound of the scale.
◆ setScale() [1/3]
| void QwtAbstractScale::setScale |
( |
const QwtInterval & |
interval | ) |
|
Specify a scale by interval.
◆ setScale() [2/3]
| void QwtAbstractScale::setScale |
( |
const QwtScaleDiv & |
scaleDiv | ) |
|
Specify a scale by scale division.
◆ setScale() [3/3]
| void QwtAbstractScale::setScale |
( |
double |
lowerBound, |
|
|
double |
upperBound |
|
) |
| |
Specify a scale by interval bounds.
◆ setScaleEngine()
◆ setScaleMaxMajor()
| void QwtAbstractScale::setScaleMaxMajor |
( |
int |
ticks | ) |
|
Set the maximum number of major tick intervals.
◆ setScaleMaxMinor()
| void QwtAbstractScale::setScaleMaxMinor |
( |
int |
ticks | ) |
|
Set the maximum number of minor tick intervals.
◆ setScaleStepSize()
| void QwtAbstractScale::setScaleStepSize |
( |
double |
stepSize | ) |
|
Set the step size used for calculating scale division.
◆ setUpperBound()
| void QwtAbstractScale::setUpperBound |
( |
double |
value | ) |
|
Set the upper bound of the scale.
◆ transform()
| int QwtAbstractScale::transform |
( |
double |
value | ) |
const |
Transform a scale value to widget coordinates.
◆ updateScaleDraw()
| void QwtAbstractScale::updateScaleDraw |
( |
| ) |
|
|
protected |
Update the scale draw (English only)
Recalculate ticks and scale boundaries.
◆ upperBound()
| double QwtAbstractScale::upperBound |
( |
| ) |
const |
Return the upper bound of the scale.
The documentation for this class was generated from the following files:
- /home/runner/work/QWT/QWT/src/plot/qwt_abstract_scale.h
- /home/runner/work/QWT/QWT/src/plot/qwt_abstract_scale.cpp