[PyQt] How to load .ui XML on the fly?

Phil Thompson phil at riverbankcomputing.com
Wed Apr 23 16:40:13 BST 2008


On Wednesday 23 April 2008, Bruno Tikami wrote:
> Hi guys,
>
> I'm quite new to PyQt and I haven't found any specific docs about loading
> .ui XML on the fly using Python. The Qt4 C API [1] says that it's possible
> using QUiLoader.load . Is it possible on PyQt? Also, I'd like  to be able
> to load the XML from a buffer, not from a file. Any ideas?

http://www.riverbankcomputing.com/static/Docs/PyQt4/pyqt4ref.html#the-uic-module

Phil


More information about the PyQt mailing list