Is there any way to make the pixmap on a QDrag object be semi-transparent?<br><br>Here is the code I've got right now:<br><br>################################################<br><br>def startDrag(self, supportedActions):<br>
drag = QDrag(self)<br><br> pixmap = QPixmap("/path/to/my/image.png")<br> alphaChannel = QPixmap(pixmap.width(), pixmap.height())<br> alphaChannel.fill(QColor(128, 128, 128))<br> pixmap.setAlphaChannel(alphaChannel)<br>
<br> drag.setPixmap(pixmap)<br><br> drag.exec_(supportedActions)<br><br>################################################<br>
<br>However, setting the alpha channel on the pixmap just makes it look faded, but doesn't actually show the window contents underneath the pixmap, so it's not really transparent.<br><br>