6 #ifndef SWIFT_GUI_COMPONENTS_DBAUTOSTASHINGCOMPONENT_H
7 #define SWIFT_GUI_COMPONENTS_DBAUTOSTASHINGCOMPONENT_H
11 #include <QScopedPointer>
13 #include "core/progress.h"
22 class CLogCategoryList;
30 class CDbAutoStashingComponent;
36 class CAircraftModelView;
61 static const QStringList &getLogCategories();
73 virtual void updateProgressIndicator(
int percent)
override;
77 virtual void accept()
override;
80 virtual int exec()
override;
83 void showLastResults();
86 QScopedPointer<Ui::CDbAutoStashingComponent> ui;
89 void resetDescription();
95 int getSelectedOrAllCount()
const;
108 void tryToStashModels();
124 int m_noValidationFailed = 0;
125 State m_state = Idle;
Implementing class features a progress bar or something similar.
State
Current state of this component.
bool isCompleted() const
At least run once and completed.
Allows subcomponents to gain access to model component.
Streamable status message, e.g.
Value object encapsulating information about an airpot.
Aircraft model (used by another pilot, my models on disk)
Value object encapsulating a list of aircraft models.
Free functions in swift::misc.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.