Debian Codegraph @

qwt/playground/rescaler/Plot.h

raw
1 /*****************************************************************************
2 * Qwt Examples - Copyright (C) 2002 Uwe Rathmann
3 * This file may be used under the terms of the 3-clause BSD License
4 *****************************************************************************/
5
6 #pragma once
7
8 #include <QwtPlot>
9
10 class RectItem;
11 class QwtInterval;
12
13 class Plot : public QwtPlot
14 {
15 Q_OBJECT
16
17 public:
18 Plot( QWidget* parent, const QwtInterval& );
19 virtual void updateLayout() QWT_OVERRIDE;
20
21 void setRectOfInterest( const QRectF& );
22
23 Q_SIGNALS:
24 void resized( double xRatio, double yRatio );
25
26 private:
27 RectItem* m_rectItem;
28 };