📌  相关文章
📜  更改组框颜色 pyqt5 - 任何代码示例

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

代码示例1
QGroupBox {
    background-color: red;
    margin-top:1em;
}
QGroupBox QGroupBox {
    background-color: green;
}
QGroupBox::title {
    subcontrol-origin: padding;
    subcontrol-position: left top;
    background: transparent;
    margin-top: -2.5em;
}