FactSystemTest.qml 388 Bytes
Newer Older
Don Gagne's avatar
Don Gagne committed
1 2 3 4 5 6 7
import QtQuick 2.2
import QtQuick.Controls 1.2
import QGroundControl.FactSystem 1.0

Item {
    TextInput {
        objectName: "testControl"
8
        text: autopilot.parameters["RC_MAP_THROTTLE"].value
Don Gagne's avatar
Don Gagne committed
9 10 11 12
        font.family: "Helvetica"
        font.pointSize: 24
        color: "red"
        focus: true
13
        onAccepted: { autopilot.parameters["RC_MAP_THROTTLE"].value = text; }
Don Gagne's avatar
Don Gagne committed
14 15
    }
}