Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QLineEdit Array Question
w00t1234 last edited by
Hi Guys I Have A Question. How Do I Use QLineEdit Array
Ex: ui->QLineArray.name->text ?
to adapt to your situation
Hope it helps
w00t1234 last edited by w00t1234
Thanks For Your Reply But It's Not Working :(
My İf-Else Block
if(ui->MyQLineEdit.text() == 0)
How did you build your array ?
alex_malyu last edited by
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)