A Dimarts, 26 d'abril de 2011 11:31:44, Koen Deforche va escriure:
> > Will probably publish a another post with some other tests I did in my
> > try to port from PyQt to JyWt, but nothing spectacular came out of it.
>
> I would hope it is quite spectacular though, since Koo seems like a
> rather big desktop application ?
It's certainly not a small one. The thing is that I tried to create some
wrapper classes in Pyton in order to be able to run Koo on JyWt without
touching a single line of code in Koo (or very few) and that is quite complex
because even if the API is similar it's not exactly like Qt's one. One can
start faking some PyQt imports and you can even let the system import .ui files
and faking all classes is tries to instanciate but even if that could work
it's a lot of work and you would end up with some hacks and a more than
probable slow down.
I decided to simply port a couple of dialogs of the aplication from PyQt to
JyWt and take some notes which could lead to a methodology to do that task
faster. Even if it's quite a lot of work too, one could end up with two
applications which share a small part of the codebase and most important they
keep the same structure which is important for maintenance purposes.
--
Albert Cervera i Areny
http://www.NaN-tic.com
OpenERP Partners
Tel: +34 93 553 18 03
skype: nan-oficina
http://twitter.com/albertnan
http://www.nan-tic.com/blog
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest