[英]How do I export GUI mockups to Python GUI code (e.g. wxpython)?
I want to take my mockups and export them to code using any python GUI library (wxpython, pyqt, etc). 我想使用任何Python GUI库(wxpython,pyqt等)将我的模型导出到代码中。 For example, this capability already exists for mockups->HTML/Javascript here: 例如,此功能已经存在于此处的样机-> HTML / Javascript中:
http://www.balsamiq.com/products/mockups/community http://www.balsamiq.com/products/mockups/community
I need a fast, easy, high level mockup tool like balsamiq, not a slow, low level tool like boa constructor. 我需要像balsamiq这样的快速,简单,高级的模型工具,而不是像boa构造函数那样的慢速,低级的工具。
Is there any combination of mockups/exporter tools like this for python? python是否有像这样的样机/导出器工具的组合?
You can use the Qt Designer
tool to do your mock-ups and then use the pyuic4
command line tool to convert the .pro
file into Python code. 您可以使用Qt Designer
工具进行模拟,然后使用pyuic4
命令行工具将.pro
文件转换为Python代码。
Here are some references if you get stuck: 如果遇到问题,这里有一些参考:
http://diotavelli.net/PyQtWiki/Creating_GUI_Applications_with_PyQt_and_Qt_Designer http://diotavelli.net/PyQtWiki/Creating_GUI_Applications_with_PyQt_and_Qt_Designer
http://wiki.python.org/moin/JonathanGardnerPyQtTutorial http://wiki.python.org/moin/JonathanGardnerPyQtTutorial
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.