Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Text obtaining a QLineEdit
LuisEnrique last edited by LuisEnrique
How are you.
I'm doing a task in Qt, but not much about this program.
I have a graphical interface where I have a QLineEdit, which need to catch an INT of the entire QLineEdit but QLineEdit receive a text String, then I need to parse Retrieve and save it to a variable.
Exactly this, just as in C ++ language QT.
int number = Integer.parseInt (txtfield1.getText ());
Thank you for your help
This post is deleted!