hello,
I'm trying to translate from PyQt4 to PySide some of my programs, but
have difficulties with dynamic loading of .ui designer files.
In PySide Digest, Vol 17, Issue 14, there is a thread about PySide
equivalent of PyQt4.uic.loadUi(), and THIS problem have a solution.
******
But for me, the problem of PyQt4.uic.loadUiType() remains, and I cannot
translate from PyQt4 to PySide.
here : http://qt.gitorious.org/pyside/pyside-examples/commit/9edeedb
I found usage of loadUiType() but this example has been removed later
from repository
******
Here is documentation of loadUiType() found in
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html :
<cite>
loadUiType(uifile, from_imports=False)
This function loads a Qt Designer .ui file and returns a tuple of the
generated form class and the Qt base class. These can then be used to
create any number of instances of the user interface without having to
parse the .ui file more than once.
uifile is a file name or file-like object containing the .ui file.
from_imports is optionally set to use import statements that are
relative to '.'. At the moment this only applies to the import of
resource modules.
</cite>
Does PySide team plan something about it ?
Congratulations for your great (past, present and future) job.
Pierre Puiseux
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside