# Can I embed a Paraview interactor as a pyqt5 widget?

**URL:** https://discourse.paraview.org/t/can-i-embed-a-paraview-interactor-as-a-pyqt5-widget/5433
**Category:** ParaView Support
**Created:** [September 28, 2020, 12:26am UTC](https://discourse.paraview.org/t/can-i-embed-a-paraview-interactor-as-a-pyqt5-widget/5433 "2020-09-28T00:26:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![T\_K](https://discourse.paraview.org/user_avatar/discourse.paraview.org/t_k/32/5038_2.png) [@T\_K](https://discourse.paraview.org/u/T_K)
#### Post date: [September 28, 2020, 12:26am UTC](https://discourse.paraview.org/t/can-i-embed-a-paraview-interactor-as-a-pyqt5-widget/5433/1 "2020-09-28T00:26:28Z")

</div>

I simple example of a paraview script is

```
 from paraview.simple import *                                                  
                                                                                
 sphere = Sphere(ThetaResolution=16, PhiResolution=32)                          
 shrink = Shrink(sphere)                                                        
 Show(shrink)                                                                   
 Render()
 Interact()

```

Is there a way I can embed this into a PyQt5 application as a widget? In a vein similar to vtk via

```
from vtk.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor

```

Thanks

---

<div class="post-metadata">

### Author: ![Ali\_Rahnama](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ali_rahnama/32/5391_2.png) [@Ali\_Rahnama](https://discourse.paraview.org/u/Ali_Rahnama)
#### Post date: [October 23, 2021, 6:19pm UTC](https://discourse.paraview.org/t/can-i-embed-a-paraview-interactor-as-a-pyqt5-widget/5433/2 "2021-10-23T18:19:09Z")

</div>

Hi,

I have the same problem, could find the answer? If yes could you please share it with me?

---

<div class="post-metadata">

### Author: ![Ali\_Rahnama](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ali_rahnama/32/5391_2.png) [@Ali\_Rahnama](https://discourse.paraview.org/u/Ali_Rahnama)
#### Post date: [October 23, 2021, 7:05pm UTC](https://discourse.paraview.org/t/can-i-embed-a-paraview-interactor-as-a-pyqt5-widget/5433/3 "2021-10-23T19:05:53Z")

</div>

you can find the answer here

> <https://stackoverflow.com/questions/64094386/can-i-add-paraviews-renderer-or-interactor-to-my-pyqt5-application>
