QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
FirstRunPrompt.qml
Go to the documentation of this file.
1
import QtQuick
2
import QtQuick.Controls
3
import QtQuick.Dialogs
4
5
import QGroundControl
6
import QGroundControl.Controls
7
8
// Base class for all first run prompt dialogs
9
QGCPopupDialog {
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
}
src
QmlControls
FirstRunPrompt.qml
Generated by
1.9.8