hi,
i am stuck with the style hint :
SH_ItemView_PaintAlternatingRowColorsForEmptyArea
i want all the alternate rows to be filled with the default colors.
but i am unable to use the style hint enum.
guys plz help me out with a small code for this . 

my code: 

self.styleThis=QtGui.QStyle().styleHint(QtGui.QStyle.SH_ItemView_PaintAlternatingRowColorsForEmptyArea)
self.list_onlineUsers.setStyle(self.styleThis)  #list_onlineUsers is
QListwidget
-- 
View this message in context: 
http://old.nabble.com/how-to-use-the-style-hint-enum-tp27142129p27142129.html
Sent from the PyQt mailing list archive at Nabble.com.

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to