qt_demoe/third/qwtdemo/examples/realtime/mainwindow.h

38 lines
614 B
C
Raw Normal View History

2019-11-07 02:55:57 +00:00
#ifndef _MAINWINDOW_H_
#define _MAINWINDOW_H_ 1
#include <qmainwindow.h>
#include <qaction.h>
class QSpinBox;
class QPushButton;
class RandomPlot;
class Counter;
class QCheckBox;
class MainWindow: public QMainWindow
{
Q_OBJECT
public:
MainWindow();
private Q_SLOTS:
void showRunning( bool );
void appendPoints( bool );
void showElapsed( int );
private:
QToolBar *toolBar();
void initWhatsThis();
private:
Counter *d_randomCount;
Counter *d_timerCount;
QCheckBox *d_symbolType;
QAction *d_startAction;
QAction *d_clearAction;
RandomPlot *d_plot;
};
#endif