2

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

4

1 回答 1

2

可能为时已晚,但如果其他人需要答案,

Pyjamas 的小部件与 GWT 的大部分相同(大多数是从 GWT 直接翻译的,但我们也有一些自己的小部件),并且不针对 Qt、GTK 或任何其他工具包。

如果您正在考虑使用 webkit,您可以两全其美,并使用 PyJD 的睡衣。这样,您的相同应用程序可以编译成 html/css/javascript 并在 Web 浏览器中运行,同时您可以使用原始 python 代码在 pyqt-webkit、xulrunner 或 mshtml 中运行它。

于 2011-05-06T07:43:45.133 回答