<div dir="ltr">Hi all,<br><br>I'm trying to get pyuic module to work with Qt4Designer .ui files but I'm facing some problems to connect the slots. <br><br>Here's what I have:<br><br>[login_ui.py]<br>class LoginDialog():<br>
...<br> self.okButton = QtGui.QPushButton(Dialog)<br> self.okButton.setObjectName("<div dir="ltr">okButton")<br><br>and, in another python module, I have the slots:<br>[login_slots.py]<br><br>def on_okButton_clicked(self):<br>
print "Hello World"<br><br>how can I connect the on_okButton_clicked slot to the LoginDialog's signals ? Is it possible? <br><br>thanks!<br><br>Bruno Tikami</div>
</div>