Qt based C++ macro making program