0

Embed RV player inside a pyqt/pyside dialog?

Hi there,

I have a pyqt/pyside QMainWindow and would like to embed the RV player inside that QMainWindow in a layout.  Is this possible?

If so, is there any example code I could look at?  Or could someone point me in the right direction?  Or give some sample code to get me started?

Thank you!

4 条评论

  • 0
    Avatar
    Jon Morley

    Hi Collin,

    That is not actually possible I'm afraid. If you are on linux there is an X11 embedable Qt widget that we do not support and is generally hacky and fragile, but some users have used that to embed RV in another X11 application. Other than that there is no way to embed RV into another application.

    Thanks,
    Jon

  • 0
    Avatar
    Collin Parrish

    Oh, okay.  Is it possible to use the rv window as a QMainWindow and add my layout code to it?  I think there was talk of doing that on the forum but there were some rvpkg files involved that I've been struggling to open

     

    Thank you for your help!

  • 0
    Avatar
    Jon Morley

    Hi Collin,

    You can certainly find RV's QMainWindow with either muqt or PyQt, however I don't think you can modify it. You can however add dockable interface widgets on top of it. That is how the Session Manger as well as the WebView packages  work. The Annotation tool pallet also can be used this way. Will that work for you?

    Thanks,
    Jon

  • 0
    Avatar
    Jon Morley

    Shotgun's Screening Room is also a good example of reorganizing the RV layout.

    http://www.shotgunsoftware.com/features/#section-feature-review

请先登录再写评论。