[PyQt] question about uic.loadUi

Juan Pablo Romero Méndez jpablo.romero at gmail.com
Wed Oct 31 03:24:07 GMT 2007


Hello!

I have a problem with uic.loadUi on windows.

I have this code:
...
uic.loadUi("mainwindow.ui", self)
...

which connects an action "actionQuit" with:

    def on_actionQuit_activated(self):
        QtGui.QApplication.quit()


the problem is, it doesn't.

I'm using PyQt-Py2.5-gpl-4.3.1-1.exe.

The same code works on linux.

Is there a way to debug the behaviour of uic.loadUi?

Regards

  Juan Pablo


More information about the PyQt mailing list