forked from AmurSU/TSProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsview.h
More file actions
55 lines (51 loc) · 1.14 KB
/
tsview.h
File metadata and controls
55 lines (51 loc) · 1.14 KB
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
49
50
51
52
53
54
55
#ifndef TSVIEW_H
#define TSVIEW_H
#include <QMainWindow>
#include "tscontroller.h"
#include "tsiview.h"
#include <QPen>
#include <QPainter>
#include <QPixmap>
#include <QTimer>
namespace Ui {
class TSView;
class TSPatientProfile;
}
class TSView : public QMainWindow,public TSIView
{
Q_OBJECT
public:
explicit TSView(QWidget *parent = 0);
~TSView();
void showGUI();
void showNewResearchDialog(TSPatientProfileModel *model);
void showEditPatientProfileDialog(TSPatientProfileModel *model);
void showResearchwindow(TSCurveBuffer *model);
void startRecording();
void setController(TSController *c);
protected:
void initPatientProfileUi();
private slots:
void plotNow();
private:
Ui::TSView *ui;
Ui::TSPatientProfile *patientProfileUi;
TSController *control;
// Âñå äëÿ ðèñîâàíèÿ
TSCurveBuffer* curveBuffer;
QTimer plotingTimer;
QPixmap bVolume;
QPixmap bTempIn;
QPixmap bTempOut;
QPainter pVolume;
QPainter pTempIn;
QPainter pTempOut;
int* volume;
int* tempIn;
int* tempOut;
int screenLimit;
int startIndex;
int W;
int H;
};
#endif // TSVIEW_H