mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 18:55:38 +08:00
refs #369 allow to place aircraft in Vienna for traffic sim
This commit is contained in:
@@ -236,6 +236,7 @@
|
|||||||
<addaction name="menu_TestLocationsEDDF"/>
|
<addaction name="menu_TestLocationsEDDF"/>
|
||||||
<addaction name="menu_TestLocationsEDDM"/>
|
<addaction name="menu_TestLocationsEDDM"/>
|
||||||
<addaction name="menu_TestLocationsEDNX"/>
|
<addaction name="menu_TestLocationsEDNX"/>
|
||||||
|
<addaction name="menu_TestLocationsLOWW"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menu_Reload">
|
<widget class="QMenu" name="menu_Reload">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
@@ -369,6 +370,11 @@
|
|||||||
<string>Meta types (to console)</string>
|
<string>Meta types (to console)</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="menu_TestLocationsLOWW">
|
||||||
|
<property name="text">
|
||||||
|
<string>Position LOWW (Vienna, AUT)</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<layoutdefault spacing="6" margin="11"/>
|
<layoutdefault spacing="6" margin="11"/>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
|
|||||||
@@ -37,6 +37,10 @@ void SwiftGuiStd::ps_onMenuClicked()
|
|||||||
{
|
{
|
||||||
this->setTestPosition("N 50° 2′ 0", "E 8° 34′ 14", CAltitude(100, CAltitude::MeanSeaLevel, CLengthUnit::m()));
|
this->setTestPosition("N 50° 2′ 0", "E 8° 34′ 14", CAltitude(100, CAltitude::MeanSeaLevel, CLengthUnit::m()));
|
||||||
}
|
}
|
||||||
|
else if (sender == this->ui->menu_TestLocationsLOWW)
|
||||||
|
{
|
||||||
|
this->setTestPosition("N 40° 7′ 6.3588", "E 16° 33′ 39.924", CAltitude(100, CAltitude::MeanSeaLevel, CLengthUnit::m()));
|
||||||
|
}
|
||||||
else if (sender == this->ui->menu_ReloadSettings)
|
else if (sender == this->ui->menu_ReloadSettings)
|
||||||
{
|
{
|
||||||
this->ui->comp_MainInfoArea->getSettingsComponent()->reloadSettings();
|
this->ui->comp_MainInfoArea->getSettingsComponent()->reloadSettings();
|
||||||
|
|||||||
Reference in New Issue
Block a user