Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Making a simple calculator
peacecats last edited by
I want the text edit box to work as a sort of "cin". For instance, let's refer to whatever was entered in the text edit box as x. I'd like to have the text label under it changed to "x-20" accordingly. Not literally "x-20" though, whatever the result of x-20 was. If any of you could refer me to some tutorials or tell me how to do it in the thread I'd greatly appreciate.
Hi, and welcome to the Qt Dev Net!
Are you making your calculator in C++ or QML? There are examples for both: