6 #ifndef SWIFT_GUI_COMPONENTS_DBREDUCEMODELDUPLICATES_H
7 #define SWIFT_GUI_COMPONENTS_DBREDUCEMODELDUPLICATES_H
10 #include <QScopedPointer>
12 #include "core/progress.h"
19 class CDbReduceModelDuplicates;
53 void clearProgressBar();
56 void stop() { m_stop =
true; }
58 QScopedPointer<Ui::CDbReduceModelDuplicates> ui;
64 m_distributorPreferences {
this };
Implementing class features a progress bar or something similar.
virtual ~CDbReduceModelDuplicates()
Destructor.
void process()
Process models.
const swift::misc::simulation::CSimulatorInfo & getSimulator() const
Simulator.
CDbReduceModelDuplicates(QWidget *parent=nullptr)
Ctor.
virtual void updateProgressIndicator(int percentage)
Update the progress indicator 0..100.
const swift::misc::simulation::CAircraftModelList & getRemoveCandidates() const
The models to be removed.
void setModels(const swift::misc::simulation::CAircraftModelList &models, const swift::misc::simulation::CSimulatorInfo &simulator)
Set the models.
Value object encapsulating a list of aircraft models.
Simple hardcoded info about the corresponding simulator.
High level reusable GUI components.