swift
|
Selector for liveries. More...
Signals | |
void | changedLivery (const swift::misc::aviation::CLivery &livery) |
Distributor was changed. | |
Public Member Functions | |
CDbLiverySelectorComponent (QWidget *parent=nullptr) | |
Constructor. | |
virtual | ~CDbLiverySelectorComponent () |
Destructor. | |
void | setLivery (const swift::misc::aviation::CLivery &livery) |
Current livery. | |
void | setLivery (const QString &code) |
Current livery. | |
swift::misc::aviation::CLivery | getLivery () const |
Livery. | |
QString | getRawCombinedCode () const |
Livery combined code. | |
void | withLiveryDescription (bool description) |
Show description. | |
void | setReadOnly (bool readOnly) |
Read only. | |
bool | isSet () const |
Set with valid Livery. | |
void | clear () |
Clear selection. | |
![]() | |
virtual | ~CDropBase () |
Dtor. | |
void | setAcceptedMetaTypeIds (const QList< int > &ids) |
Accepted ids. | |
void | addAcceptedMetaTypeId (int id) |
Accepted ids. | |
virtual bool | isDropAllowed () const |
Drop allowed? | |
virtual bool | isJsonFileDropAllowed () const |
File drop allowed? | |
virtual void | allowDrop (bool allowed) |
Drop allowed. | |
virtual void | allowJsonFileDrop (bool allow) |
Allow JSON file drop. | |
bool | acceptDrop (const QMimeData *mime) const |
Accept drop? | |
swift::misc::CVariant | toCVariant (const QMimeData *mime) const |
Mime data to CVariant (normally encapsulating a value object) | |
Protected Member Functions | |
virtual void | dragEnterEvent (QDragEnterEvent *event) |
virtual void | dragMoveEvent (QDragMoveEvent *event) |
virtual void | dragLeaveEvent (QDragLeaveEvent *event) |
virtual void | dropEvent (QDropEvent *event) |
![]() | |
CDropBase () | |
Ctor. | |
Selector for liveries.
Definition at line 37 of file dbliveryselectorcomponent.h.
|
protectedvirtual |
Definition at line 143 of file dbliveryselectorcomponent.cpp.
|
protectedvirtual |
Definition at line 156 of file dbliveryselectorcomponent.cpp.
|
protectedvirtual |
Definition at line 150 of file dbliveryselectorcomponent.cpp.
|
protectedvirtual |
Definition at line 162 of file dbliveryselectorcomponent.cpp.