If I print the results from the loadUiType I get the following results:class 'Ui_Form' class 'PyQt4.QtGui.QWidget'The addTab method wants a QWidget. The method describe under the Ui_Form are retranslateUi and setupUi. I even tried passing the methods as both bound and unbound.Thanks,-brian
Arh, OK, then use a factory function to build the QWidget class. Something
like this.
If you need the class name to be different each time, and I don't think you
do as it's overkill then you want to a metaclass. But you don't :) so it's
all ok. But if you're interested here's a link.