-
Notifications
You must be signed in to change notification settings - Fork 1
/
rtvtcontrolwindow.h
66 lines (54 loc) · 1.54 KB
/
rtvtcontrolwindow.h
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
56
57
58
59
60
61
62
63
64
65
66
#ifndef RTVTCONTROLWINDOW_H
#define RTVTCONTROLWINDOW_H
#include <QMainWindow>
#include "rtvtglobaldefinitions.h"
#include "Filtering/FirKernels.h"
#include "rtvtmainwindow.h"
#ifdef USE_QWT_PLOT
#include "rtvtplotwindow.h"
#include "External-Code/bodeplot/bode_mainwindow.h"
#endif
#ifdef USE_HS_USB
#include "cyapi.h"
#include "cpshsusbhardwareabstractionlayer.h"
#endif
namespace Ui {
class RTVTControlWindow;
}
class RTVTControlWindow : public QMainWindow {
Q_OBJECT
public:
RTVTControlWindow(QWidget *parent = 0);
~RTVTControlWindow();
void Initialize(void);
RTVTMainWindow *rtvtController; // RTVTMainWindow is now a controller object for RTVT subsystem
bool halConnected;
bool saveToDisk;
QString saveToDiskPath;
int countInSeconds;
QTimer *recursiveSaveTimer;
QTimer *countdownTimer;
public slots:
void closeAndExitApplication();
void openFilterDataFile();
void setSavePath();
void toggleHUDVisibility();
void toggleRTVTChannelArrayVisibility();
void reloadStyleSheets();
void setupHSUSB();
void openRTVTArrayPanel();
void setUsesUSB(bool state);
void setUsesFile(bool state);
void rtvtOpenExistingData();
void appendToStatusField(QString);
void tellMainWindowToPlay();
void runNoiseSpectrumTest();
void stopAndRestartRecursiveRecordings();
void updateCountdownTimerField();
void stopStartClicked();
protected:
void changeEvent(QEvent *e);
private:
Ui::RTVTControlWindow *ui;
};
#endif // RTVTCONTROLWINDOW_H