Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyqt qwidget background color

w.setAttribute(Qt.Qt.WA_StyledBackground, True)
w.setStyleSheet('background-color: red;')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pyqt #qwidget #background #color
ADD COMMENT
Topic
Name
5+3 =