Tuesday, February 23, 2010

QPushButton in Maemo5

If you want change color a QPushButton in Maemo5 don't use setPalette, but setStyleSheet; example
setStyleSheet(
"color: blue;"
"background-color: yellow;" "selectioncolor:yellow;" "selection-background-color: blue;"
);