Originally Posted by Zlatomir You just need to validate, or do you need the numbers for further calculations? If you want just validation you can use QRegExp And if you want integers you can use the split member function, witch returns a QStringList, and then iterate the list and use toInt I'll need the numbers for further calculation, the validation will be made under those calculations. Thank you very much i'll try it. Edit: I tried to do what you said but i couldn't can you please help me! I need each number to an calculation! Thanks again!
Last edited by itallor; 1st December 2010 at 23:34.
Forum Rules
Bookmarks