Hello,
If using a model/view based on QSqlRelationalTableModel/QTableView, can i use this delegate to handle one column of the view that holds the appropriate data(int in the range of 1 to 5)?
Showld't it be as simple as...
Qt Code:
... view->setItemDelegateForColumn(3, new StarDelegate); ...To copy to clipboard, switch view to plain text mode
Thanks
Bookmarks