Added tooltips to qml viewer

This is my first contribution, so it may not be perfect. I couldn't get the software to build but I think that was due to modifications introduced in subsequent updates. It adds tooltips and limits the tab text to the filename instead of the whole path. The tooltip does show the whole path.