ValuePageWidget.qml 1.24 KB
Newer Older
1 2
/****************************************************************************
 *
Gus Grubba's avatar
Gus Grubba committed
3
 * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
4 5 6 7 8
 *
 * QGroundControl is licensed according to the terms in the file
 * COPYING.md in the root of the source code directory.
 *
 ****************************************************************************/
9

DonLakeFlyer's avatar
DonLakeFlyer committed
10
import QtQuick          2.12
11
import QtQuick.Dialogs  1.3
12
import QtQuick.Layouts  1.2
13 14
import QtQuick.Controls 2.5
import QtQml            2.12
15 16 17 18

import QGroundControl.Controls      1.0
import QGroundControl.ScreenTools   1.0
import QGroundControl.FactSystem    1.0
19
import QGroundControl.FactControls  1.0
20 21
import QGroundControl.Controllers   1.0
import QGroundControl.Palette       1.0
22
import QGroundControl.FlightMap     1.0
23 24
import QGroundControl               1.0

25
/// Value page for InstrumentPanel PageView
26
VerticalFactValueGrid {
27 28 29 30
    id:                     _root
    width:                  pageWidth
    userSettingsGroup:      valuePageUserSettingsGroup
    defaultSettingsGroup:   valuePageDefaultSettingsGroup
31

32
    property bool showSettingsIcon: true
33 34 35
    property bool showLockIcon:     true

    function showSettings(settingsUnlocked) {
36
        _root.settingsUnlocked = settingsUnlocked
37
    }
38
}