Re: [Maya-Python] Drag-and-drop from custom QT window into Viewport

2016-11-12 Thread Alec Fredericks
Thanks for checking that, Justin. I could have sworn that I tried this in Maya 2016 and had the same problem but now that I try it there, it seems to work fine. I've been barking up the wrong tree. Now I have to figure out if the drag-and-drop in 2017 is just implemented differently or broken.

Re: [Maya-Python] Drag-and-drop from custom QT window into Viewport

2016-11-12 Thread Justin Israel
Your code works under Maya 2015 / PySide (with the import statements adjusted for PySide and shiboken) Not sure if this is specific to Maya 2017 + PySide2 - Justin On Sun, Nov 13, 2016 at 10:09 AM Alec Fredericks wrote: > Thanks for the reply, Justin. > Oddly -- or maybe not, based on my code

Re: [Maya-Python] Drag-and-drop from custom QT window into Viewport

2016-11-12 Thread Alec Fredericks
Thanks for the reply, Justin. Oddly -- or maybe not, based on my code -- the drag-and-drop eventFilter still doesn't seem to recognize either DragEnter or Drop. If anyone has a chance to look at this chunk of code that I ripped out of the rest of my code to simplify things, it's much appreciated

Re: [Maya-Python] Drag-and-drop from custom QT window into Viewport

2016-11-09 Thread Justin Israel
On Thu, Nov 10, 2016 at 6:21 AM Alec Fredericks wrote: > Hi there, > I think I'm misunderstanding something fundamental about QT and Maya UI > interactions. > I've created a small PyQt window that contains some tabs and, in one of my > test tabs, I have a grid populated by a couple of custom QLab

[Maya-Python] Drag-and-drop from custom QT window into Viewport

2016-11-09 Thread Alec Fredericks
Hi there, I think I'm misunderstanding something fundamental about QT and Maya UI interactions. I've created a small PyQt window that contains some tabs and, in one of my test tabs, I have a grid populated by a couple of custom QLabel widgets. Those widgets are the bits I want to drag into the Ma