How to get completions throught an QSqlQueryTableModel or QSqlTableModel
-
i am facing a strong problem i have a sql table which has the history of my web browser and a location bar that searches for url when the user types just like Firefox i have created the table with with QSqlQueryTableModel or QSqlTableModel as QAbstractionModel
but i always completes the primary key id i even trying selecting the column which i want but it too did not work using QSqlQueryTableModel
so give me some hint or the best solution