qpidctrl  0.7.1
qpidplot.h
Go to the documentation of this file.
1 #ifndef QPIDPLOT_H
2 #define QPIDPLOT_H
3 
4 #include "qwt_plot.h"
5 #include "qwt_plot_zoomer.h"
6 #include "qwt_plot_panner.h"
7 #include "qwt_plot_magnifier.h"
8 #include "qpidcontroller-ptr.h"
9 
10 class QPidPlot : public QwtPlot
11 {
12  Q_OBJECT
13 public:
14  explicit QPidPlot(QWidget *parent = 0);
15  void init(QPidControllerWPtr ctl);
16 
17  void contextMenuEvent(QContextMenuEvent *event);
18 
19 signals:
20 
21 public slots:
22  void autoScale();
23 
24 private:
25  QwtPlotZoomer *m_Zoomer;
26  QwtPlotPanner *m_Panner;
27  QwtPlotMagnifier *m_Magnifier;
29 };
30 
31 #endif // QPIDPLOT_H
void init(QPidControllerWPtr ctl)
Definition: qpidplot.cpp:58
QWeakPointer< QPidController > QPidControllerWPtr
QwtPlotMagnifier * m_Magnifier
Definition: qpidplot.h:27
void contextMenuEvent(QContextMenuEvent *event)
Definition: qpidplot.cpp:78
QPidControllerWPtr m_Controller
Definition: qpidplot.h:28
void autoScale()
Definition: qpidplot.cpp:63
QwtPlotZoomer * m_Zoomer
Definition: qpidplot.h:25
QwtPlotPanner * m_Panner
Definition: qpidplot.h:26
QPidPlot(QWidget *parent=0)
Definition: qpidplot.cpp:22