> I really do not now how the ui code generator works, but based on this
> code the correct way to get this working is declare your class as a
> QTabWidget, something like that:
>
> .....
>
> class TabWidget(QTabWidget, Ui_TabWidget)
>
> ....

Renato,

Thanks! It works perfectly. I suppose it makes sense in that a
QTabWidget is not a  QMainWindow widget. I just never thought about it
because all the examples online subclass from QMainWindow because they
assume the user is importing a full interface from Designer

Hopefully, this thread will give a few other newbies some ideas.

Laurence.
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to