title: PyQt - How do I fade the desktop background behind a dialog (similar to Windows UAC)?
body: <p>I'm wondering if pyqt in <strong>PYTHON</strong> has this much capability, but is it possible to have the dialog be in the center of the screen(i know that much is possible) and the sourounding area out side of the dialog has an opacity of about of about 50 percent so basicly its still visable but you can't totatlly see it. is this possible? Make sure you understand im talking about outside of the dialog box not inside. I want this for my simple lockscreen app it not very secure but I'll work on that later. I have tried </p>
  
  <pre><code>self.setWindowOpacity(.8)
  </code></pre>
  
  <p>but that only applies to the window i want to affet to the outside</p>
  
  <p>I know this doesn't sound very easy to understand but if you need more explanation let me know in the comments.</p>