
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Dialogs 1.3
import QtAndroidTools 1.0

Page {
    id: page
    padding: 0

    Column {
        width: parent.wdith
        height: parent.height * 0.8
        anchors.centerIn: parent
        spacing: 20

        TextEdit {
            id: packageName
            anchors.horizontalCenter: parent.horizontalCenter
            text: "com.falsinsoft.recomposephotopuzzle"
        }
        Button {
            anchors.horizontalCenter: parent.horizontalCenter
            text: "openAppDetails"
            onClicked: QtAndroidPlayStore.openAppDetails(packageName.text)
        }

        TextEdit {
            id: developerName
            anchors.horizontalCenter: parent.horizontalCenter
            text: "FalsinSoft"
        }
        Button {
            anchors.horizontalCenter: parent.horizontalCenter
            text: "openDeveloperAppList"
            onClicked: QtAndroidPlayStore.openDeveloperAppList(developerName.text)
        }
    }
}
