Hi, I played a bit with the preview in the Qt Designer, but I was not able to change the background of the QLineEdit with any of the roles. So I agree with stryga42, a stylesheet is probably the only way.

Ginsengelf