Hello all

Has anyone tried setting param widget colours before? I'm writing some param validators and would like to change a line edit widget's (string, float, int) background colour to red if a user input is invalid.

In QT it'd be simply something like this:

w = QWidget()
p = w.palette()
p.setColor(w.backgroundRole(), Qt.red)
w.setPalette(p)

Cheers
R