You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python_in...@googlegroups.com
Is it posible to draw qwidget with transparent background above maya 3d viewport?
Justin Israel
unread,
Aug 31, 2012, 5:56:19 PM8/31/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python_in...@googlegroups.com
Whenever I try to parent a widget to the M3dView, I can't see it. I
assume Maya is handling the parenting action explicitly in a custom
way.
The only thing I can suggest is having a floating widget that tracks
the position of the M3dView widget.
Maybe someone else has had better luck than me.
On Fri, Aug 31, 2012 at 12:54 PM, vux <vux...@gmail.com> wrote:
> Is it posible to draw qwidget with transparent background above maya 3d
> viewport?
>
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python_in...@googlegroups.com
I need for example QLabel with text but without background on viewport. I meen that widget is child of viewport. My attempts were unsuccessful.
The background allways fill with noise of older refreshes of viewport :(
пятница, 31 августа 2012 г., 22:54:27 UTC+3 пользователь vux написал:
vux
unread,
Sep 1, 2012, 8:30:25 AM9/1/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python_in...@googlegroups.com
I've been wanting to set output cmdScrollFieldReporter to viewport. Imagine that you work in viewport and watch a couple of lines of current output.
Mike Malinowski (LIONHEAD)
unread,
Sep 1, 2012, 4:27:24 PM9/1/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python_in...@googlegroups.com
I was trying to do something similar ( drawing a non-square transparent bg qt widget as a child of the viewport ) and hit exactly the same issue that you describe. Sadly I never found a solution and couldn't spend masses of time looking at it, so I can't
really help but if you do find a solution I'd certainly like to hear it!
Justin Israel
unread,
Sep 2, 2012, 2:36:32 PM9/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python_in...@googlegroups.com
I've seen other people post about this issue as well. I think maya uses the window id to draw directly to the widget in OpenGL. So the solution would probably involve drawing to it in a lower level way.
The best I have thought about for now is having an event filter with a widget just parented to the main window, that watches the viewport resize/move/etc events and stays tacked on.
Antonio Govela
unread,
Mar 15, 2016, 2:03:03 AM3/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Python Programming for Autodesk Maya
I'm having similar issues while trying to display a png file with transparent background, maya turns it black(the background). Since the last post form this thread was in 2012, has there been any success with this?