mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-13 12:42:20 +00:00
Upgrade to QWT 6.0.1, but still uses a locally patched copy since support for 8 axes has not been included, despite it being a relatively simple patch. Fixes #634. Fixes #567.
27 lines
386 B
C++
27 lines
386 B
C++
#ifndef _PLOT_H_
|
|
#define _PLOT_H_ 1
|
|
|
|
#include <qwt_plot.h>
|
|
|
|
class RectItem;
|
|
class QwtInterval;
|
|
|
|
class Plot: public QwtPlot
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Plot(QWidget *parent, const QwtInterval &);
|
|
virtual void updateLayout();
|
|
|
|
void setRectOfInterest(const QRectF &);
|
|
|
|
Q_SIGNALS:
|
|
void resized(double xRatio, double yRatio);
|
|
|
|
private:
|
|
RectItem *d_rectOfInterest;
|
|
};
|
|
|
|
#endif
|