I'm working on an OS electrical calculator (get voltages, current, resistor values, etc).

I want to display a resistor SVG drawing and have it change color when the user selects the desired colors from a combo box.

I would like to have some general advice on how to achieve this. I read the documentation on QSvg but it did not help that much. BTW, I'm very new to Qt or C++.

Thank you.