That's really interesting Steven, I'll definitely have a look at these as soon as I can. Thank you!
On 18 January 2013 19:46, Steven Caron <car...@gmail.com> wrote: > thanks for your feedback michal. > > i did a bit of research... have you tried the way jo did the parenting of > the window in PyQtForSoftimage plugin with this function? > > > http://tronche.com/gui/x/xlib/window-and-session-manager/XReparentWindow.html > > i also found these discussions... > > http://lists.trolltech.com/qt-interest/2000-07/thread00492-0.html > > http://www.qtforum.org/article/27551/native-x-application-qt-widget-integration.html > > s > > > > > On Fri, Jan 18, 2013 at 1:59 AM, Michal Doniec <doni...@gmail.com> wrote: > >> Yes, we use it extensively at The Mill. It runs on timer (every 20 ms QT >> even loop is updated). Basically timer event updates QT even loop using >> processEvents. "Global" QT application is created first and used for >> everything else. >> >> There is a couple of things to keep in mind. If you want to show non >> modal dialogs (using show) you need to prevent them from being garbage >> collected, one of the methods (very hacky one) is to stuff window handles >> into one of PyQt4 modules, like QtGui, (Like this: QtGui.your_dialog = >> a_dialog.show() ). >> >> >> QT windows will not be attached to XSI window by default. The best way >> would be to attach them using XSI Xwindow handle as a parent, but I didn't >> manage to figure out how to do it yet. It was easy on windows. The >> workaround is to make QT windows to always stay on top, which works really >> well unless you minimize XSI while some QT windows are open. They will not >> minimize with XSI. >> Other than that it runs pretty stable, we have quite UI intensive system >> here running on it and I didn't notice many crashes. >> Hope that helps. >> >> >> On 18 January 2013 08:36, Stefan Andersson <sander...@gmail.com> wrote: >> >>> >>> >>> On Thu, Jan 17, 2013 at 11:49 PM, Xavier Lapointe < >>> xl.mailingl...@gmail.com> wrote: >>> >>>> "there is also Aloys' method with a timer event, which for some reason >>>> no one seems to be trying." >>>> >>>> The other issue is also to compile PyQt for Softimage using python 2.5 >>>> ( until they update on linux (: ), but meh. Meant to give it a shot, and >>>> finally ended up working in the same shop as Aloys so it became useless q: >>>> >>>> >>> >>> Given the big popularity of Qt I wonder why no one at Autodesk has given >>> this any priority? It's been talked about on this list for quite some time >>> now. It seems that they should have the resources to do it, and not to >>> mention the source code for Softimage so that they know HOW to implement it. >>> >>> Or did they fire all those that could do that?? >>> >>> And while I'm complaining, how many times haven't I requested that >>> Python should be upgraded so that it matches the Maya version? And >>> Softimage is STILL missing essential python libs. I can sort the python >>> libs out myself, but it's pretty lame from Autodesk to not supply those. >>> From a commercial package as Softimage I actually demand more than what I >>> do from a OpenSource package. I thought the whole point of buying something >>> was so that you didn't have to build it yourself (don't get me started on >>> Maya, that's even worse...). >>> >>> Softimage is a great program, but has some really nasty flaws which it >>> seems to never getting fixed. Or for some reason being stubbornly ignored. >>> >>> regards >>> Stefan "Grumpy Morning" Andersson >>> >>> >>> >>> -- >>> *Stefan Andersson | Digital Janitor* >>> blog <http://sanders3d.wordpress.com> | >>> showreel<http://vimeo.com/sanders3d>| >>> twitter <http://twitter.com/sanders3d> | >>> LinkedIn<http://www.linkedin.com/in/sanders3d>| cell: >>> +46-73-6268850 | skype:sanders3d >>> >>> >>> >> >> >> -- >> ---------- >> Michal >> http://uk.linkedin.com/in/mdoniec >> > > -- ---------- Michal http://uk.linkedin.com/in/mdoniec