Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qml textfield qstr to python as integer
-
How can I export a value for a textfield to python as an integer an not as a string?
-
python can convert string values to integers if the string represents a valid integer...such as
s="123" iVal=int(s)
If the thing cannot be converted then it throws an exception.