Change color of svg image in button
-
Hello everyone,
I am having trouble getting a definitive answer on this from the documentation. It appears that in qt4, you could use css to override the brush used to color a svg image (http://qt-project.org/forums/viewthread/411). I thought this could be useful to change the color of my simple one color icons inside a qpushbutton. First, I was wondering if this still existed and is a good method to change the color of my svg icons. Second, if it is, how do you change the attributes of a svg inside of a button? It has no id, like every other widget has, so I don't know how I would apply the css properties to it. Thanks!