plotpanner.h
Go to the documentation of this file.
1 #ifndef PLOTPANNER_H
2 #define PLOTPANNER_H
3 
4 #include "qwt_plot_panner.h"
5 
6 class PlotPanner : public QwtPlotPanner
7 {
8  Q_OBJECT
9 
10 public:
11  explicit PlotPanner( QWidget* canvas): QwtPlotPanner(canvas){}
12 
13 public Q_SLOTS:
14  void moveCanvas( int dx, int dy ) override;
15 
16 signals:
17  void rescaled(QRectF new_size);
18 
19 private:
20 
21 };
22 
23 
24 #endif // PLOTPANNER_H
void moveCanvas(int dx, int dy) override
Definition: plotpanner.cpp:7
void rescaled(QRectF new_size)
QWidget * canvas()
Return observed plot canvas.
PlotPanner(QWidget *canvas)
Definition: plotpanner.h:11
QwtPlotPanner provides panning of a plot canvas.


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:38