J-Freak
8th September 2011, 11:45
Hello everybody,
I create a plugin for the programm QuantumGIS.
I want to get the background-color of my QPushButton to use it as color for a QgsRubberBand but I don't know how I get the color.
My Code to give the QPushButton a color:
self.button_color.setStyleSheet(_fromUtf8("background-color: rgb(62, 225, 95);"))
Thanks
I create a plugin for the programm QuantumGIS.
I want to get the background-color of my QPushButton to use it as color for a QgsRubberBand but I don't know how I get the color.
My Code to give the QPushButton a color:
self.button_color.setStyleSheet(_fromUtf8("background-color: rgb(62, 225, 95);"))
Thanks