title: PyQt, click action on Qwidget
body: <p>I have this simple problem, I can grab the event of a click on button, but now I need to handle a click over a widget, here is part of the code:</p>
  <pre><code>self.widget = QtGui.QWidget(self)
  self.widget.setStyleSheet(&quot;QWidget { background-color: %s }&quot; % color.name())
  self.widget.setGeometry(150, 22, 50, 50)
  self.connect(???)  &lt;-- here
  </code></pre>
  <p>What should I put in the &quot;???&quot; to grab a click action over the created widget?</p>