QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
FirstRunPrompt.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick.Controls
3import QtQuick.Dialogs
4
5import QGroundControl
6import QGroundControl.Controls
7
8// Base class for all first run prompt dialogs
9QGCPopupDialog {
10 buttons: Dialog.Ok
11
12 property int promptId
13 property bool markAsShownOnClose: true
14
15 onClosed: {
16 if (markAsShownOnClose) {
17 QGroundControl.settingsManager.appSettings.firstRunPromptIdsMarkIdAsShown(promptId)
18 }
19 }
20}