Quote Originally Posted by wysota
Have you heard of "find & replace" paradigm? Make a wrapper of functionality you desire and then wrap all occurences of QLineEdit into it. And BTW. What would need to be "configured" that makes you think it is not worth the effort?
Even the other coding tools I've used also use search and replace!

But, Search in what and replace what?

Here is a small part of the function which updates part of a column of QLineEdit widgets in homestead.cpp:
Qt Code:
  1. ...
  2. ui.leSSSN->setText(persRec.value(9).toString());
  3. ui.lePart->setText(persRec.value(10).toString());
  4. ui.leTotalIncome->setText(QString::number(persRec.value(11).toDouble(),'f',2));
  5. ui.leP2Line1->setText(QString::number(persRec.value(12).toDouble(),'f',2));
  6. ui.leP2Line2->setText(QString::number(persRec.value(13).toDouble(),'f',2));
  7. ui.leP2Line3->setText(QString::number(persRec.value(14).toDouble(),'f',2));
  8. ui.leP2Line4->setText(QString::number(persRec.value(15).toDouble(),'f',2));
  9. ui.leP2Line5->setText(QString::number(persRec.value(16).toDouble(),'f',2));
  10. ui.leP2Line6->setText(QString::number(persRec.value(17).toDouble(),'f',2));
  11. ui.leP2Line7a->setText(QString::number(persRec.value(18).toDouble(),'f',2));
  12. ...
To copy to clipboard, switch view to plain text mode 
We're talking a tax form with several subforms so you have an idea of how many QLineEdit widgets there are on that form, each with it's own identifying name. Global S&R games aren't practical here.

Neither are arrays or array functions.