I teach PyQt GUI development with Eric in a University-level Unix Programming class, and have a question about migrating to eric4 / QT 4.<br> <br>With eric3 / QT 3, I used the following approach to develop applications:<br>
1. Use Qt Designer to do the GUI layout for a window and define custom slots.<br>2. Use eric to compile the form and generate a subclass<br>3. Override the custom slots in the subclass and put event handling code in them<br>
<br>With eric4, I am able to compile a .ui file to a PyQt class. But I don't see any wizard to generate a subclass, as in eric 3. If there isn't one, we can manage; I just thought I would ask, in case I was missing it.<br>
<br>Also, the PyQt docs indicate that there are several ways of subclassing pyuic4-generated classes:<br><br><a href="http://www.riverbankcomputing.com/static/Docs/PyQt4/pyqt4ref.html#using-the-generated-code">http://www.riverbankcomputing.com/static/Docs/PyQt4/pyqt4ref.html#using-the-generated-code</a><br>
<br>I would prefer to use the PyQt 3 approach. But I can't figure out how to wire up the signals in the Designer to custom slots in my Python code (as I could with designer 3 / eric 3). Any tips would be greatly appreciated.<br>
<br><br>-- <br>Stephen Schaub<br><br>