-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwindow.h
84 lines (73 loc) · 1.77 KB
/
mainwindow.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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QComboBox>
#include <QPushButton>
#include <QLabel>
class configDialog;
class spectrumWidget;
class ftpThread;
namespace Ui {
class MainWindow;
}
class mainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit mainWindow(QWidget *parent = 0);
~mainWindow();
void init();
void startRunning();
void setNewFont();
void setPTT(bool p);
void setSSTVDRMPushButton(bool inDRM);
spectrumWidget *spectrumFramePtr;
private slots:
void slotConfigure();
void slotSaveWaterfallImage();
void slotExit();
void slotResetLog();
void slotLogSettings();
void slotAboutQt();
void slotAboutQSSTV();
void slotFullScreen();
void slotDocumentation();
void slotCalibrate();
void slotModeChange(int);
void slotSendWFID();
void slotSendCWID();
void slotSendBSR();
void slotSendWfText();
void slotSetFrequency(int freqIndex);
#ifndef QT_NO_DEBUG
void slotShowDataScope();
void slotShowSyncScopeNarrow();
void slotShowSyncScopeWide();
void slotScopeOffset();
void slotClearScope();
void slotDumpSamplesPerLine();
void slotTxTestPattern();
#endif
private:
Ui::MainWindow *ui;
void closeEvent ( QCloseEvent *e );
void readSettings();
void writeSettings();
void restartSound(bool inStartUp);
void cleanUpCache(QString dirPath);
// void setupFtp(ftpThread *&ptr, QString idName);
QComboBox *transmissionModeComboBox;
QPushButton *wfTextPushButton;
QPushButton *fixPushButton;
QPushButton *bsrPushButton;
QPushButton *idPushButton;
QPushButton *cwPushButton;
QComboBox *freqComboBox;
QLabel pttText;
QLabel *pttIcon;
QLabel *freqDisplay;
void timerEvent(QTimerEvent *);
QStringList modModeList;
QStringList modPassBandList;
};
#endif // MAINWINDOW_H