Thank you for your help Justin. I have a bit of an unrelated question regarding Qt Flags. I'm curious how to find list of available flags I can set?
For example setWindowFlags. When I go to this page http://qt-project.org/doc/qt-4.8/qwidget.html#windowFlags-prop windowFlags would send me to windowTypes and windowTypes sends me right back to windowFlags, round and round. Am I looking at the right place? Thank you. On Monday, February 16, 2015 at 3:53:31 PM UTC+7, Justin Israel wrote: > > This should give you an idea: > http://qt-project.org/wiki/Differences_Between_PySide_and_PyQt > > Its not really too much different. In some cases for smaller stuff you may > end up changing only import statements. In others you may need to change > more. > > On Mon, 16 Feb 2015 9:11 PM Panupat Chongstitwattana <[email protected] > <javascript:>> wrote: > >> Hi everyone. Sorry for the delay, replies are not sent to my inbox for >> some reason. After checking a few hours it turned out they compiled the >> wrong version of Qt. I recompiled it and everything works now. Thank you >> for your help :) >> >> Been thinking seriously about recoding my scripts into PySide. It there >> any big differences I should be aware of before I start? >> >> Best regard. >> >> >> On Friday, February 13, 2015 at 9:37:08 PM UTC+7, Panupat >> Chongstitwattana wrote: >>> >>> Hi everyone. >>> >>> I got a call from my previous studio that a PyQt script I wrote, which >>> worked with 2012-2014, is crashing their Maya 2015. So I came in to >>> take a look and I can't figure out the reason. I have quite a number >>> of script made and only this one is crashing. >>> >>> The part that crash is basically just an if statement checking if the >>> user has a valid selection in QListWidget >>> >>> if len(self.ui.fileList.selectedIndexes()) < 1: >>> print "A" >>> return >>> >>> print "B" >>> # script continues >>> >>> A would print fine. But then it crash and never made it to B. Any idea >>> what could be the cause of this? I'm not sure I'll have the time to >>> properly convert it to PySide for them which probably would be the >>> best way. >>> >>> Best regard. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/5299ae0d-3ed6-47cf-b8cb-0b8f44a570f3%40googlegroups.com >> >> <https://groups.google.com/d/msgid/python_inside_maya/5299ae0d-3ed6-47cf-b8cb-0b8f44a570f3%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/95940a43-e5a0-4af0-8e8e-df5f8a5b994e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
