38 lines
614 B
C++
38 lines
614 B
C++
#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
|