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  }
14 
15 public Q_SLOTS:
16  void moveCanvas(int dx, int dy) override;
17 
18 signals:
19  void rescaled(QRectF new_size);
20 
21 private:
22 };
23 
24 #endif // PLOTPANNER_H
PlotPanner::PlotPanner
PlotPanner(QWidget *canvas)
Definition: plotpanner.h:11
PlotPanner
Definition: plotpanner.h:6
PlotPanner::moveCanvas
void moveCanvas(int dx, int dy) override
Definition: plotpanner.cpp:7
QwtPlotPanner
QwtPlotPanner provides panning of a plot canvas.
Definition: qwt_plot_panner.h:32
qwt_plot_panner.h
QwtPlotPanner::canvas
QWidget * canvas()
Return observed plot canvas.
Definition: qwt_plot_panner.cpp:177
PlotPanner::rescaled
void rescaled(QRectF new_size)


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45