refs #288, formatting, minor tweaks

This commit is contained in:
Klaus Basan
2014-11-10 20:53:49 +01:00
committed by Roland Winklmeier
parent 159dbe9f5a
commit 49be1c2bb7
5 changed files with 12 additions and 15 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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
};

View File

@@ -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">