Results 1 to 3 of 3

Thread: Transparent Widgets on top of video

  1. #1
    Join Date
    Sep 2014
    Posts
    3
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Transparent Widgets on top of video

    Hello,
    I need to put transparent widgets (in the background i can see the video) on top of video.
    From the other posts on this site i understand that it is not possible by regular tools of Qt, but only with OpenGL.
    Can someone post here some example or principles how to do that?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Transparent Widgets on top of video

    If the video is drawn in a widget, then you should be able to put a transparent widget in top of it.

    Cheers,
    _

  3. #3
    Join Date
    Sep 2014
    Posts
    3
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Transparent Widgets on top of video

    The video is drawn on widget, by means of QMediaPlayer ontop of QVideoWidget.
    When i put a button on it and play with transparency, i see the window which is behind the video, or gray.
    Probably the video is coming as separate stream directly to the gpu and not mixed with widgets.
    The only way to do that is OpenGL.
    This is what i'd like to get help with.

Similar Threads

  1. Transparent image over video
    By vladozar in forum Qt Programming
    Replies: 1
    Last Post: 18th September 2015, 19:22
  2. Replies: 2
    Last Post: 31st May 2010, 11:57
  3. Replies: 8
    Last Post: 16th March 2010, 13:27
  4. Phonon Video + Transparent Label Problems
    By jftaylor21 in forum Qt Programming
    Replies: 2
    Last Post: 1st November 2009, 18:53
  5. Transparent widgets
    By incapacitant in forum Newbie
    Replies: 10
    Last Post: 21st March 2006, 18:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.