I am trying to set the background color for a double spin box, and I am not sure what function I should use. I saw some function called SetBackgroundRole which accepts a Qt::ColorRole, but I am not sure how to use this one as well.
Kindly let me know, what's the simple way to change the background color of a combobox or doublespinbox?