python pyqt6 QComboBox 设定下拉框背景颜色
设定QComboBox 的背景颜色,边框设定,以及下拉框的背景颜色以及边框设定,
selection-background-color 不生效可忽略
xxx_source = QComboBox(self.xxx_frame)
xxx_source.setStyleSheet("QComboBox {background-color: transparent; color: transparent; border-radius: 10px;\
border-color: lightgray; border-style: solid; border-width:0px; padding-left:5px;} \
QComboBox QAbstractItemView {\
border-radius: 5px;\
border: 1px solid grey;\
background: #181818;\
selection-background-color: blue;\
}")