Quadratic equation and exponentiation, QT GUI