File: mainwindow.h

package info (click to toggle)
qwt5 5.2.2-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 13,340 kB
  • sloc: cpp: 32,645; makefile: 23; sh: 4
file content (44 lines) | stat: -rw-r--r-- 695 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef _MAINWINDOW_H_
#define _MAINWINDOW_H_ 1

#include <qmainwindow.h>
#if QT_VERSION < 0x040000
#include <qtoolbutton.h>
#else
#include <qaction.h>
#endif

class QSpinBox;
class QPushButton;
class RandomPlot;
class Counter;

class MainWindow: public QMainWindow
{
    Q_OBJECT
public:
    MainWindow();

private slots:
    void showRunning(bool);
    void appendPoints(bool);

private:
    QToolBar *toolBar();
    void initWhatsThis();

private:
    Counter *d_randomCount;
    Counter *d_timerCount;
#if QT_VERSION < 0x040000
    QToolButton *d_startBtn;
    QToolButton *d_clearBtn;
#else
    QAction *d_startAction;
    QAction *d_clearAction;
#endif

    RandomPlot *d_plot;
};

#endif