Extension of QwtPlotPanner
to expose moveCanvas()
for synchronised panning.
More...
#include <plotpanner.h>
|
typedef QwtPlotPanner | Super |
| Alias for the parent class.
|
|
Extension of QwtPlotPanner
to expose moveCanvas()
for synchronised panning.
PlotPanner::PlotPanner |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
Constructor.
- Parameters
-
parent | The panner parent (generally a QwtPlotCanvas ). |
void PlotPanner::moveCanvas |
( |
int |
dx, |
|
|
int |
dy |
|
) |
| |
|
overrideprotected |
Override to mark ignoring of syncPan()
events.
- Parameters
-
dx | Pan change along X. |
dy | Pan change along Y. |
void PlotPanner::syncPan |
( |
int |
dx, |
|
|
int |
dy |
|
) |
| |
|
slot |
Synchronised panning event.
Calls through to moveCanvas()
.
Note that moveCanvas()
if the event hasn't originated from the moveCanvas()
event in the first place. However, this only works when using direct signalling.
- Parameters
-
dx | Pan change along X. |
dy | Pan change along Y. |
The documentation for this class was generated from the following file: