Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
read character QLineEdit
s002wjh last edited by
whats the command/syntax to read string/character from QLineEdit?
for example i type 5,6 i need get 5, then comma , then 6 and use it as 2 different input for other code
JonB last edited by
adding to jonB
the text() returns a QString and you can access each char with the
Make sure you check string length before using this functions as
it will crash the app if you do not handle it with care.