|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
Struct that stores zoom states for all four axes . More...
#include <qwt_plot_canvas_zoomer.h>
Public Member Functions | |
| QwtPlotCanvasZoomState () | |
| Default constructor creating an invalid zoom state . | |
| QwtPlotCanvasZoomState (QwtPlot *p, const QwtInterval &yLeft, const QwtInterval &yRight, const QwtInterval &xBottom, const QwtInterval &xTop) | |
| Constructor creating a zoom state with specified axis intervals. | |
| void | apply () const |
| Apply this zoom state to the associated plot. | |
| bool | operator== (const QwtPlotCanvasZoomState &other) const |
| Compare two zoom states for equality. | |
| bool | operator!= (const QwtPlotCanvasZoomState &other) const |
| Compare two zoom states for inequality. | |
| bool | isValid () const |
| Check if this zoom state is valid. | |
Static Public Member Functions | |
| static QwtPlotCanvasZoomState | fromPlot (QwtPlot *plot) |
| Create a zoom state from the current axis ranges of a plot. | |
Public Attributes | |
| QPointer< QwtPlot > | plot |
| QwtInterval | axisInterval [QwtAxis::AxisPositions] |
Struct that stores zoom states for all four axes
.
| QwtPlotCanvasZoomState::QwtPlotCanvasZoomState | ( | ) |
Default constructor creating an invalid zoom state .
| QwtPlotCanvasZoomState::QwtPlotCanvasZoomState | ( | QwtPlot * | p, |
| const QwtInterval & | yLeft, | ||
| const QwtInterval & | yRight, | ||
| const QwtInterval & | xBottom, | ||
| const QwtInterval & | xTop | ||
| ) |
Constructor creating a zoom state with specified axis intervals.
| void QwtPlotCanvasZoomState::apply | ( | ) | const |
Apply this zoom state to the associated plot.
|
static |
Create a zoom state from the current axis ranges of a plot.
| bool QwtPlotCanvasZoomState::isValid | ( | ) | const |
Check if this zoom state is valid.
| bool QwtPlotCanvasZoomState::operator!= | ( | const QwtPlotCanvasZoomState & | other | ) | const |
Compare two zoom states for inequality.
| bool QwtPlotCanvasZoomState::operator== | ( | const QwtPlotCanvasZoomState & | other | ) | const |
Compare two zoom states for equality.