forked from mixxxdj/mixxx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdlgprefbeats.h
53 lines (43 loc) · 1.31 KB
/
dlgprefbeats.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
// Created on: 28/apr/2011
// Author: vittorio
#ifndef DLGPREFBEATS_H_
#define DLGPREFBEATS_H_
#include <QWidget>
#include <QString>
#include <QList>
#include "ui_dlgprefbeatsdlg.h"
#include "vamp/vamppluginloader.h"
#include "configobject.h"
#include "preferences/dlgpreferencepage.h"
class DlgPrefBeats : public DlgPreferencePage, public Ui::DlgBeatsDlg {
Q_OBJECT
public:
DlgPrefBeats(QWidget *parent, ConfigObject<ConfigValue> *_config);
virtual ~DlgPrefBeats();
public slots:
// Apply changes to widget
void slotApply();
void slotUpdate();
void slotResetToDefaults();
private slots:
void pluginSelected(int i);
void analyserEnabled(int i);
void fixedtempoEnabled(int i);
void offsetEnabled(int i);
void fastAnalysisEnabled(int i);
void minBpmRangeChanged(int value);
void maxBpmRangeChanged(int value);
void slotReanalyzeChanged(int value);
private:
void populate();
void loadSettings();
// Pointer to config object
ConfigObject<ConfigValue>* m_pconfig;
QList<QString> m_listName;
QList<QString> m_listLibrary, m_listIdentifier;
QString m_selectedAnalyser;
int m_minBpm;
int m_maxBpm;
bool m_banalyserEnabled, m_bfixedtempoEnabled, m_boffsetEnabled, m_FastAnalysisEnabled, m_bReanalyze;
};
#endif // DLGPREFBEATS_H_