forked from PALYGAP/MidyAX-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXTouchMini.cpp
More file actions
executable file
·38 lines (28 loc) · 1017 Bytes
/
XTouchMini.cpp
File metadata and controls
executable file
·38 lines (28 loc) · 1017 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
#include <QCloseEvent>
#include "XTouchMini.h"
XTouchMini::XTouchMini(QWidget *parent) :
//After MOD1 ---- MIDIControllerGenericDialog(parent, QString("X-TOUCH"), XTOUCHMINI_MC, 8, 0, 8, 16), //m_numberOfKnobs, m_numberOfSlidders, m_numberOfParameterButtons, m_numberOfPageSelectButtons
MIDIControllerGenericDialogMOD1(parent, QString("X-TOUCH"), XTOUCHMINI_MC, 8, 0, 8, 16), //m_numberOfKnobs, m_numberOfSlidders, m_numberOfParameterButtons, m_numberOfPageSelectButtons
ui(new Ui::XTouchMini)
{
ui->setupUi(this);
init();
}
XTouchMini::~XTouchMini()
{
delete ui;
}
void XTouchMini::init( void)
{
m_initMode = true;
m_initMode_timer.start();
//After MOD1 ---- MIDIControllerGenericDialog::init( );
MIDIControllerGenericDialogMOD1::init( );
constructWidgetLists( &ui->gridLayoutWidget );
connectWidgetOnDialog();
// Initiate the KNOBS elements
//after MOD1 ---- fillComboBox();
updateKnobsDisplay();
m_initMode = false;
this->update();
}