Hi all,

I'm trying to get pyuic module to work with Qt4Designer .ui files but I'm
facing some problems to connect the slots.

Here's what I have:

[login_ui.py]
class LoginDialog():
  ...
  self.okButton = QtGui.QPushButton(Dialog)
  self.okButton.setObjectName("okButton")

and, in another python module, I have the slots:
[login_slots.py]

def on_okButton_clicked(self):
  print "Hello World"

how can I connect the on_okButton_clicked slot to the LoginDialog's signals
? Is it possible?

thanks!

Bruno Tikami
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to