title: Pyqt Signal to open dialog lambda function error: Object Ui_dialog is not callable
body: <p>My problem is that, when I put a Qaction triggered in pyqt to open a QDialog, I used to do with lambda functions (to pass parameters), but when I test the GUI, I opened for a first time the dialog, but, when I opened for a second time, the shell throws me this error</p>
  
  <pre><code>    Traceback (most recent call last):
    File "C:\path\to\file\launcher.py", line 51, in &lt;lambda&gt;
      self.ui.actionIngresar_Licencia.triggered.connect(lambda: self.Dlg_IngresarLicencia())
  TypeError: 'Ui_dialogoLicencia' object is not callable
  </code></pre>
  
  <p>Ok, you can say me that I don pass any parameter, but if this error appears when I need to pass parameters, It will be so bad. When I put the function without lambda function, the gui works perfectly
  Here's the function with the dialog.</p>
  
  <pre><code>def Dlg_IngresarLicencia(self):
      self.Dlg_IngresarLicencia = Ui_dialogoLicencia()
      self.dialogo = QtGui.QDialog(parent=None)
      self.Dlg_IngresarLicencia.setupUi(self.dialogo)
      self.Dlg_IngresarLicencia.btn_ObtenerLicencia.clicked.connect(lambda: Componentes().clickObtenerLicencia())
      self.dialogo.show()
  </code></pre>
  
  <p>Thanks guys, I hope you can help me</p>