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;
67 TabRenderedAircraft = 0,
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;
COverlayMessagesFrame(QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
Constructor.
void setTab(TabWidget tab)
Set tab.
CMappingComponent(QWidget *parent=nullptr)
Constructor.
int countAircraftModels() const
Numer of models.
int countCurrentMappings() const
Number of current mappings.
void requestValidationDialog()
Request the validation dialog.
~CMappingComponent()
Destructor.
swift::misc::simulation::CAircraftModelList findModelsStartingWith(const QString &modelName, Qt::CaseSensitivity cs)
Find models starting with.
CheckBox for single column.
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.
High level reusable GUI components.
Models to be used with views, mainly QTableView.
Views, mainly QTableView.
Free functions in swift::misc.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.