import QtQuick 2.11

Item {
    property bool running: false
    Image {
        id:image
        anchors.fill: parent
        source: running === true ?"qrc:/img/stop1.png":"qrc:/img/start1.png"
        MouseArea{
            anchors.fill: parent
            onClicked: {
                if(running === false)
                    running = true
                else
                    running = false
            }
        }
    }

}
