[Interest] Custom indicator on QTableWidgetItem

Murphy, Sean smurphy at walbro.com
Mon Nov 20 17:23:07 CET 2017


> You can use a QStyledItemDelegate, and override the paint method.  Call
> the base method to clear the cell and draw the text, then add your
> indicator based on the role.  Eg:

Thanks for the suggestion, I'll take a look at it! It seems like it should do the trick for me.

Sean



This message has been scanned for malware by Forcepoint. www.forcepoint.com



More information about the Interest mailing list