set image as background pyqt5 python code example
Example: how to add window background in pyqt5
stylesheet = """
MainWindow {
background-image: url("D:/_Qt/img/cat.jpg");
background-repeat: no-repeat;
background-position: center;
}
"""