📜  如何在 pyqt5 中添加窗口背景 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:08.209000             🧑  作者: Mango

代码示例1
stylesheet = """
    MainWindow {
        background-image: url("D:/_Qt/img/cat.jpg"); 
        background-repeat: no-repeat; 
        background-position: center;
    }
"""