QLineEdit Array Question
General and Desktop
5
Posts
3
Posters
2.0k
Views
2
Watching
-
Hi,
Rather
myLineEditArray[0]->text();
to adapt to your situation
Hope it helps
-
How did you build your array ?
-
Show declaration.
Since it was generated from ui, this is probably not an array, but pointer to QLineEdit instance.
If you gave your QLineEdit name 'name',Your would be checking number of symbols :
ui->name().text().count() or ui.name().text().count() depending on the way you store ui (instance or pointer)