Text obtaining a QLineEdit
-
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!