5#include <QtCore/QString>
11 if (
auto *
const app =
qgcApp()) {
12 app->showAppMessage(message, title);
18 if (
auto *
const app =
qgcApp()) {
19 app->showCriticalVehicleMessage(message);
25 if (
auto *
const app =
qgcApp()) {
26 app->showRebootAppMessage(message, title);
32 auto *
const app =
qgcApp();
33 return app && app->runningUnitTests();
void showRebootAppMessage(const QString &message, const QString &title)
Modal reboot-required message. Debounced within 2 minutes.
void showCriticalVehicleMessage(const QString &message)
void showAppMessage(const QString &message, const QString &title)
Modal application message. Queued if the UI isn't ready yet.