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 generateManualScreenshots();
128 QPointer<QQmlApplicationEngine> m_engine;
130 void generateScreenshotsForDevices(
const QStringList &,
bool);
132 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.
DemoRunner(QObject *parent=nullptr)
Creates a new DemoRunner.
void requestOpenRoutePage()
Emitted to indicate that the GUI should open the "Route & Wind" page.
void requestMapBearing(int bearing)
Emitted to indicate that the GUI should set a map bearing.
void setEngine(QQmlApplicationEngine *engine)
Set pointer to QQmlApplicationEngine.
void requestOpenWeatherDialog(Weather::Observer *obs)
Emitted to indicate that the GUI should open the "Weather" page.
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.
static Q_INVOKABLE DemoRunner * demoRunner()
Pointer to appplication-wide static DemoRunner instance.
Holds and updates METAR and TAF for a given waypoint.