import QtQuick 2.12
import BTPhone 1.0
import QtQuick.Controls 2.15

Item {
    id: root
    width: 800
    height: 320
    property alias rootState: root.state

    Rectangle {
        id: bg
        color: "#ffffff"
        anchors.fill: parent
    }

    Text {
        id: messageTitle
        text: qsTr("No Call History")
        anchors.top: parent.top
        font.pixelSize: 30
        font.bold: true
        anchors.topMargin: 50
        anchors.horizontalCenter: parent.horizontalCenter
    }

    Text {
        id: messageContent
        width: 650
        text: qsTr("To download the Call History from the mobile phone, press the [Download] button].")
        anchors.top: messageTitle.bottom
        font.pixelSize: 25
        horizontalAlignment: Text.AlignHCenter
        wrapMode: Text.WordWrap
        anchors.topMargin: 15
        anchors.horizontalCenter: parent.horizontalCenter
    }

    Text {
        id: deviceName
        text: qsTr("Device Name: Device Name")
        anchors.top: messageContent.bottom
        font.pixelSize: 25
        font.bold: true
        anchors.topMargin: 30
        anchors.horizontalCenter: parent.horizontalCenter
    }

    Button {
        id: downloadBtn
        width: 600
        text: qsTr("Download")
        anchors.top: deviceName.bottom
        font.pointSize: 25
        anchors.topMargin: 30
        anchors.horizontalCenter: parent.horizontalCenter
    }
}

/*##^##
Designer {
    D{i:1}
}
##^##*/

