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:
  1. ...
  2. view->setItemDelegateForColumn(3, new StarDelegate);
  3. ...
To copy to clipboard, switch view to plain text mode 

Thanks