mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
Ref T372, Ref T370 testing with emulated driver fixes
* added ground speed * changed altitude parsing to CPqString::SeparatorsBestGuess * signal when parts form is set
This commit is contained in:
@@ -36,6 +36,7 @@ namespace BlackGui
|
||||
connect(ui->pb_AircraftPartsEnginesOn, &QPushButton::pressed, this, &CAircraftPartsForm::setAllEngines);
|
||||
connect(ui->pb_AircraftPartsEnginesOff, &QPushButton::pressed, this, &CAircraftPartsForm::setAllEngines);
|
||||
connect(ui->pb_AircraftPartsUiToJson, &QPushButton::pressed, this, &CAircraftPartsForm::guiToJson);
|
||||
connect(ui->pb_Set, &QPushButton::pressed, this, &CAircraftPartsForm::changeAircraftParts); // force change signal
|
||||
}
|
||||
|
||||
CAircraftPartsForm::~CAircraftPartsForm()
|
||||
@@ -162,7 +163,7 @@ namespace BlackGui
|
||||
return parts;
|
||||
}
|
||||
|
||||
void CAircraftPartsForm::partsToGui(const Aviation::CAircraftParts &parts)
|
||||
void CAircraftPartsForm::partsToGui(const CAircraftParts &parts)
|
||||
{
|
||||
ui->cb_AircraftPartsGearDown->setChecked(parts.isGearDown());
|
||||
ui->cb_AircraftPartsIsOnGround->setChecked(parts.isOnGround());
|
||||
|
||||
Reference in New Issue
Block a user