View Single Post
Old 07-10-2014, 10:57 PM   #58
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by kovidgoyal View Post
You should be able to return None instead of NONE in both PyQt4 and PyQt5
Yep, that works, thanks.

Unrelated issue:

Anybody know the correct replacement for self.setTextColor(Qt.darkGray) on a QTableWidgetItem descendent?

I've tryed setting the color on the current QBrush with self.foreground().setColor(Qt.darkGray), but it's not working.
JimmXinu is offline   Reply With Quote