-
Notifications
You must be signed in to change notification settings - Fork 6
/
widget.h
104 lines (59 loc) · 2.2 KB
/
widget.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
97
98
99
100
101
102
103
104
#ifndef WIDGET_H
#define WIDGET_H
#include "AudioPlayer.h"
#include <QWidget>
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = nullptr);
~Widget();
// 设置音乐风格
void setMusicStyle(QList<int> &style);
void clearFdacoefs();
void setBandpassFrequency(int status);
private slots:
void on_verticalSlider_valueChanged(int value);
void on_verticalSlider_2_valueChanged(int value);
void on_verticalSlider_3_valueChanged(int value);
void on_verticalSlider_4_valueChanged(int value);
void on_verticalSlider_5_valueChanged(int value);
void on_verticalSlider_6_valueChanged(int value);
void on_verticalSlider_7_valueChanged(int value);
void on_verticalSlider_8_valueChanged(int value);
void on_verticalSlider_9_valueChanged(int value);
void on_verticalSlider_10_valueChanged(int value);
void on_comboBox_currentIndexChanged(int index);
void on_pushButton_clicked();
void on_lineEdit_editingFinished();
void on_lineEdit_2_editingFinished();
void on_lineEdit_3_editingFinished();
void on_lineEdit_4_editingFinished();
void on_lineEdit_5_editingFinished();
void on_lineEdit_6_editingFinished();
void on_lineEdit_7_editingFinished();
void on_lineEdit_8_editingFinished();
void on_lineEdit_9_editingFinished();
void on_lineEdit_10_editingFinished();
void on_lineEdit_11_editingFinished();
void on_lineEdit_12_editingFinished();
void on_lineEdit_13_editingFinished();
void on_lineEdit_14_editingFinished();
void on_lineEdit_15_editingFinished();
void on_lineEdit_16_editingFinished();
void on_lineEdit_17_editingFinished();
void on_lineEdit_18_editingFinished();
void on_lineEdit_19_editingFinished();
void on_lineEdit_20_editingFinished();
void on_comboBox_2_currentIndexChanged(int index);
void on_pushButton_2_clicked();
private:
Ui::Widget *ui;
int bandwidthStatus = 0;
AudioPlayer *_player;
QList<int> musicStyle;
};
#endif // WIDGET_H