Support of current EEPROM inside Companion. Some more code around

EEPROMS export removed (needed to be fixed, so I preferred to remove in
the same commit).
This commit is contained in:
Bertrand Songis
2014-01-07 17:57:42 +01:00
parent 5d3c827488
commit 3b59d07724
48 changed files with 938 additions and 7439 deletions
+10 -8
View File
@@ -152,13 +152,14 @@ void MixesPanel::update()
if(md->noExpo) {
str += " " +tr("No DR/Expo");
}
if (GetEepromInterface()->getCapability(MixFmTrim) && md->enableFmTrim==1) {
if (md->sOffset) str += " " + tr("FMTrim") + QString("(%1%)").arg(md->sOffset);
} else {
if (md->sOffset) str += " " + tr("Offset") + getGVarString(md->sOffset);
if (md->sOffset) str += " " + tr("Offset") + getGVarString(md->sOffset);
QString curveStr = md->curve.toString();
if (!curveStr.isEmpty()) {
str += " " + curveStr;
}
if (md->differential) str += " " + tr("Diff") + getGVarString(md->differential);
if (md->curve) str += " " + tr("Curve") + QString("(%1)").arg(getCurveStr(md->curve));
int scale=GetEepromInterface()->getCapability(SlowScale);
if (scale==0)
scale=1;
@@ -171,7 +172,7 @@ void MixesPanel::update()
QString MixerName;
MixerName.append(md->name);
if (!MixerName.isEmpty()) {
str+=QString("(%1)").arg(MixerName);
str += QString("(%1)").arg(MixerName);
}
}
qba.clear();
@@ -188,7 +189,8 @@ void MixesPanel::update()
if (curDest > outputs) {
str = tr("X%1 ").arg(curDest-outputs);
} else {
}
else {
str = tr("CH%1%2").arg(curDest/10).arg(curDest%10);
if (GetEepromInterface()->getCapability(HasChNames) && showNames) {
QString name=model.limitData[curDest-1].name;