Python code generation with pyside-uic

前端 未结 8 1120
野的像风
野的像风 2020-12-01 12:18

How can I generate python code from a QtDesigner file ? I found pyside-uic but I can\'t find an example for the syntax. I run win7 and pythonxy with spyder.

8条回答
  •  失恋的感觉
    2020-12-01 13:19

    QUiLoader class will do the job without making an intermediate file.

    http://www.pyside.org/docs/pyside/PySide/QtUiTools/QUiLoader.html

提交回复
热议问题