blob: 3a7f072d346b66805f2ab9857b871b41ade15ec1 (
plain)
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
45
46
47
48
|
#ifndef MAINWIDGET_H
#define MAINWIDGET_H
#include <QWidget>
class TileView;
class CameraWidget;
class QTextEdit;
class QPushButton;
class QLineEdit;
class QComboBox;
class MainWidget : public QWidget
{
Q_OBJECT
public:
MainWidget(QWidget *parent = 0, int bm = 0);
public slots:
void camera1Update();
void camera1Capture();
void camera2Update();
void camera2Capture();
void animate1Clicked();
void animate2Clicked();
void animationFinished();
void runBenchmark1();
private:
TileView *tileView_;
CameraWidget *camera1_;
CameraWidget *camera2_;
QLineEdit *duration_;
QComboBox *easing_;
QPushButton *animate1_;
QPushButton *animate2_;
QPushButton *bm1Button_;
bool exitWhenDone_;
bool oldAutoUpdate_;
};
#endif // MAINWIDGET_H
|