I am new to Qt Programming, just started about a month ago. I have tried to get some data and I am unable to comprehend the subject.
I am currently using a MySQL database to store my data. I am using a QSqlTableModel to get data from this model to display this in a QTableView.
However, I need to implement the following functionalities.
Provide a checkbox on each row in column 0 (Depending on whether the checkbox is selected, I will populate a couple of lineedits for editing. On submit, I will update the database, which inturn will update the model then the view.
I also need to implement a filter scheme, wherein on typing a string, the data in the view should update automatically. I will use a qlineedit that emits on textedited signal to accomplish this.
Please let me know if I need to use a delegate or can I use a QSortFilterProxyModel to accomplish this task.
Thanks for your help. Also I apologize for the inconvenience.