Firmware/companion string consistency

This commit is contained in:
Andre Bernet
2014-04-03 21:04:36 +02:00
parent 0075f20ae4
commit c65b26ec69
12 changed files with 28 additions and 31 deletions
+4 -4
View File
@@ -18,16 +18,16 @@ Channels::Channels(QWidget * parent, ModelData & model, GeneralSettings & genera
minimize=true;
addLabel(gridLayout, tr("Name"), col++);
}
addLabel(gridLayout, tr("Offset"), col++, minimize);
addLabel(gridLayout, tr("Subtrim"), col++, minimize);
addLabel(gridLayout, tr("Min"), col++, minimize);
addLabel(gridLayout, tr("Max"), col++, minimize);
addLabel(gridLayout, tr("Invert"), col++, minimize);
addLabel(gridLayout, tr("Direction"), col++, minimize);
if (IS_TARANIS(GetEepromInterface()->getBoard()))
addLabel(gridLayout, tr("Curve"), col++, minimize);
if (GetEepromInterface()->getCapability(PPMCenter))
addLabel(gridLayout, tr("Center"), col++, minimize);
addLabel(gridLayout, tr("PPM Center"), col++, minimize);
if (GetEepromInterface()->getCapability(SYMLimits))
addLabel(gridLayout, tr("Sym"), col++, true);
addLabel(gridLayout, tr("Linear Subtrim"), col++, true);
for (int i=0; i<GetEepromInterface()->getCapability(Outputs); i++) {
col = 0;
+2 -2
View File
@@ -14,10 +14,10 @@ LogicalSwitchesPanel::LogicalSwitchesPanel(QWidget * parent, ModelData & model,
QGridLayout * gridLayout = new QGridLayout(this);
int col = 1;
addLabel(gridLayout, tr("Condition"), col++);
addLabel(gridLayout, tr("Function"), col++);
addLabel(gridLayout, tr("V1"), col++);
addLabel(gridLayout, tr("V2"), col++);
addLabel(gridLayout, tr("AND"), col++);
addLabel(gridLayout, tr("AND Switch"), col++);
if (GetEepromInterface()->getCapability(LogicalSwitchesExt)) {
addLabel(gridLayout, tr("Duration"), col++);
addLabel(gridLayout, tr("Delay"), col++);
+1 -1
View File
@@ -30,7 +30,7 @@ ModelEdit::ModelEdit(RadioData & radioData, int modelId, bool openWizard, bool i
addTab(new FlightModes(this, model, generalSettings), tr("Flight Modes"));
addTab(new InputsPanel(this, model, generalSettings), tr("Inputs"));
addTab(new MixesPanel(this, model, generalSettings), tr("Mixes"));
addTab(new Channels(this, model, generalSettings), tr("Channels"));
addTab(new Channels(this, model, generalSettings), tr("Servos"));
addTab(new LogicalSwitchesPanel(this, model, generalSettings), tr("Logical Switches"));
if (GetEepromInterface()->getCapability(CustomFunctions))
addTab(new CustomFunctionsPanel(this, model, generalSettings), tr("Special Functions"));
+3 -3
View File
@@ -22,10 +22,10 @@ TimerPanel::TimerPanel(QWidget *parent, ModelData & model, TimerData & timer, Ge
ui->persistentValue->hide();
}
ui->countdownBeep->addItem(tr("None"));
ui->countdownBeep->addItem(tr("Silent"));
ui->countdownBeep->addItem(tr("Beeps"));
if (IS_ARM(GetEepromInterface()->getBoard()) || IS_2560(GetEepromInterface()->getBoard()))
ui->countdownBeep->addItem(tr("Countdown"));
ui->countdownBeep->addItem(tr("Voice"));
lock = false;
}
@@ -106,7 +106,7 @@ ModulePanel::ModulePanel(QWidget *parent, ModelData & model, ModuleData & module
QString label;
if (moduleIdx < 0) {
label = tr("Trainer Output");
label = tr("Trainer Port");
ui->trainerMode->setCurrentIndex(model.trainerMode);
}
else {
+3 -3
View File
@@ -70,7 +70,7 @@ If this is checked the throttle will be reversed. Idle will be forward, trim wi
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Throttle Trim</string>
<string>Throttle Trim Idle Only</string>
</property>
</widget>
</item>
@@ -187,7 +187,7 @@ If this is checked the throttle will be reversed. Idle will be forward, trim wi
</font>
</property>
<property name="text">
<string>Throttle Source</string>
<string>Timer Source</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -203,7 +203,7 @@ If this is checked the throttle will be reversed. Idle will be forward, trim wi
</font>
</property>
<property name="text">
<string>Trim Increment</string>
<string>Trim Step</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+1 -1
View File
@@ -526,7 +526,7 @@
</size>
</property>
<property name="text">
<string>RX Number</string>
<string>Receiver No.</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+1 -1
View File
@@ -46,7 +46,7 @@
<item>
<widget class="QCheckBox" name="minuteBeep">
<property name="text">
<string>MinuteBeep</string>
<string>Minute Call</string>
</property>
</widget>
</item>
+6
View File
@@ -975,6 +975,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string> mAh</string>
</property>
<property name="maximum">
<number>32767</number>
</property>
@@ -988,6 +991,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string> A</string>
</property>
<property name="decimals">
<number>1</number>
</property>
+2 -11
View File
@@ -17,16 +17,7 @@
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<property name="margin">
<number>0</number>
</property>
<item>
@@ -271,7 +262,7 @@
</sizepolicy>
</property>
<property name="text">
<string>Min Value</string>
<string>Offset</string>
</property>
</widget>
</item>