```
C:\Program Files\Autodesk\Maya2020\scripts\others\renderWindowPanel.mel
```

you could find some UI code in there

在2022年6月27日星期一 UTC+8 04:07:14<gurkenbro...@gmail.com> 写道:

> Hello everyone, 
>
> I am trying to make an experimental tool that modifies the existing Maya 
> Render View and swaps out the current rendered Image. I want to get the 
> widget that contains the rendered image and change it. 
>
> I got the Render View Dialog through MQtUtil with this code: 
> [image: Unbenannt.JPG]
>
> I looked through all children of the Render View and tracked the widget 
> that seems to contain the rendered image down to a QWidget. The problem ist 
> that this widget has no children and there is no QImage or a similar widget 
> that actualy displays the rendering. 
>
> I also removed all of the widgets in the dialog that wont remove the 
> rendered image to make sure I dont miss anything. [image: Unbenannt2.JPG]
>
> These are the widgets that are left in the dialog:
> [image: Unbenannt3.JPG]
>
> I also have a tool that prints the hirarchy of the widgets when hovering 
> over it. When I hover over the renderd image I get this hirarchy. The 
> widget at the top that has no Object name set is the widget that seems to 
> contain the rendered image
> [image: Unbenannt4.JPG]
>
> Am I missing something or how can I get the widget that displays the 
> rendered image?
>
> Thanks in advance
>

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/ef300f82-a82e-4c1f-89c3-611ff759dbe5n%40googlegroups.com.

Reply via email to