swift
|
Completer for model strings. More...
Public Types | |
enum | CompleterSourceFlag { None = 0 , DB = 1 << 0 , ModelSet = 1 << 1 , OwnModels = 1 << 2 } |
Sources for string completion. More... | |
Signals | |
void | modelStringChanged () |
Model has been changed. | |
Public Member Functions | |
CAircraftModelStringCompleter (QWidget *parent=nullptr) | |
Constructor. | |
virtual | ~CAircraftModelStringCompleter () |
Destructor. | |
QString | getModelString () const |
The model string. | |
void | showSourceSelection (bool show) |
Show the selection buttons. | |
void | setText (const QString &completersString) |
Set text. | |
void | setModel (const swift::misc::simulation::CAircraftModel &model) |
Set model. | |
void | setSourceVisible (CompleterSource source, bool visible) |
Show/hide radio buttons. | |
void | selectSource (CompleterSourceFlag source) |
Set the currently selected source. | |
bool | setSimulator (const swift::misc::simulation::CSimulatorInfo &simulator) |
Change the simulator. | |
swift::misc::simulation::CSimulatorInfo | getSimulator () const |
Get current simulator. | |
void | clear () |
Clear. | |
Completer for model strings.
Definition at line 27 of file aircraftmodelstringcompleter.h.
Sources for string completion.
Enumerator | |
---|---|
None | normally used to indicate nothing was loaded |
Definition at line 33 of file aircraftmodelstringcompleter.h.