6 #ifndef SWIFT_GUI_COMPONENTS_DBLOADDATADIALOG_H
7 #define SWIFT_GUI_COMPONENTS_DBLOADDATADIALOG_H
9 #include <QAbstractButton>
11 #include <QScopedPointer>
12 #include <QStringListModel>
21 class CDbLoadDataDialog;
40 bool newerOrEmptyEntitiesDetected(swift::misc::network::CEntityFlags::Entity loadEntities);
44 QStringListModel *entitiesModel()
const;
47 QStringList selectedEntities()
const;
50 void onButtonClicked(QAbstractButton *button);
53 void onDataRead(swift::misc::network::CEntityFlags::Entity entity,
57 void onEntityDownloadProgress(swift::misc::network::CEntityFlags::Entity entity,
int logId,
int progress,
58 qint64 current, qint64 max,
const QUrl &url);
66 QScopedPointer<Ui::CDbLoadDataDialog> ui;
70 int m_pendingEntitiesCount = -1;
71 bool m_consolidating =
false;
72 bool m_autoConsolidate =
false;
Load data from DB as dialog.
ReadState
State of operation.
Bundle of caches for all simulators.
Bundle of caches for model sets of all simulators.
High level reusable GUI components.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.