Files
GoldenCheetah/qwt/examples/bode/mainwindow.h
Damien 2f9130cd76 Qwt 6.0.1 Support
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.
2012-02-12 10:43:15 +00:00

36 lines
583 B
C++

#include <qmainwindow.h>
class QwtPlotZoomer;
class QwtPlotPicker;
class QwtPlotPanner;
class Plot;
class QPolygon;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
private Q_SLOTS:
void moved(const QPoint &);
void selected(const QPolygon &);
#ifndef QT_NO_PRINTER
void print();
#endif
void exportDocument();
void enableZoomMode(bool);
private:
void showInfo(QString text = QString::null);
Plot *d_plot;
QwtPlotZoomer *d_zoomer[2];
QwtPlotPicker *d_picker;
QwtPlotPanner *d_panner;
};