how to add window background in pyqt5

Solutions on MaxInterview for how to add window background in pyqt5 by the best coders in the world

showing results for - "how to add window background in pyqt5"
Monika
01 Jan 2020
1stylesheet = """
2    MainWindow {
3        background-image: url("D:/_Qt/img/cat.jpg"); 
4        background-repeat: no-repeat; 
5        background-position: center;
6    }
7"""