FrontPage/Python FrontPage
widget = QWidget() palette = QPalette() palette.setColor(QPalette.Background, Qt.black widget.setAutoFillBackground(True) widget.setPalette(palette)
widget = QWidget() widget.setStyleSheet("background-color:white;") widget.show()