You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
593 B
36 lines
593 B
|
3 years ago
|
#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;
|
||
|
|
};
|