title: PyQt signal: set variable
body: <p>I have a signal, which just needs to do one thing: if emitted assign a variable a given value. It seems stupid to create a method for this, so I was thinking: Is there a way to do something like this:</p>
  
  <pre><code>self.myButton.clicked.connect(self.someVariable = None)
  </code></pre>