Started migration from Qt Quick to Qt Widget

Now the application does not use Qt Quick, but is pretty broken. I am
too tired to fix it today.