6 #ifndef SWIFT_GUI_COMPONENTS_OWNAIRCRAFTCOMPONENT_H
7 #define SWIFT_GUI_COMPONENTS_OWNAIRCRAFTCOMPONENT_H
10 #include <QScopedPointer>
21 class COwnAircraftComponent;
79 void onModelStringSendChanged();
82 void onSimulatorStatusChanged(
int status);
98 bool hasValidContexts()
const;
109 QScopedPointer<Ui::COwnAircraftComponent> ui;
swift::misc::CStatusMessageList validate() const
Validate aircaft.
void aircraftDataChanged()
Changed values.
void setUser(const swift::misc::network::CUser &user)
Set a user.
bool updateOwnAircaftIcaoValuesFromGuiValues()
Update own ICAO values (own aircraft from what is set in the GUI)
virtual ~COwnAircraftComponent()
Destructor.
void setOwnModelAndIcaoValues(const swift::misc::simulation::CAircraftModel &ownModel={})
Own model and ICAO data for GUI and own aircraft.
swift::misc::aviation::CCallsign getCallsignFromGui() const
Values from GUI.
CGuiAircraftValues getAircraftValuesFromGui() const
Values from GUI.
COwnAircraftComponent(QWidget *parent=nullptr)
Constructor.
Status messages, e.g. from Core -> GUI.
Value object for ICAO classification.
Value object for ICAO classification.
Value object encapsulating information of a callsign.
Value object encapsulating information of a user.
Aircraft model (used by another pilot, my models on disk)
High level reusable GUI components.
GUI aircraft values, formatted.
swift::misc::aviation::CAirlineIcaoCode ownAirlineIcao
ICAO airline.
QString ownAircraftCombinedType
own aircraft combined type
QString ownAircraftSimulatorModelString
own aircraft model string
QString ownLiverySend
send livery
QString ownAircraftModelStringSend
send model string
swift::misc::aviation::CCallsign ownCallsign
own aircraft callsign
swift::misc::aviation::CAircraftIcaoCode ownAircraftIcao
ICAO aircraft.
bool useModelString
use model string