#include <QTimer>
#include <QUrl>
-
-#include <Airports/airport.hxx>
#include <simgear/package/Package.hxx>
#include <simgear/package/Catalog.hxx>
class Launcher;
}
-class AirportSearchModel;
class QModelIndex;
class AircraftProxyModel;
class AircraftItemModel;
void onQuit();
- void onSearchAirports();
-
- void onAirportChanged();
- void onAirportChoiceSelected(const QModelIndex& index);
void onAircraftSelected(const QModelIndex& index);
void onRequestPackageInstall(const QModelIndex& index);
void onCancelDownload(const QModelIndex& index);
- void onPopupAirportHistory();
void onPopupAircraftHistory();
void onEditRatingsFilter();
- void updateAirportDescription();
void updateSettingsSummary();
- void onAirportSearchComplete();
void onRembrandtToggled(bool b);
void onToggleTerrasync(bool enabled);
void onEditPaths();
- void onAirportDiagramClicked(FGRunwayRef rwy);
- void onOffsetBearingTrueChanged(bool on);
-
- void onOffsetDataChanged();
- void onOffsetRadioToggled(bool on);
void onAircraftInstalledCompleted(QModelIndex index);
void onAircraftInstallFailed(QModelIndex index, QString errorMessage);
private:
- void setAirport(FGAirportRef ref);
/**
* Check if the passed index is the selected aircraft, and if so, refresh
simgear::pkg::PackageRef packageForAircraftURI(QUrl uri) const;
QScopedPointer<Ui::Launcher> m_ui;
- AirportSearchModel* m_airportsModel;
AircraftProxyModel* m_aircraftProxy;
AircraftItemModel* m_aircraftModel;
- FGAirportRef m_selectedAirport;
QUrl m_selectedAircraft;
QList<QUrl> m_recentAircraft;
- QStringList m_recentAirports;
QTimer* m_subsystemIdleTimer;
bool m_inAppMode;