PyQt5 – How to create semi transparent window ?
When we design an application in PyQt5, the main window is used to appear by default the window is opaque, but we can make it transparent as well. we can do this by using
setWindowOpacity() method which belongs to the
Syntax : setWindowOpacity(0.5)
Argument : It takes float value as argument : 0 for completely transparent and 1 for opaque.
Action performed : Makes the window transparent.