mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #873, changed signal for selector in internal component
This commit is contained in:
committed by
Mathew Sutcliffe
parent
2a0d0e1d84
commit
7e70662a29
@@ -47,6 +47,10 @@ namespace BlackGui
|
||||
//! Indicate if aircraft parts enabled aircraft
|
||||
void indicatePartsEnabled(bool indicate);
|
||||
|
||||
signals:
|
||||
//! Callsign changed
|
||||
void changedCallsign();
|
||||
|
||||
protected:
|
||||
//! \copydoc QWidget::showEvent
|
||||
virtual void showEvent(QShowEvent *event) override;
|
||||
@@ -58,15 +62,19 @@ namespace BlackGui
|
||||
//! IContextNetwork::removedAircraft
|
||||
void ps_onRemovedAircraft(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
//! Combo box has been changed
|
||||
void ps_comboBoxChanged(const QString &text);
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CRemoteAircraftSelector> ui;
|
||||
BlackMisc::Simulation::CSimulatedAircraftList m_aircraft;
|
||||
|
||||
QString m_currentText;
|
||||
bool m_showPartsEnabled = false;
|
||||
BlackMisc::Simulation::CSimulatedAircraftList m_aircraft;
|
||||
|
||||
//! Set combobox items
|
||||
void fillComboBox();
|
||||
};
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user