Change DeclarativeView resize mode
Added text edit to qml window