Important: Please read the Qt Code of Conduct -

QSqlRelationalTableModel and autocomplete field (PyQt4)

  • I have created a single-field tableview using QSqlRelationalTableModel. The only field in this tableview is taken from a table (mysql) with a long list of names. What is the right way to create an autocomplete when I write a name in the field which is logically connected with a query "like".


  • Did you solve your problem?

Log in to reply