def setBackgroundColor(self, color):
"""
Sets the QColor_ *backgroundColor* with which the widget’s background
is paint.
The default is Qt.white.
.. _QColor: http://doc.qt.io/qt-5/qcolor.html
"""
self._backgroundColor = color
self.update()
评论列表
文章目录