Rewriting the pySnipps prototype to C++ and Qt4