RPN calculator in Python/QT