MCPcopy Create free account
hub / github.com/Wohlstand/OPL3BankEditor / OperatorEditor

Method OperatorEditor

src/operator_editor.cpp:22–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include "ui_operator_editor.h"
21
22OperatorEditor::OperatorEditor(QWidget *parent)
23 : QWidget(parent), m_ui(new Ui::OperatorEditor)
24{
25 Ui::OperatorEditor &ui = *m_ui;
26 ui.setupUi(this);
27
28 connect(ui.op_attack, SIGNAL(valueChanged(int)), this, SIGNAL(operatorChanged()));
29 connect(ui.op_decay, SIGNAL(valueChanged(int)), this, SIGNAL(operatorChanged()));
30 connect(ui.op_sustain, SIGNAL(valueChanged(int)), this, SIGNAL(operatorChanged()));
31 connect(ui.op_release, SIGNAL(valueChanged(int)), this, SIGNAL(operatorChanged()));
32 connect(ui.op_waveform, SIGNAL(currentIndexChanged(int)), this, SIGNAL(operatorChanged()));
33 connect(ui.op_freqmult, SIGNAL(valueChanged(int)), this, SIGNAL(operatorChanged()));
34 connect(ui.op_level, SIGNAL(valueChanged(int)), this, SIGNAL(operatorChanged()));
35 connect(ui.op_ksl, SIGNAL(valueChanged(int)), this, SIGNAL(operatorChanged()));
36 connect(ui.op_vib, SIGNAL(toggled(bool)), this, SIGNAL(operatorChanged()));
37 connect(ui.op_am, SIGNAL(toggled(bool)), this, SIGNAL(operatorChanged()));
38 connect(ui.op_eg, SIGNAL(toggled(bool)), this, SIGNAL(operatorChanged()));
39 connect(ui.op_ksr, SIGNAL(toggled(bool)), this, SIGNAL(operatorChanged()));
40}
41
42OperatorEditor::~OperatorEditor()
43{

Callers

nothing calls this directly

Calls 1

setupUiMethod · 0.80

Tested by

no test coverage detected