mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Minor formatting
This commit is contained in:
@@ -125,6 +125,15 @@ namespace BlackGui
|
|||||||
//! Adding a remote aircraft failed
|
//! Adding a remote aircraft failed
|
||||||
void ps_addingRemoteAircraftFailed(const BlackMisc::Simulation::CSimulatedAircraft &aircraft, const BlackMisc::CStatusMessage &message);
|
void ps_addingRemoteAircraftFailed(const BlackMisc::Simulation::CSimulatedAircraft &aircraft, const BlackMisc::CStatusMessage &message);
|
||||||
|
|
||||||
|
//! Updated by timer
|
||||||
|
void ps_backgroundUpdate();
|
||||||
|
|
||||||
|
//! Settings have been changed
|
||||||
|
void ps_settingsChanged();
|
||||||
|
|
||||||
|
//! Connection status has been changed
|
||||||
|
void ps_connectionStatusChanged(BlackCore::INetwork::ConnectionStatus from, BlackCore::INetwork::ConnectionStatus to);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//! Identifier for data send from this component
|
//! Identifier for data send from this component
|
||||||
BlackMisc::CIdentifier mappingIdentifier();
|
BlackMisc::CIdentifier mappingIdentifier();
|
||||||
@@ -139,18 +148,8 @@ namespace BlackGui
|
|||||||
BlackMisc::CSettingReadOnly<BlackGui::Settings::TViewUpdateSettings> m_settings { this, &CMappingComponent::ps_settingsChanged }; //!< settings changed
|
BlackMisc::CSettingReadOnly<BlackGui::Settings::TViewUpdateSettings> m_settings { this, &CMappingComponent::ps_settingsChanged }; //!< settings changed
|
||||||
bool m_missedRenderedAircraftUpdate = true; //! Rendered aircraft need update
|
bool m_missedRenderedAircraftUpdate = true; //! Rendered aircraft need update
|
||||||
QTimer m_updateTimer { this };
|
QTimer m_updateTimer { this };
|
||||||
BlackGui::Views::CCheckBoxDelegate *m_currentMappingsViewDelegate = nullptr;
|
BlackGui::Views::CCheckBoxDelegate *m_currentMappingsViewDelegate = nullptr; //! checkbox in view
|
||||||
BlackMisc::CIdentifier m_identifier;
|
BlackMisc::CIdentifier m_identifier;
|
||||||
|
|
||||||
private slots:
|
|
||||||
//! Updated by timer
|
|
||||||
void ps_backgroundUpdate();
|
|
||||||
|
|
||||||
//! Settings have been changed
|
|
||||||
void ps_settingsChanged();
|
|
||||||
|
|
||||||
//! Connection status has been changed
|
|
||||||
void ps_connectionStatusChanged(BlackCore::INetwork::ConnectionStatus from, BlackCore::INetwork::ConnectionStatus to);
|
|
||||||
};
|
};
|
||||||
} // namespace
|
} // namespace
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ namespace BlackGui
|
|||||||
{
|
{
|
||||||
namespace Views
|
namespace Views
|
||||||
{
|
{
|
||||||
|
|
||||||
//! CheckBox for single column
|
//! CheckBox for single column
|
||||||
class BLACKGUI_EXPORT CCheckBoxDelegate : public QItemDelegate
|
class BLACKGUI_EXPORT CCheckBoxDelegate : public QItemDelegate
|
||||||
{
|
{
|
||||||
@@ -60,7 +59,6 @@ namespace BlackGui
|
|||||||
QString m_iconCheckedUrl;
|
QString m_iconCheckedUrl;
|
||||||
QString m_iconUncheckedUrl;
|
QString m_iconUncheckedUrl;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user