Add gvref data model to value/gv fields in inputs, outputs and mixes
This commit is contained in:
+19
-31
@@ -32,6 +32,7 @@
|
|||||||
#include "simulatorinterface.h"
|
#include "simulatorinterface.h"
|
||||||
#include "simulatormainwindow.h"
|
#include "simulatormainwindow.h"
|
||||||
#include "storage/sdcard.h"
|
#include "storage/sdcard.h"
|
||||||
|
#include "filtereditemmodels.h"
|
||||||
|
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
@@ -117,7 +118,8 @@ void CompanionIcon::addImage(const QString & baseimage, Mode mode, State state)
|
|||||||
* GVarGroup
|
* GVarGroup
|
||||||
*/
|
*/
|
||||||
|
|
||||||
GVarGroup::GVarGroup(QCheckBox * weightGV, QAbstractSpinBox * weightSB, QComboBox * weightCB, int & weight, const ModelData & model, const int deflt, const int mini, const int maxi, const double step, bool allowGvars):
|
GVarGroup::GVarGroup(QCheckBox * weightGV, QAbstractSpinBox * weightSB, QComboBox * weightCB, int & weight, const ModelData & model,
|
||||||
|
const int deflt, const int mini, const int maxi, const double step, FilteredItemModel * gvarModel):
|
||||||
QObject(),
|
QObject(),
|
||||||
weightGV(weightGV),
|
weightGV(weightGV),
|
||||||
weightSB(weightSB),
|
weightSB(weightSB),
|
||||||
@@ -131,8 +133,8 @@ GVarGroup::GVarGroup(QCheckBox * weightGV, QAbstractSpinBox * weightSB, QComboBo
|
|||||||
step(step),
|
step(step),
|
||||||
lock(true)
|
lock(true)
|
||||||
{
|
{
|
||||||
if (allowGvars && getCurrentFirmware()->getCapability(Gvars)) {
|
if (gvarModel && gvarModel->rowCount() > 0) {
|
||||||
Helpers::populateGVCB(*weightCB, weight, model);
|
weightCB->setModel(gvarModel);
|
||||||
connect(weightGV, SIGNAL(stateChanged(int)), this, SLOT(gvarCBChanged(int)));
|
connect(weightGV, SIGNAL(stateChanged(int)), this, SLOT(gvarCBChanged(int)));
|
||||||
connect(weightCB, SIGNAL(currentIndexChanged(int)), this, SLOT(valuesChanged()));
|
connect(weightCB, SIGNAL(currentIndexChanged(int)), this, SLOT(valuesChanged()));
|
||||||
}
|
}
|
||||||
@@ -152,12 +154,19 @@ GVarGroup::GVarGroup(QCheckBox * weightGV, QAbstractSpinBox * weightSB, QComboBo
|
|||||||
|
|
||||||
void GVarGroup::gvarCBChanged(int state)
|
void GVarGroup::gvarCBChanged(int state)
|
||||||
{
|
{
|
||||||
weightCB->setVisible(state);
|
if (!lock) {
|
||||||
if (weightSB)
|
weightCB->setVisible(state);
|
||||||
|
if (weightGV->isChecked()) {
|
||||||
|
// set CB to +GV1
|
||||||
|
int cnt = getCurrentFirmware()->getCapability(Gvars);
|
||||||
|
if (weightCB->count() > cnt)
|
||||||
|
weightCB->setCurrentIndex(cnt);
|
||||||
|
else
|
||||||
|
weightCB->setCurrentIndex(0);
|
||||||
|
}
|
||||||
weightSB->setVisible(!state);
|
weightSB->setVisible(!state);
|
||||||
else
|
valuesChanged();
|
||||||
weightSB->setVisible(!state);
|
}
|
||||||
valuesChanged();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GVarGroup::valuesChanged()
|
void GVarGroup::valuesChanged()
|
||||||
@@ -168,7 +177,7 @@ void GVarGroup::valuesChanged()
|
|||||||
else if (sb)
|
else if (sb)
|
||||||
weight = sb->value();
|
weight = sb->value();
|
||||||
else
|
else
|
||||||
weight = round(dsb->value()/step);
|
weight = round(dsb->value() / step);
|
||||||
|
|
||||||
emit valueChanged();
|
emit valueChanged();
|
||||||
}
|
}
|
||||||
@@ -180,7 +189,7 @@ void GVarGroup::setWeight(int val)
|
|||||||
|
|
||||||
int tval;
|
int tval;
|
||||||
|
|
||||||
if (val>maxi || val<mini) {
|
if (val > maxi || val < mini) {
|
||||||
tval = deflt;
|
tval = deflt;
|
||||||
weightGV->setChecked(true);
|
weightGV->setChecked(true);
|
||||||
weightSB->hide();
|
weightSB->hide();
|
||||||
@@ -214,27 +223,6 @@ void GVarGroup::setWeight(int val)
|
|||||||
* Helpers namespace functions
|
* Helpers namespace functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void Helpers::populateGVCB(QComboBox & b, int value, const ModelData & model)
|
|
||||||
{
|
|
||||||
int count = getCurrentFirmware()->getCapability(Gvars);
|
|
||||||
|
|
||||||
b.clear();
|
|
||||||
|
|
||||||
for (int i=-count; i<=-1; i++) {
|
|
||||||
int16_t gval = (int16_t)(-10000+i);
|
|
||||||
b.addItem("-" + RawSource(SOURCE_TYPE_GVAR, abs(i)-1).toString(&model), gval);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (int i=1; i<=count; i++) {
|
|
||||||
int16_t gval = (int16_t)(10000+i);
|
|
||||||
b.addItem(RawSource(SOURCE_TYPE_GVAR, i-1).toString(&model), gval);
|
|
||||||
}
|
|
||||||
|
|
||||||
b.setCurrentIndex(b.findData(value));
|
|
||||||
if (b.currentIndex() == -1)
|
|
||||||
b.setCurrentIndex(count);
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: Move lookup to GVarData class (w/out combobox)
|
// TODO: Move lookup to GVarData class (w/out combobox)
|
||||||
void Helpers::populateGvarUseCB(QComboBox * b, unsigned int phase)
|
void Helpers::populateGvarUseCB(QComboBox * b, unsigned int phase)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,8 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _HELPERS_H_
|
#pragma once
|
||||||
#define _HELPERS_H_
|
|
||||||
|
|
||||||
#include "eeprominterface.h"
|
#include "eeprominterface.h"
|
||||||
#include <QCheckBox>
|
#include <QCheckBox>
|
||||||
@@ -60,12 +59,15 @@ class CompanionIcon: public QIcon {
|
|||||||
void addImage(const QString &baseimage, Mode mode = Normal, State state = Off);
|
void addImage(const QString &baseimage, Mode mode = Normal, State state = Off);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class FilteredItemModel;
|
||||||
|
|
||||||
class GVarGroup: public QObject {
|
class GVarGroup: public QObject {
|
||||||
|
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GVarGroup(QCheckBox * weightGV, QAbstractSpinBox * weightSB, QComboBox * weightCB, int & weight, const ModelData & model, const int deflt, const int mini, const int maxi, const double step=1.0, bool allowGVars=true);
|
GVarGroup(QCheckBox * weightGV, QAbstractSpinBox * weightSB, QComboBox * weightCB, int & weight, const ModelData & model,
|
||||||
|
const int deflt, const int mini, const int maxi, const double step = 1.0, FilteredItemModel * gvarModel = nullptr);
|
||||||
|
|
||||||
void setWeight(int val);
|
void setWeight(int val);
|
||||||
|
|
||||||
@@ -101,7 +103,6 @@ class GVarGroup: public QObject {
|
|||||||
namespace Helpers
|
namespace Helpers
|
||||||
{
|
{
|
||||||
void populateGvarUseCB(QComboBox *b, unsigned int phase);
|
void populateGvarUseCB(QComboBox *b, unsigned int phase);
|
||||||
void populateGVCB(QComboBox & b, int value, const ModelData & model);
|
|
||||||
|
|
||||||
void populateFileComboBox(QComboBox * b, const QSet<QString> & set, const QString & current);
|
void populateFileComboBox(QComboBox * b, const QSet<QString> & set, const QString & current);
|
||||||
void getFileComboBoxValue(QComboBox * b, char * dest, int length);
|
void getFileComboBoxValue(QComboBox * b, char * dest, int length);
|
||||||
@@ -234,5 +235,3 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
extern Stopwatch gStopwatch;
|
extern Stopwatch gStopwatch;
|
||||||
|
|
||||||
#endif // _HELPERS_H_
|
|
||||||
|
|||||||
@@ -22,14 +22,12 @@
|
|||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
#include "filtereditemmodels.h"
|
#include "filtereditemmodels.h"
|
||||||
|
|
||||||
LimitsGroup::LimitsGroup(Firmware * firmware, TableLayout * tableLayout, int row, int col, int & value, const ModelData & model, int min, int max, int deflt, ModelPanel * panel):
|
LimitsGroup::LimitsGroup(Firmware * firmware, TableLayout * tableLayout, int row, int col, int & value, const ModelData & model,
|
||||||
|
int min, int max, int deflt, FilteredItemModel * gvarModel, ModelPanel * panel):
|
||||||
firmware(firmware),
|
firmware(firmware),
|
||||||
spinbox(new QDoubleSpinBox()),
|
spinbox(new QDoubleSpinBox()),
|
||||||
value(value)
|
value(value)
|
||||||
{
|
{
|
||||||
Board::Type board = firmware->getBoard();
|
|
||||||
bool allowGVars = IS_HORUS_OR_TARANIS(board);
|
|
||||||
|
|
||||||
spinbox->setProperty("index", row);
|
spinbox->setProperty("index", row);
|
||||||
spinbox->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
spinbox->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||||
spinbox->setAccelerated(true);
|
spinbox->setAccelerated(true);
|
||||||
@@ -56,7 +54,7 @@ LimitsGroup::LimitsGroup(Firmware * firmware, TableLayout * tableLayout, int row
|
|||||||
horizontalLayout->addWidget(cb);
|
horizontalLayout->addWidget(cb);
|
||||||
horizontalLayout->addWidget(spinbox);
|
horizontalLayout->addWidget(spinbox);
|
||||||
tableLayout->addLayout(row, col, horizontalLayout);
|
tableLayout->addLayout(row, col, horizontalLayout);
|
||||||
gvarGroup = new GVarGroup(gv, spinbox, cb, value, model, deflt, min, max, displayStep, allowGVars);
|
gvarGroup = new GVarGroup(gv, spinbox, cb, value, model, deflt, min, max, displayStep, gvarModel);
|
||||||
QObject::connect(gvarGroup, &GVarGroup::valueChanged, panel, &ModelPanel::modified);
|
QObject::connect(gvarGroup, &GVarGroup::valueChanged, panel, &ModelPanel::modified);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -87,6 +85,7 @@ void LimitsGroup::updateMinMax(int max)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ChannelsPanel::ChannelsPanel(QWidget * parent, ModelData & model, GeneralSettings & generalSettings, Firmware * firmware, CompoundItemModelFactory * sharedItemModels):
|
ChannelsPanel::ChannelsPanel(QWidget * parent, ModelData & model, GeneralSettings & generalSettings, Firmware * firmware, CompoundItemModelFactory * sharedItemModels):
|
||||||
ModelPanel(parent, model, generalSettings, firmware),
|
ModelPanel(parent, model, generalSettings, firmware),
|
||||||
sharedItemModels(sharedItemModels)
|
sharedItemModels(sharedItemModels)
|
||||||
@@ -94,8 +93,12 @@ ChannelsPanel::ChannelsPanel(QWidget * parent, ModelData & model, GeneralSetting
|
|||||||
chnCapability = firmware->getCapability(Outputs);
|
chnCapability = firmware->getCapability(Outputs);
|
||||||
int channelNameMaxLen = firmware->getCapability(ChannelsName);
|
int channelNameMaxLen = firmware->getCapability(ChannelsName);
|
||||||
|
|
||||||
curveFilteredModel = new FilteredItemModel(sharedItemModels->getItemModel(AbstractItemModel::IMID_Curve));
|
dialogFilteredItemModels = new FilteredItemModelFactory();
|
||||||
connectItemModelEvents(curveFilteredModel);
|
|
||||||
|
int crvid = dialogFilteredItemModels->registerItemModel(new FilteredItemModel(sharedItemModels->getItemModel(AbstractItemModel::IMID_Curve)), "Curve");
|
||||||
|
connectItemModelEvents(dialogFilteredItemModels->getItemModel(crvid));
|
||||||
|
|
||||||
|
int gvid = dialogFilteredItemModels->registerItemModel(new FilteredItemModel(sharedItemModels->getItemModel(AbstractItemModel::IMID_GVarRef)), "GVarRef");
|
||||||
|
|
||||||
QStringList headerLabels;
|
QStringList headerLabels;
|
||||||
headerLabels << "#";
|
headerLabels << "#";
|
||||||
@@ -137,13 +140,13 @@ ChannelsPanel::ChannelsPanel(QWidget * parent, ModelData & model, GeneralSetting
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Channel offset
|
// Channel offset
|
||||||
chnOffset[i] = new LimitsGroup(firmware, tableLayout, i, col++, model.limitData[i].offset, model, -1000, 1000, 0, this);
|
chnOffset[i] = new LimitsGroup(firmware, tableLayout, i, col++, model.limitData[i].offset, model, -1000, 1000, 0, dialogFilteredItemModels->getItemModel(gvid), this);
|
||||||
|
|
||||||
// Channel min
|
// Channel min
|
||||||
chnMin[i] = new LimitsGroup(firmware, tableLayout, i, col++, model.limitData[i].min, model, -model.getChannelsMax() * 10, 0, -1000, this);
|
chnMin[i] = new LimitsGroup(firmware, tableLayout, i, col++, model.limitData[i].min, model, -model.getChannelsMax() * 10, 0, -1000, dialogFilteredItemModels->getItemModel(gvid), this);
|
||||||
|
|
||||||
// Channel max
|
// Channel max
|
||||||
chnMax[i] = new LimitsGroup(firmware, tableLayout, i, col++, model.limitData[i].max, model, 0, model.getChannelsMax() * 10, 1000, this);
|
chnMax[i] = new LimitsGroup(firmware, tableLayout, i, col++, model.limitData[i].max, model, 0, model.getChannelsMax() * 10, 1000, dialogFilteredItemModels->getItemModel(gvid), this);
|
||||||
|
|
||||||
// Channel inversion
|
// Channel inversion
|
||||||
invCB[i] = new QComboBox(this);
|
invCB[i] = new QComboBox(this);
|
||||||
@@ -156,7 +159,7 @@ ChannelsPanel::ChannelsPanel(QWidget * parent, ModelData & model, GeneralSetting
|
|||||||
if (IS_HORUS_OR_TARANIS(firmware->getBoard())) {
|
if (IS_HORUS_OR_TARANIS(firmware->getBoard())) {
|
||||||
curveCB[i] = new QComboBox(this);
|
curveCB[i] = new QComboBox(this);
|
||||||
curveCB[i]->setProperty("index", i);
|
curveCB[i]->setProperty("index", i);
|
||||||
curveCB[i]->setModel(curveFilteredModel);
|
curveCB[i]->setModel(dialogFilteredItemModels->getItemModel(crvid));
|
||||||
connect(curveCB[i], SIGNAL(currentIndexChanged(int)), this, SLOT(curveEdited()));
|
connect(curveCB[i], SIGNAL(currentIndexChanged(int)), this, SLOT(curveEdited()));
|
||||||
tableLayout->addWidget(i, col++, curveCB[i]);
|
tableLayout->addWidget(i, col++, curveCB[i]);
|
||||||
}
|
}
|
||||||
@@ -204,7 +207,7 @@ ChannelsPanel::~ChannelsPanel()
|
|||||||
delete centerSB[i];
|
delete centerSB[i];
|
||||||
delete symlimitsChk[i];
|
delete symlimitsChk[i];
|
||||||
}
|
}
|
||||||
delete curveFilteredModel;
|
delete dialogFilteredItemModels;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChannelsPanel::symlimitsEdited()
|
void ChannelsPanel::symlimitsEdited()
|
||||||
|
|||||||
@@ -18,8 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _CHANNELS_H_
|
#pragma once
|
||||||
#define _CHANNELS_H_
|
|
||||||
|
|
||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
#include "modeledit.h"
|
#include "modeledit.h"
|
||||||
@@ -27,7 +26,7 @@
|
|||||||
#include <QtCore>
|
#include <QtCore>
|
||||||
|
|
||||||
class CompoundItemModelFactory;
|
class CompoundItemModelFactory;
|
||||||
class FilteredItemModel;
|
class FilteredItemModelFactory;
|
||||||
|
|
||||||
constexpr char MIMETYPE_CHANNEL[] = "application/x-companion-channel";
|
constexpr char MIMETYPE_CHANNEL[] = "application/x-companion-channel";
|
||||||
|
|
||||||
@@ -38,7 +37,8 @@ class LimitsGroup
|
|||||||
Q_DECLARE_TR_FUNCTIONS(LimitsGroup)
|
Q_DECLARE_TR_FUNCTIONS(LimitsGroup)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
LimitsGroup(Firmware * firmware, TableLayout * tableLayout, int row, int col, int & value, const ModelData & model, int min, int max, int deflt, ModelPanel * panel=NULL);
|
LimitsGroup(Firmware * firmware, TableLayout * tableLayout, int row, int col, int & value, const ModelData & model,
|
||||||
|
int min, int max, int deflt, FilteredItemModel * gvarModel, ModelPanel * panel = nullptr);
|
||||||
~LimitsGroup();
|
~LimitsGroup();
|
||||||
|
|
||||||
void setValue(int val);
|
void setValue(int val);
|
||||||
@@ -58,7 +58,8 @@ class ChannelsPanel : public ModelPanel
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ChannelsPanel(QWidget * parent, ModelData & model, GeneralSettings & generalSettings, Firmware * firmware, CompoundItemModelFactory * sharedItemModels);
|
ChannelsPanel(QWidget * parent, ModelData & model, GeneralSettings & generalSettings, Firmware * firmware,
|
||||||
|
CompoundItemModelFactory * sharedItemModels);
|
||||||
virtual ~ChannelsPanel();
|
virtual ~ChannelsPanel();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
@@ -102,9 +103,7 @@ class ChannelsPanel : public ModelPanel
|
|||||||
int selectedIndex;
|
int selectedIndex;
|
||||||
int chnCapability;
|
int chnCapability;
|
||||||
CompoundItemModelFactory *sharedItemModels;
|
CompoundItemModelFactory *sharedItemModels;
|
||||||
FilteredItemModel *curveFilteredModel;
|
|
||||||
void updateItemModels();
|
void updateItemModels();
|
||||||
void connectItemModelEvents(const FilteredItemModel * itemModel);
|
void connectItemModelEvents(const FilteredItemModel * itemModel);
|
||||||
|
FilteredItemModelFactory *dialogFilteredItemModels;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _CHANNELS_H_
|
|
||||||
|
|||||||
@@ -50,8 +50,11 @@ ExpoDialog::ExpoDialog(QWidget *parent, ModelData & model, ExpoData *expoData, G
|
|||||||
setWindowTitle(tr("Edit %1").arg(RawSource(srcType, ed->chn).toString(&model, &generalSettings)));
|
setWindowTitle(tr("Edit %1").arg(RawSource(srcType, ed->chn).toString(&model, &generalSettings)));
|
||||||
QRegExp rx(CHAR_FOR_NAMES_REGEX);
|
QRegExp rx(CHAR_FOR_NAMES_REGEX);
|
||||||
|
|
||||||
gvWeightGroup = new GVarGroup(ui->weightGV, ui->weightSB, ui->weightCB, ed->weight, model, 100, -100, 100);
|
id = dialogFilteredItemModels->registerItemModel(new FilteredItemModel(sharedItemModels->getItemModel(AbstractItemModel::IMID_GVarRef)), "GVarRef");
|
||||||
gvOffsetGroup = new GVarGroup(ui->offsetGV, ui->offsetSB, ui->offsetCB, ed->offset, model, 0, -100, 100);
|
gvWeightGroup = new GVarGroup(ui->weightGV, ui->weightSB, ui->weightCB, ed->weight, model, 100, -100, 100, 1.0,
|
||||||
|
dialogFilteredItemModels->getItemModel(id));
|
||||||
|
gvOffsetGroup = new GVarGroup(ui->offsetGV, ui->offsetSB, ui->offsetCB, ed->offset, model, 0, -100, 100, 1.0,
|
||||||
|
dialogFilteredItemModels->getItemModel(id));
|
||||||
|
|
||||||
curveRefFilteredItemModels = new CurveRefFilteredFactory(sharedItemModels,
|
curveRefFilteredItemModels = new CurveRefFilteredFactory(sharedItemModels,
|
||||||
firmware->getCapability(HasInputDiff) ? 0 : FilteredItemModel::PositiveFilter);
|
firmware->getCapability(HasInputDiff) ? 0 : FilteredItemModel::PositiveFilter);
|
||||||
|
|||||||
@@ -55,9 +55,13 @@ MixerDialog::MixerDialog(QWidget *parent, ModelData & model, MixData * mixdata,
|
|||||||
ui->sourceCB->setCurrentIndex(ui->sourceCB->findData(md->srcRaw.toValue()));
|
ui->sourceCB->setCurrentIndex(ui->sourceCB->findData(md->srcRaw.toValue()));
|
||||||
|
|
||||||
int limit = firmware->getCapability(OffsetWeight);
|
int limit = firmware->getCapability(OffsetWeight);
|
||||||
|
id = dialogFilteredItemModels->registerItemModel(new FilteredItemModel(sharedItemModels->getItemModel(AbstractItemModel::IMID_GVarRef)), "GVarRef");
|
||||||
|
|
||||||
|
gvWeightGroup = new GVarGroup(ui->weightGV, ui->weightSB, ui->weightCB, md->weight, model, 100, -limit, limit, 1.0,
|
||||||
|
dialogFilteredItemModels->getItemModel(id));
|
||||||
|
gvOffsetGroup = new GVarGroup(ui->offsetGV, ui->offsetSB, ui->offsetCB, md->sOffset, model, 0, -limit, limit, 1.0,
|
||||||
|
dialogFilteredItemModels->getItemModel(id));
|
||||||
|
|
||||||
gvWeightGroup = new GVarGroup(ui->weightGV, ui->weightSB, ui->weightCB, md->weight, model, 100, -limit, limit);
|
|
||||||
gvOffsetGroup = new GVarGroup(ui->offsetGV, ui->offsetSB, ui->offsetCB, md->sOffset, model, 0, -limit, limit);
|
|
||||||
curveRefFilteredItemModels = new CurveRefFilteredFactory(sharedItemModels,
|
curveRefFilteredItemModels = new CurveRefFilteredFactory(sharedItemModels,
|
||||||
firmware->getCapability(HasMixerExpo) ? 0 : FilteredItemModel::PositiveFilter);
|
firmware->getCapability(HasMixerExpo) ? 0 : FilteredItemModel::PositiveFilter);
|
||||||
curveGroup = new CurveReferenceUIManager(ui->curveTypeCB, ui->curveGVarCB, ui->curveValueSB, ui->curveValueCB, md->curve, model,
|
curveGroup = new CurveReferenceUIManager(ui->curveTypeCB, ui->curveGVarCB, ui->curveValueSB, ui->curveValueCB, md->curve, model,
|
||||||
|
|||||||
Reference in New Issue
Block a user