mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Formatting, comments
This commit is contained in:
@@ -383,8 +383,9 @@ namespace BlackGui
|
||||
CIdentifier CMappingComponent::mappingIdentifier()
|
||||
{
|
||||
if (m_identifier.getName().isEmpty())
|
||||
{
|
||||
m_identifier = CIdentifier(QStringLiteral("MAPPINGCOMPONENT"));
|
||||
|
||||
}
|
||||
return m_identifier;
|
||||
}
|
||||
|
||||
|
||||
@@ -123,16 +123,21 @@ namespace BlackGui
|
||||
void ps_onMenuHighlightInSimulator(const BlackMisc::Simulation::CSimulatedAircraft &aircraft);
|
||||
|
||||
private:
|
||||
//! Identifier for data send from this component
|
||||
BlackMisc::CIdentifier mappingIdentifier();
|
||||
|
||||
//! Update simulated aircraft view
|
||||
void updateSimulatedAircraftView(bool forceUpdate = false);
|
||||
|
||||
QScopedPointer<Ui::CMappingComponent> ui;
|
||||
QScopedPointer<CUpdateTimer> m_updateTimer;
|
||||
QCompleter *m_modelCompleter = nullptr;
|
||||
bool m_missedSimulatedAircraftUpdate = true;
|
||||
BlackGui::Views::CCheckBoxDelegate *m_currentMappingsViewDelegate = nullptr;
|
||||
BlackMisc::CIdentifier m_identifier;
|
||||
QScopedPointer<CUpdateTimer> m_updateTimer;
|
||||
QCompleter *m_modelCompleter = nullptr;
|
||||
bool m_missedSimulatedAircraftUpdate = true;
|
||||
BlackGui::Views::CCheckBoxDelegate *m_currentMappingsViewDelegate = nullptr;
|
||||
BlackMisc::CIdentifier m_identifier;
|
||||
|
||||
private slots:
|
||||
//! Updated by timer
|
||||
void ps_backgroundUpdate();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user