20 #ifndef IMPORTSATELLITESWINDOW_HPP
21 #define IMPORTSATELLITESWINDOW_HPP
23 #include "StelDialog.hpp"
24 #include "Satellites.hpp"
26 class Ui_satellitesImportDialog;
27 class QSortFilterProxyModel;
28 class QStandardItemModel;
43 void satellitesAccepted(
const TleDataList& newSatellites);
47 void setVisible(
bool visible =
true);
51 void receiveDownload(QNetworkReply* networkReply);
52 void abortDownloads();
53 void acceptNewSatellites();
54 void discardNewSatellites();
59 void createDialogContent();
60 Ui_satellitesImportDialog* ui;
64 void displayMessage(
const QString& message);
69 void setCheckState(Qt::CheckState state);
71 TleDataHash newSatellites;
73 int numberDownloadsComplete;
74 QNetworkAccessManager* downloadMgr;
75 QList<QNetworkReply*> activeDownloads;
76 QStringList sourceUrls;
77 QList<QFile*> sourceFiles;
80 QStandardItemModel* newSatellitesModel;
81 QSortFilterProxyModel * filterProxyModel;
84 #endif // IMPORTSATELLITESWINDOW_HPP
A local copy of StelDialog, the base class for all the GUI windows in Stellarium, included to allow t...