pyqt qwidget latar belakang warna

w.setAttribute(Qt.Qt.WA_StyledBackground, True)
w.setStyleSheet('background-color: red;')
SnefDen