mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Ref T111, aligned cockpit UI elements
* naming * allow to set cockpit values by simulated aircraft
This commit is contained in:
committed by
Mathew Sutcliffe
parent
753bbc1847
commit
1ec3f4566d
@@ -64,7 +64,7 @@ namespace BlackGui
|
||||
// COM form
|
||||
connect(ui->editor_Com, &CCockpitComForm::testSelcal, this, &CCockpitComComponent::testSelcal);
|
||||
connect(ui->editor_Com, &CCockpitComForm::changedCockpitValues, this, &CCockpitComComponent::updateOwnCockpitInContext);
|
||||
connect(ui->editor_Com, &CCockpitComForm::selcalChanged, this, &CCockpitComComponent::updateSelcalInContext);
|
||||
connect(ui->editor_Com, &CCockpitComForm::changedSelcal, this, &CCockpitComComponent::updateSelcalInContext);
|
||||
|
||||
// Relay COM form signals
|
||||
connect(ui->editor_Com, &CCockpitComForm::transponderModeChanged, this, &CCockpitComComponent::transponderModeChanged);
|
||||
@@ -103,7 +103,7 @@ namespace BlackGui
|
||||
const CTransponder transponder = ownAircraft.getTransponder();
|
||||
|
||||
// update the frequencies
|
||||
ui->editor_Com->setFrequencyDisplays(com1, com2);
|
||||
ui->editor_Com->setFrequencies(com1, com2);
|
||||
|
||||
// update transponder
|
||||
ui->editor_Com->setTransponder(transponder);
|
||||
|
||||
Reference in New Issue
Block a user