title: Connecting to events of another widget
body: <p>This is most likely a duplicate question, but I have to ask it because other answers aren't helping in my case, since I am new to pyqt (switched from tkinter few days ago).</p>
  
  <p>I am wondering if is it possible to connect to an event of a widget like this:</p>
  
  <pre><code> self.lineEdit = QtGui.QLineEdit(self.frame)
  
   self.lineEdit.keyReleaseEvent(lambda: someFunction(QtCore.Qt.Key_A ))
  
   self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
  
   self.horizontalLayout.addWidget(self.lineEdit)
  </code></pre>
  
  <p>and then... </p>
  
  <pre><code>def someFunction(event):
      print(event)
      ...
  </code></pre>
  
  <p>My question is how to bind to a specific event from another widget, and connect that event with a function - like <code>btn.clicked.connect(function_goes_here)</code>.</p>
  
  <p>In tkinter it's something be like this:</p>
  
  <pre><code>self.Entry.bind("&lt;KeyRelease-a&gt;", lambda event: someFunction(event))
  </code></pre>