How to QDialog semi-transparent?
-
10-06-2021 - |
Pregunta
I tried with QGraphicsOpacityEffect applied to the QDialog, but the result is a half gray widget and I cannot see the background and the activity behind, top-level widget.
Solución
Use the setWindowOpacity
function.
The valid range of opacity is from 1.0 (completely opaque) to 0.0 (completely transparent).
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow