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
p3c0 Moderators last edited by
This post is deleted!