an advanced calculator written in c++ and QT