You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyQt4.uic.loadUi provides support for custom widgets using the "Promoted Widget" feature of Qt Designer. The convention in PyQt4 is to specify the import module path using the header file section. For example, if mypackage.mymodule.MyWidget is the custom Widget, then in Qt Designer you would list the header file as mypackage/mymodule.h and the class name as MyWidget and loadUi would translate that to mypackage.mymodule.MyWidget.
The loadUi implementation for PySide in qtpy doesn't appear to support this behavior.
The text was updated successfully, but these errors were encountered:
You're welcome to send a PR to fix/improve this. We provide a very simple implementation of loadUi for Pyside, just enough to provide compatibility with the the Glue project.
PyQt4.uic.loadUi
provides support for custom widgets using the "Promoted Widget" feature of Qt Designer. The convention in PyQt4 is to specify the import module path using the header file section. For example, ifmypackage.mymodule.MyWidget
is the custom Widget, then in Qt Designer you would list the header file asmypackage/mymodule.h
and the class name asMyWidget
andloadUi
would translate that tomypackage.mymodule.MyWidget
.The
loadUi
implementation for PySide in qtpy doesn't appear to support this behavior.The text was updated successfully, but these errors were encountered: