2
我尝试从QComboBox
列表中做出列表我认为它是QListView/QAbstractItemView
变得透明。就像在这个例子中,我希望看到列表中的按钮。QCombobox透明项目列表样式表
我试图把:
background: transparent
background-color: transparent
border-style: transparent
border-color: transparent
喜欢到处。
这可能是有帮助的[删除QListView背景](http://stackoverflow.com/questions/6999027/remove-qlistview-background) – Ezee 2014-11-06 13:58:19
不行,它没有工作我试过这个,但谢谢。它很容易得到自己的例子来测试解决方案,简单地添加'QCombobox'及其下的东西,几个元素组合框。 – kajojeq 2014-11-06 14:15:34
http://www.qtcentre.org/threads/15458-Make-the-QComboBox-popup-translucent-or-transparent你的看法是透明的,但其他的东西不是:QComboBoxPrivateContainer我不知道如何解决这个问题。 – Chernobyl 2014-11-06 15:22:47