I'm trying to get the color value for the table grid by making the following call:
QtGui.QApplication.style().styleHint(QtGui.QStyle.SH_Table_GridLineColor, option, self) but this returns -3684409, which is not a valid qRgb (throws an error when constructing a QColor from it). Looking at the internals of styleHint, the number that it's returning is actually option.palette.color(QPalette.Mid).rgb(). If I call that method directly, I get 4291282887. So at what point is this value becoming negative?
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt