View Single Post
Old 01-04-2022, 10:43 AM   #47
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by kovidgoyal View Post
No idea, I've never used user types with QtableWidgetItems. IIRC its needed to disable some builtin functionality, so that the custom types are treated specially by Qt.
Well, if you've never needed them I'm not sure why I'd need them either.

Unless someone comes up with a good reason not to I think, from now on, I'll just go with the simple option, i.e
Code:
QTableWidgetItem.__init__(self, text)
jackie_w is offline   Reply With Quote