对付Pyqt的最好办法
pycante的Python项目详细描述
处理pyqt的最佳方法
允许以独特的方式处理qtdesigner.ui文件。
示例:
fromPyQt4importQtGuiimportpycanteclassMyWidget(pycante.E("/path/to/file.ui"),AnotherClass);passclassMyAnotherWidget(pycante.E(QtGui.QFrame),AnotherClass):passw0=MyWidget()w1=MyAnotherWidget()
文档:https://pycante.readthedocs.org/en/latest/