-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathfxpresets.h
More file actions
64 lines (38 loc) · 1016 Bytes
/
Copy pathfxpresets.h
File metadata and controls
64 lines (38 loc) · 1016 Bytes
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
#ifndef FXPRESETS_H
#define FXPRESETS_H
#include <QObject>
#include <QMap>
#include <QMenu>
#include <QWidget>
#include <QComboBox>
class CFxPresets: public QWidget
{
Q_OBJECT
public:
QMenu *menu;
QMenu *menu_banks;
QString preset_data;
QString fxname;
QString banks_path; //path to the plugin's banks
QString path_bank; //full path of the current bank
QMap <QString, QString> map;
QComboBox *cmb_presets;
CFxPresets (QWidget *parent = 0);
void load_bank_file (const QString &fname);
void save_bank_file (const QString &fname);
void create_bank_dir();
void update_banks_list (const QString &path);
signals:
void preset_changed (const QString &text);
void save_request();
public slots:
void cmb_presets_currentIndexChanged (const QString &text);
void bank_new_click();
void bank_load_click();
void bank_save_click();
void bank_save_as_click();
void preset_save_as();
void preset_save();
void bank_selected();
};
#endif // FXPRESETS_H