set background pyqt5 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;
}
"""