Companion renaming done for now.
This commit is contained in:
@@ -45,7 +45,7 @@ CustomFunctionsPanel::CustomFunctionsPanel(QWidget * parent, ModelData & model,
|
||||
|
||||
int col = 1;
|
||||
addLabel(gridLayout, tr("Switch"), col++);
|
||||
addLabel(gridLayout, tr("Function"), col++);
|
||||
addLabel(gridLayout, tr("Action"), col++);
|
||||
addLabel(gridLayout, tr("Parameters"), col++);
|
||||
addLabel(gridLayout, tr("Enable"), col++);
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ CustomSwitchesPanel::CustomSwitchesPanel(QWidget * parent, ModelData & model):
|
||||
QGridLayout * gridLayout = new QGridLayout(this);
|
||||
|
||||
int col = 1;
|
||||
addLabel(gridLayout, tr("Function"), col++);
|
||||
addLabel(gridLayout, tr("Condition"), col++);
|
||||
addLabel(gridLayout, tr("V1"), col++);
|
||||
addLabel(gridLayout, tr("V2"), col++);
|
||||
addLabel(gridLayout, tr("AND"), col++);
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>370</width>
|
||||
<height>356</height>
|
||||
<width>381</width>
|
||||
<height>414</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
@@ -73,7 +73,7 @@
|
||||
<item>
|
||||
<widget class="QComboBox" name="weightCB">
|
||||
<property name="whatsThis">
|
||||
<string>Phase used by the expo.</string>
|
||||
<string>Phase used by the input.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -266,8 +266,8 @@
|
||||
<item row="9" column="1">
|
||||
<widget class="QComboBox" name="switchesCB">
|
||||
<property name="whatsThis">
|
||||
<string>Switch used by the expo.
|
||||
If blank then the expo is considered to be "ON" all the time.</string>
|
||||
<string>Switch used by the input.
|
||||
If blank then the input is considered to be "ON" all the time.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -395,7 +395,7 @@ p, li { white-space: pre-wrap; }
|
||||
<string/>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>The curve used by the expo</string>
|
||||
<string>The curve used by the input</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -21,7 +21,7 @@ InputsPanel::InputsPanel(QWidget *parent, ModelData & model, GeneralSettings & g
|
||||
qbDown->setText(tr("Move Down"));
|
||||
qbDown->setIcon(CompanionIcon("movedown.png"));
|
||||
qbDown->setShortcut(QKeySequence(tr("Ctrl+Down")));
|
||||
qbClear->setText(tr("Clear Expo Settings"));
|
||||
qbClear->setText(tr("Clear All Settings"));
|
||||
qbClear->setIcon(CompanionIcon("clear.png"));
|
||||
|
||||
exposLayout->addWidget(ExposlistWidget,1,1,1,3);
|
||||
@@ -142,7 +142,7 @@ void InputsPanel::update()
|
||||
bool InputsPanel::gm_insertExpo(int idx)
|
||||
{
|
||||
if (idx<0 || idx>=C9X_MAX_EXPOS || model.expoData[C9X_MAX_EXPOS-1].mode > 0) {
|
||||
QMessageBox::information(this, "companion", tr("Not enough available expos!"));
|
||||
QMessageBox::information(this, "companion", tr("Not enough available inputs!"));
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -222,7 +222,7 @@ void InputsPanel::exposDelete(bool ask)
|
||||
|
||||
if(ask)
|
||||
ret = QMessageBox::warning(this, "companion",
|
||||
tr("Delete Selected Expos?"),
|
||||
tr("Delete Selected Inputs?"),
|
||||
QMessageBox::Yes | QMessageBox::No);
|
||||
|
||||
|
||||
@@ -460,7 +460,7 @@ void InputsPanel::exposDeleteList(QList<int> list)
|
||||
|
||||
void InputsPanel::clearExpos()
|
||||
{
|
||||
if (QMessageBox::question(this, tr("Clear Expos?"), tr("Really clear all the expos?"), QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) {
|
||||
if (QMessageBox::question(this, tr("Clear Inputs?"), tr("Really clear all the inputs?"), QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) {
|
||||
model.clearInputs();
|
||||
emit modified();
|
||||
update();
|
||||
|
||||
@@ -99,16 +99,16 @@ ModulePanel::ModulePanel(QWidget *parent, ModelData & model, ModuleData & module
|
||||
|
||||
QString label;
|
||||
if (moduleIdx < 0) {
|
||||
label = tr("Trainer Module");
|
||||
label = tr("Trainer Output");
|
||||
ui->trainerMode->setCurrentIndex(model.trainerMode);
|
||||
}
|
||||
else {
|
||||
ui->label_trainerMode->hide();
|
||||
ui->trainerMode->hide();
|
||||
if (moduleIdx == 0)
|
||||
label = tr("Internal Module");
|
||||
label = tr("Internal Radio System");
|
||||
else
|
||||
label = tr("External Module");
|
||||
label = tr("External Radio Module");
|
||||
|
||||
}
|
||||
ui->label_module->setText(label);
|
||||
|
||||
Reference in New Issue
Block a user