-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtapeplayer.h
96 lines (61 loc) · 1.95 KB
/
tapeplayer.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#ifndef TAPEPLAYER_H
#define TAPEPLAYER_H
#include <QDialog>
#include "eden.h"
#include "tape.h"
#include "appcore.h"
#include <QFileDialog>
#include <QInputDialog>
namespace Ui {
class TapePlayer;
}
class TapePlayer : public QDialog
{
Q_OBJECT
public:
void DispPos();
Tape * Tape_;
explicit TapePlayer(QWidget *parent = 0);
~TapePlayer();
AppCore * Core;
QString FileName;
string InputBox(string Query, string Title, string Default);
int DispVal;
char PlayerStatus;
void Init();
bool EventEnabled = false;
private slots:
void on_FileLoad_clicked();
void on_PlayerStart_clicked();
void on_PlayerStop_clicked();
void on_PlayerForward_clicked();
void on_PlayerRewind_clicked();
void on_FileSave_clicked();
void on_FileNew_clicked();
void on_PlayerRecord_clicked();
void on_MemRomT_textChanged(const QString &arg1);
void on_MemLstT_textChanged(const QString &arg1);
void on_MemChrT_textChanged(const QString &arg1);
void on_MemRamT_textChanged(const QString &arg1);
void on_MemRomB_clicked();
void on_MemLstB_clicked();
void on_MemChrB_clicked();
void on_MemRamB_clicked();
void on_SetThresholdT_textChanged(const QString &arg1);
void on_SetThreshold0T_textChanged(const QString &arg1);
void on_SetSampleT_textChanged(const QString &arg1);
void on_SetPulseTimeT_textChanged(const QString &arg1);
void on_SetSavePulseLengthT_textChanged(const QString &arg1);
void on_SetSaveInvertTimeT_textChanged(const QString &arg1);
void on_Disk0B_clicked();
void on_Disk0T_textChanged(const QString &arg1);
void on_Disk1T_textChanged(const QString &arg1);
void on_Disk1B_clicked();
void on_Disk0SectorT_textChanged(const QString &arg1);
void on_Disk1SectorT_textChanged(const QString &arg1);
private:
Ui::TapePlayer *ui;
void SetParams();
QString SelectFile(QString OldFileName);
};
#endif // TAPEPLAYER_H