彻底改版2.0
This commit is contained in:
37
third/qwtdemo/examples/realtime/mainwindow.h
Normal file
37
third/qwtdemo/examples/realtime/mainwindow.h
Normal file
@@ -0,0 +1,37 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user