6 #ifndef SWIFT_GUI_COMPONENTS_MAPPINGCOMPONENT_H
7 #define SWIFT_GUI_COMPONENTS_MAPPINGCOMPONENT_H
11 #include <QScopedPointer>
26 #include "misc/tokenbucket.h"
33 class CMappingComponent;
43 class CSimulatedAircraft;
50 class CCheckBoxDelegate;
67 TabRenderedAircraft = 0,
85 int countCurrentMappings()
const;
88 int countAircraftModels()
const;
106 void onRowCountChanged(
int count,
bool withFilter);
114 void onAircraftSelectedInView(
const QModelIndex &index);
117 void onModelSelectedInView(
const QModelIndex &index);
120 void onSaveAircraft();
123 void onResetAircraft();
129 void onModelsUpdateRequested();
143 void onTabWidgetChanged(
int index);
149 bool isSimulatorAvailable()
const;
152 void showAircraftModelDetails(
bool show);
162 void tokenBucketUpdate();
168 void settingsChanged();
175 void updateRenderedAircraftView(
bool forceUpdate =
false);
187 void onSimulatorStatusChanged(
int status);
190 void doMatchingsAgain();
192 static constexpr std::chrono::milliseconds OverlayMessageMs { 5000 };
195 bool m_missedRenderedAircraftUpdate =
true;
198 this, &CMappingComponent::settingsChanged
200 views::CCheckBoxDelegate *m_currentMappingsViewDelegate =
nullptr;
Using this class provides a QFrame with the overlay functionality already integrated.
void requestValidationDialog()
Request the validation dialog.
~CMappingComponent()
Destructor.
Base class with a member CIdentifier to be inherited by a class which has an identity in the environm...
Value object encapsulating information identifying a component of a modular distributed swift process...
Class template for accessing a specific value in the CSettingsCache.
Streamable status message, e.g.
Wrapper around QVariant which provides transparent access to CValueObject methods of the contained ob...
Value object encapsulating information of a callsign.
Value object encapsulating information about a connection status.
Value object encapsulating a list of aircraft models.
Comprehensive information of an aircraft.
Simple hardcoded info about the corresponding simulator.
Describing a simulator plugin.
Free functions in swift::misc.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.