6 #ifndef SWIFT_GUI_COMPLETER_AIRCRAFTMODELSTRINGCOMPLETER_H
7 #define SWIFT_GUI_COMPLETER_AIRCRAFTMODELSTRINGCOMPLETER_H
12 #include <QScopedPointer>
20 class CAircraftModelStringCompleter;
40 Q_DECLARE_FLAGS(CompleterSource, CompleterSourceFlag)
49 QString getModelString()
const;
52 void showSourceSelection(
bool show);
55 void setText(
const QString &completersString);
61 void setSourceVisible(CompleterSource source,
bool visible);
64 void selectSource(CompleterSourceFlag source);
81 void setCompleter(
bool simChanged);
90 void onSimulatorConnected(
int status);
93 void onSwiftModelDataRead();
96 QScopedPointer<Ui::CAircraftModelStringCompleter> ui;
100 CompleterSourceFlag m_currentDataSource = None;
Completer for model strings.
CompleterSourceFlag
Sources for string completion.
void modelStringChanged()
Model has been changed.
Aircraft model (used by another pilot, my models on disk)
Simple hardcoded info about the corresponding simulator.
Bundle of caches for all simulators.
High level reusable GUI components.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.