QGroupBox::disabled
{
color: transparent;
border-style: none;
}
QPushButton:disabled
{
color: transparent;
border-style: none;
}
QRadioButton::disabled
{
color: transparent;
border-style: none;
background-color:transparent;
}
QLabel::disabled
{
color: transparent;
border-style: none;
}
QSpinBox::disabled
{
color: transparent;
background-color: transparent;
border-style: none;
}
QLineEdit::disabled
{
color: transparent;
border-style: none;
background-color: transparent;
}
QComboBox::disabled
{
color: transparent;
border-style: none;
background-color: transparent;
border:none;
}
QComboBox::drop-down:disabled
{
background-color: transparent;
}
QCheckBox::disabled
{
color: transparent;
background-color: transparent;
}
QT控件禁用状态设置为透明模式(1)
最新推荐文章于 2024-05-15 15:30:52 发布