swift
|
Combined form of Livery, ICAOs, distributor. More...
Public Member Functions | |
CAircraftModelForm (QWidget *parent=nullptr) | |
Constructor. | |
virtual | ~CAircraftModelForm () |
Destructor. | |
void | allowDrop (bool allowDrop) |
Allow to drop data. | |
virtual void | setReadOnly (bool readOnly) |
Set editable. More... | |
virtual void | setSelectOnly () |
Read only, but entity can be selected (normally used in mapping). Use setReadOnly to reset this very state. More... | |
virtual swift::misc::CStatusMessageList | validate (bool withNestedForms=true) const |
Validate, empty list means OK. More... | |
virtual swift::misc::CStatusMessageList | validateLivery (bool withNestedForms=true) const |
Validate, empty list means OK. More... | |
virtual swift::misc::CStatusMessageList | validateAircraftIcao (bool withNestedForms=true) const |
Validate, empty list means OK. More... | |
virtual swift::misc::CStatusMessageList | validateDistributor (bool withNestedForms=true) const |
Validate, empty list means OK. More... | |
swift::misc::aviation::CLivery | getLivery () const |
Livery. | |
swift::misc::aviation::CAircraftIcaoCode | getAircraftIcao () const |
Aircraft ICAO. | |
swift::misc::simulation::CDistributor | getDistributor () const |
Distributor. | |
bool | setLivery (const swift::misc::aviation::CLivery &livery) |
Livery. | |
bool | setAircraftIcao (const swift::misc::aviation::CAircraftIcaoCode &icao) |
Aircraft. | |
bool | setDistributor (const swift::misc::simulation::CDistributor &distributor) |
Distributor. | |
void | clear () |
Clear entire form. | |
void | clearLivery () |
Clear data. More... | |
void | clearAircraftIcao () |
Clear. More... | |
void | clearDistributor () |
Clear. More... | |
![]() | |
CForm (QWidget *parent=nullptr) | |
Constructor. | |
virtual | ~CForm () |
Destructor. | |
swift::misc::CStatusMessageList | validateAsOverlayMessage (bool withNestedObjects=true, bool appendOldMessages=false, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
Validate as overlay message. More... | |
bool | isReadOnly () const |
Is read only? | |
Additional Inherited Members | |
![]() | |
virtual void | jsonPasted (const QString &json) |
JSON string has been pasted. More... | |
void | pasted () |
Pasted from clipboard. | |
void | forceStyleSheetUpdate () |
Forces a stylesheet update. More... | |
![]() | |
bool | m_readOnly = false |
read only | |
Combined form of Livery, ICAOs, distributor.
Definition at line 23 of file aircraftmodelform.h.
void swift::gui::editors::CAircraftModelForm::clearAircraftIcao | ( | ) |
Clear.
Definition at line 99 of file aircraftmodelform.cpp.
void swift::gui::editors::CAircraftModelForm::clearDistributor | ( | ) |
Clear.
Definition at line 101 of file aircraftmodelform.cpp.
void swift::gui::editors::CAircraftModelForm::clearLivery | ( | ) |
Clear data.
Definition at line 97 of file aircraftmodelform.cpp.
|
virtual |
Set editable.
Implements swift::gui::editors::CForm.
Definition at line 20 of file aircraftmodelform.cpp.
|
virtual |
Read only, but entity can be selected (normally used in mapping). Use setReadOnly to reset this very state.
Reimplemented from swift::gui::editors::CForm.
Definition at line 28 of file aircraftmodelform.cpp.
|
virtual |
Validate, empty list means OK.
Reimplemented from swift::gui::editors::CForm.
Definition at line 35 of file aircraftmodelform.cpp.
|
virtual |
Validate, empty list means OK.
Definition at line 49 of file aircraftmodelform.cpp.
|
virtual |
Validate, empty list means OK.
Definition at line 54 of file aircraftmodelform.cpp.
|
virtual |
Validate, empty list means OK.
Definition at line 44 of file aircraftmodelform.cpp.