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:
Qt Code:
  1. self.button_color.setStyleSheet(_fromUtf8("background-color: rgb(62, 225, 95);"))
To copy to clipboard, switch view to plain text mode 

Thanks