[SOLVED] QWizard: field("xxx").toString strips white spaces !!! QComboBox tab navigation !!!
General and Desktop
5
Posts
2
Posters
1.9k
Views
1
Watching
-
Hey people,
I'm facing a strange problem, I have a 3 pages wizard with QLineEdit(s) and QComboBox(es).
Everything works fine but 2 issues:
The QlineEdit(s) are "registerField("Boutique*", boutiqueEdit);", but when I use QString Boutique = field("Boutique").toString(), all the white spaces in the returned string disappear !
Could anyone tell me why this happens and how can I keep my white spaces ?Futhermore I would to navigate between the QComboBox(es) with the tab key and can't seem to find a way to that...
Thanx in advance for your help.
-
Hi,
Could you show an example of what you have in the QLineEdit and what the call to field returns ?
-
Great you found out and thanks for sharing.
Happy coding !