How could one create a luminous border around a button when a user hovers above it in PyQT4 QSS? I'm talking about something similar box-shadowin CSS.
box-shadow
someButton:hover { border:1px solid black; /*Glowing code here?*/ }
One way to do this is to use setGraphicsEffect with QGraphicsDropShadowEffect :
effect = QtGui.QGraphicsDropShadowEffect(button) effect.setOffset(0, 0) effect.setBlurRadius(20) button.setGraphicsEffect(effect)