mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
refs #288, formatting, minor tweaks
This commit is contained in:
committed by
Roland Winklmeier
parent
159dbe9f5a
commit
49be1c2bb7
@@ -7,8 +7,6 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
|
||||
#include "atcstationcomponent.h"
|
||||
#include "../views/atcstationview.h"
|
||||
#include "../guiutility.h"
|
||||
@@ -29,8 +27,6 @@ namespace BlackGui
|
||||
{
|
||||
CAtcStationComponent::CAtcStationComponent(QWidget *parent) :
|
||||
QTabWidget(parent),
|
||||
CEnableForDockWidgetInfoArea(),
|
||||
CEnableForRuntime(nullptr, false),
|
||||
ui(new Ui::CAtcStationComponent), m_updateTimer(nullptr)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
@@ -99,14 +99,6 @@ namespace BlackGui
|
||||
this->ui->ds_ComPanelCom2Active->setValue(this->ui->ds_ComPanelCom2Standby->value());
|
||||
this->ui->ds_ComPanelCom2Standby->setValue(f);
|
||||
}
|
||||
else if (sender == this->ui->cbp_ComPanelTransponderMode)
|
||||
{
|
||||
// toggle the external button
|
||||
if (this->ui->cbp_ComPanelTransponderMode->isIdentSelected())
|
||||
{
|
||||
// todo
|
||||
}
|
||||
}
|
||||
|
||||
const CAircraft ownAircraft = this->cockpitValuesToAircraftObject();
|
||||
this->updateOwnCockpitInContext(ownAircraft);
|
||||
|
||||
@@ -57,8 +57,8 @@ namespace BlackGui
|
||||
void toggleShowHideDetails(bool show, bool considerCurrentSize);
|
||||
|
||||
QScopedPointer<Ui::CCockpitComponent> ui;
|
||||
QSize m_sizeFloatingShown; //! size when info area is shown
|
||||
QSize m_sizeFloatingHidden; //! size when info area is hidden
|
||||
QSize m_sizeFloatingShown; //! size when info area is shown
|
||||
QSize m_sizeFloatingHidden; //! size when info area is hidden
|
||||
int m_minHeightInfoArea = -1; //! minimum height of the info area
|
||||
};
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tb_SettingsTrafficNetwork">
|
||||
<attribute name="title">
|
||||
|
||||
Reference in New Issue
Block a user