6 #ifndef SWIFT_GUI_DATAINFOAREACOMPONENT_H
7 #define SWIFT_GUI_DATAINFOAREACOMPONENT_H
10 #include <QScopedPointer>
22 class CDataInfoAreaComponent;
26 class CDbAircraftIcaoComponent;
27 class CDbAirlineIcaoComponent;
28 class CDbCountryComponent;
29 class CDbDistributorComponent;
30 class CDbLiveryComponent;
31 class CDbModelComponent;
32 class CDbAircraftCategoryComponent;
48 InfoAreaDistributors = 2,
49 InfoAreaAircraftIcao = 3,
50 InfoAreaAirlineIcao = 4,
51 InfoAreaCountries = 5,
52 InfoAreaAircraftCategories = 6,
85 bool writeDbDataToResourceDir()
const;
88 bool readDbDataFromResourceDir();
91 void requestUpdateOfAllDbData();
94 void requestUpdatedData(swift::misc::network::CEntityFlags::Entity entity);
98 virtual QSize getPreferredSizeWhenFloating(
int areaIndex)
const override;
101 virtual const QPixmap &indexToPixmap(
int areaIndex)
const override;
104 QScopedPointer<Ui::CDataInfoAreaComponent> ui;
Info area, hosting dockable widgets.
Info area containing the DB data (models, liveries ...)
High level reusable GUI components.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.