swift
Classes | Signals | Public Member Functions | List of all members
swift::gui::components::COwnAircraftComponent Class Reference

Own aircraft. More...

Inheritance diagram for swift::gui::components::COwnAircraftComponent:
[legend]

Classes

struct  CGuiAircraftValues
 GUI aircraft values, formatted. More...
 

Signals

void aircraftDataChanged ()
 Changed values.
 

Public Member Functions

 COwnAircraftComponent (QWidget *parent=nullptr)
 Constructor.
 
virtual ~COwnAircraftComponent ()
 Destructor.
 
swift::misc::CStatusMessageList validate () const
 Validate aircaft.
 
void setUser (const swift::misc::network::CUser &user)
 Set a user.
 
swift::misc::aviation::CCallsign getCallsignFromGui () const
 Values from GUI.
 
void setOwnModelAndIcaoValues (const swift::misc::simulation::CAircraftModel &ownModel={})
 Own model and ICAO data for GUI and own aircraft.
 
bool updateOwnAircaftIcaoValuesFromGuiValues ()
 Update own ICAO values (own aircraft from what is set in the GUI) More...
 
CGuiAircraftValues getAircraftValuesFromGui () const
 Values from GUI.
 

Detailed Description

Own aircraft.

Definition at line 26 of file ownaircraftcomponent.h.

Member Function Documentation

◆ updateOwnAircaftIcaoValuesFromGuiValues()

bool swift::gui::components::COwnAircraftComponent::updateOwnAircaftIcaoValuesFromGuiValues ( )

Update own ICAO values (own aircraft from what is set in the GUI)

Returns
changed?

Definition at line 331 of file ownaircraftcomponent.cpp.


The documentation for this class was generated from the following files: