Hello,
i use a QSqlTableModel and a QTableView to show the data of the model.
I inherit the QSqlTableModel and return also the Qt::ItemIsUserCheckable flag in the flags() function. But i didn't get a checkbox displayed. What I'm doing wrong?
I need something like the following:
Qt Code:
[X] Product 1 [ ] Product 2 [X] Product 3To copy to clipboard, switch view to plain text mode
Did I need a reimplementation of a delegate or should it also work as it is?
Thanks in advance
Best Regards
NoRulez
Bookmarks