forked from PALYGAP/MidyAX-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuNeo.cpp
More file actions
executable file
·52 lines (37 loc) · 1 KB
/
Copy pathQuNeo.cpp
File metadata and controls
executable file
·52 lines (37 loc) · 1 KB
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
#include <QCloseEvent>
#include <QtUiTools/QtUiTools>
#include "QuNeo.h"
QuNeo::QuNeo(QWidget *parent) :
MIDIControllerGenericDialogMOD1(parent, QString("QUNEO"), QUNEO_MC, 2, 0, 10, 10), //m_numberOfKnobs, m_numberOfSlidders, m_numberOfParameterButtons, m_numberOfPageSelectButtons
ui(new Ui::QuNeo)
{
ui->setupUi(this);
init();
}
QuNeo::~QuNeo()
{
delete ui;
}
void QuNeo::init( void)
{
m_initMode = false;
m_initMode_timer.start();
m_initMode = true;
MIDIControllerGenericDialogMOD1::init( );
constructWidgetLists( &ui->gridLayoutWidget );
connectWidgetOnDialog();
// Initiate the KNOBS elements
// fillComboBox(); //TODO: reactivate for non-fixed mapping use
updateKnobsDisplay();
m_initMode = false;
this->repaint();
}
//QWidget* QuNeo::loadUiFile()
//{
// QUiLoader loader;
// QFile file(":/forms/vQuNeo.ui");
// file.open(QFile::ReadOnly);
// QWidget *formWidget = loader.load(&file, this);
// file.close();
// return formWidget;
//}