QLineEdit Array Question
-
Hi Guys I Have A Question. How Do I Use QLineEdit Array
Ex: ui->QLineArray.name->text[0] ? -
Hi,
Rather
myLineEditArray[0]->text();
to adapt to your situation
Hope it helps
-
Thanks For Your Reply But It's Not Working :(
My İf-Else Block
if(ui->MyQLineEdit[0].text() == 0)
.....
else
...... -
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)