Xav*_*rey 3 qt stylesheet qlabel qtstylesheets qframe
我QFrame只是使用彩色边框,因为我找不到更改颜色的方法QDialog。那么因为篡改了
QFrame边框,也在影响着QLabel外观,有什么办法可以避免这种情况呢?
编辑:
这是我正在使用的样式表,其中QLabels' 没有任何效果。它正在采取QFrames'
QWidget {
background-color: black;
}
QLabel {
color:white;
border: solid 2px black;
font: bold 19px Sans Serif;
}
QFrame {
border: solid 2px white;
border-radius: 4px;
}
Run Code Online (Sandbox Code Playgroud)