pyside2 python add background-image to label 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;
}
"""