I have the follow code:
self.pushButton = QtGui.QPushButton(Form) self.pushButton.setGeometry(QtCore.QRect(0, 550, 150, 31)) self.pushButton.setObjectName(_f
You can change the style of the button:
self.pushButton.setStyleSheet("background-color: red")
It's like CSS.