23#include <QQmlApplicationEngine>
25#include <QQuickWindow>
27#include "GlobalObject.h"
28#include "weather/Observer.h"
59 static DemoRunner* create(QQmlEngine* , QJSEngine* )
77 void generateGooglePlayScreenshots();
80 void generateIosScreenshots();
83 void generateMacosScreenshots();
86 void generateManualScreenshots();
146 QPointer<QQmlApplicationEngine> m_engine;
148 void generateScreenshotsForDevices(
const QStringList &,
bool);
150 static void saveScreenshot(
bool, QQuickWindow *,
const QString&);
void requestClosePages()
Emitted to indicate that the GUI return to the main page.
void requestOpenAircraftPage()
Emitted to indicate that the GUI should open the "Aircraft" page.
void requestOpenWeatherPage()
Emitted to indicate that the GUI should open the "Weather" page.
void requestOpenNearbyPage()
Emitted to indicate that the GUI should open the "Nearby" page.
void requestMapBearing(double bearing)
Emitted to set bearing of the moving map.
DemoRunner(QObject *parent=nullptr)
Creates a new DemoRunner.
void requestMapBearingPolicy(int bearing)
Emitted to indicate that the GUI should set a map bearing.
void requestFollowGPS(bool val)
Emitted to set followGPS mode in the moving map.
void requestOpenRoutePage()
Emitted to indicate that the GUI should open the "Route & Wind" page.
void requestZoomLevel(double newZoom)
Emitted to set a zoom level in the moving map.
void setEngine(QQmlApplicationEngine *engine)
Set pointer to QQmlApplicationEngine.
void requestCloseWaypointDescription()
Emitted to indicate that the GUI close open the "Waypoint Description" dialog.
void requestOpenWeatherDialog(Weather::Observer *obs)
Emitted to indicate that the GUI should open the "Weather" page.
void requestOpenWaypointDescription(GeoMaps::Waypoint waypoint)
Emitted to indicate that the GUI should open the "Waypoint Description" dialog.
void requestOpenFlightRouteAddWPDialog()
Emitted to indicate that the GUI should open the "Add Waypoint" dialog.
void requestVAC(QString vacName)
Emitted to indicate that the GUI should set a VAC.
void requestShowSideView(bool show)
Emitted to indicate that the GUI should show the aircraft side view.
Waypoint, such as an airfield, a navaid station or a reporting point.
static Q_INVOKABLE DemoRunner * demoRunner()
Pointer to appplication-wide static DemoRunner instance.
Holds and updates METAR and TAF for a given waypoint.