Key Event handling decoupled from qml