hey stefan, eric hulser at blur did an almost pure python version and
it was almost always an issue.
getting the window handle will always need a compiled plugin to expose
the function from c++ api to scripting.
the method he ended up with was using qwinmigrate. in pyqt it wasnt
exposed/wrapped so he and matt newell used sip to expose it. i believe
pyside already exposes it :)
as far as the mouse and keyboard hooking. my plugin uses key event
plugin written in python. i suggest using the same and the mouse
clicks are handled automatically.
*written with my thumbs
On May 14, 2013, at 1:25 PM, "Stefan Kubicek" <[email protected]>
wrote:
Our PySide integration is not the one from Steven because I wasn't
able to
get the windowing stuff right on Linux, so I wrote a python plugin
that
handle the QApplication creation/destruction and uses a timer event
to
force the Qt loop update. It's still a little bit rough and the Qt
dialogs
are not parented to the Softimage window but so far it's stable and
completely usable.
I tried creating the QApplication and the hidden anchor window
directly via Python instead of using a compiled C++ plugin too (on
Windoze, not Linux) but got nothing but crashes. I found the
prospect of making due without a plugin that needs to be recompiled
for every Softimage version (I know reality looks different, but at
least on paper) very appealing. I even tried to implement all the
mouse hooks via Python (there was a thread about this some months
ago), but I gave up after a day due to lack of time. PyHok might be
an alternative, but chances are good it wouldn't work on Linux.
I imagine there are a couple of people on this list who'd love to
get PySide for Soft up and running on Linux, even if it is not
responding to mouse events. Do you mind sharing how you did it?
Anyway, I'm in to beta test a unified QtForSoftimage plugin on win
and
linux.
Julien
On Tue, May 14, 2013 at 4:29 AM, Jens Lindgren
<[email protected]>wrote:
Would love to try it out Steven but I don't have time right now :(
I prefer to use PySide instead of PyQT so this is very welcomed.
/Jens
On Tue, May 14, 2013 at 5:34 AM, Raffaele Fragapane <
[email protected]> wrote:
The difference is pySide isn't licensing hell, and AD is going
that way.
I reckon that's reason enough to do whatever we can to speed up
adoption
and finding rough edges as soon as possible ;)
On Fri, May 10, 2013 at 10:25 AM, Jeremie Passerin <[email protected]
>wrote:
Can I ask what's the main differences between PySide and PyQt4 ?
Is that just licensing ?
Jeremie
On 9 May 2013 17:04, Steven Caron <[email protected]> wrote:
Hey Gang
Tony Barbieri and I have been working on official support for
PySide
with the PyQtForSoftimage plugin and I need some testers...
Who here wants to use PySide instead of PyQt4? It is a little
rough
right now so, only people that really want to use PySide should
contact me.
Thanks
Steven
--
Our users will know fear and cower before our software! Ship it!
Ship it
and let them flee like the dogs they are!
--
Jens Lindgren
--------------------------
Lead Technical Director
Magoo 3D Studios <http://www.magoo3dstudios.com/>
--
-------------------------------------------
Stefan Kubicek
-------------------------------------------
keyvis digital imagery
Alfred Feierfeilstraße 3
A-2380 Perchtoldsdorf bei Wien
Phone: +43/699/12614231
www.keyvis.at [email protected]
-- This email and its attachments are --
--confidential and for the recipient only--