睡衣 vs pyqt 或 GWT
我不是网络应用程序专业人士,但需要开始开发一个项目,所以我需要知道睡衣(或者我应该说睡衣的 javascript 生成的 o/p )在 2d 图形和小部件功能方面是否与 pyqt 一样好。我有一个桌面 python 应用程序,它有一些使用 pyqt 实现的丰富的 2d 图形(带有动画/碰撞检测等)。
现在我正在专门寻找具有类似图形和小部件功能的等效网络客户端。 Pyjamas 是否支持具有相同外观和感觉的所有 pyqt UI 功能?
我也在为此探索 GWT,因为我相信 GWT 有一套很好的 UI,并且还支持像 vaadin、smartgwt 这样不错的第三方工具,但我更喜欢 pajamas,因为它是 python,而且我正在编写一个等效的基于 pyqt 的桌面应用程序,所以我更喜欢对 python 比较熟悉,然后对 java 比较熟悉。我也不确定 GWT 的外观和感觉是否与 Windows 上基于 pyqt 的 UI 相匹配。
任何见解都会非常有帮助
提前致谢
问候 夏姆
I am not a web application pro but need to start working on a project so I need to know if pyjamas ( or shall I say the javascript generated o/p of pyjamas ) is as good as pyqt in terms of 2d graphics and widget features. I have a desktop python application which has some rich 2d graphics (with animations / collision detection etc..) implemented using pyqt.
Now I am specifically looking for equivalent web client with similar graphics and widget features . Does pyjamas support all the pyqt UI features with same look and feel??
I am also exploring GWT for this since I believe GWT has a good set of UIs and also supports decent 3rd party tools like vaadin,smartgwt but my preference is for pyjamas because its python and I am writing a equivalent pyqt based desktop app so am more comfortable with python then java. Also am not sure if GWTs look and feel would match with that of pyqt based UI on windows.
Any insights would be very helpful
Thanks in advance
Regards
Shyam
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能为时已晚,但如果其他人需要答案,
Pyjamas 的小部件大多与 GWT 相同(大多数是 GWT 的直接翻译,但我们也有一些自己的小部件),并且不针对 Qt、GTK 或任何其他工具包。
如果您正在考虑使用 webkit,您可以充分利用这两个世界,并将 Pyjamas 与 PyJD 结合使用。这样,您的相同应用程序可以编译为 html/css/javascript 并在 Web 浏览器中运行,同时您可以使用原始 python 代码在 pyqt-webkit、xulrunner 或 mshtml 中运行它。
Probably too late, but if anyone else would need an answer,
Pyjamas' widgets are mostly same as GWT's (most are direct translation from GWT, but we have some own widgets too), and do not target Qt, GTK or any other toolkit.
If you are looking into using webkit, you could get best of the two worlds, and use Pyjamas with PyJD. This way your very same application could be compiled into html/css/javascript and run in web browsers and at the same time you could run it in pyqt-webkit, xulrunner or mshtml with original python code.