SetupPane.qml 1 KB
Newer Older
Don Gagne's avatar
Don Gagne committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
import QtQuick 2.2
import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.2
//import QGroundControl.FactControls 1.0

Item {
    id: item1
    width: 500
    height: 500

    Rectangle {
        id: innerRect
        color: "#d298d2"
        z: 1
        anchors.rightMargin: 15
        anchors.leftMargin: 15
        anchors.bottomMargin: 15
        anchors.topMargin: 40
        anchors.fill: parent

        Rectangle {
            id: close
            x: parent.width - (width / 2)
            y: 0 - (height / 2)
            width: 30
            height: 30
            color: "#ffffff"
            radius: 15
            z: 2
            border.color: "#000000"
        }

    }

    Rectangle {
        id: outerRect
        color: "#ffffff"
        opacity: 0.8
        anchors.fill: parent

        Text {
            id: title
            x: 237
            y: 8
            text: qsTr("Setup Pane")
            anchors.horizontalCenter: parent.horizontalCenter
            font.pointSize: 20
        }
    }

}