Results 1 to 3 of 3

Thread: Transparent Widgets overVideo

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2010
    Posts
    14
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Transparent Widgets overVideo

    Hi to all,

    i have a question about adding transparent widgets over an excissting video stream.

    I've searched the forum, but still have no clue how to do this.

    We have a programm that receives a video via rtp. The decoding and rendering should be part of an directshow-filter that the user can install. For rendering the video we use the VMR7 Render to display the Video.
    Instead of using an external Widget we gave the winId from our QWidget to the VMR, so that the VMR can do the painting on that widget.

    Now we want to overlay the video with some transparent Buttons, that have an SVG with transparenz as background.
    When the video starts the Buttons are not transparent, instead of this, the Background is black.

    Is there a way to set the Background of my widgets, so that i can still see the video through it.

    We have to use this on all Windows Version since 2000

    Every help is welcome.

    Best regards

    HeReSY
    Last edited by HeReSY; 2nd July 2010 at 14:01.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Transparent Widgets overVideo

    I've searched the forum, but still have no clue how to do this.
    The 10th result for "transparency":

    http://www.qtcentre.org/threads/3083...ht=Transparent
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Jul 2010
    Posts
    14
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Transparent Widgets overVideo

    Thanks a lot,

    it seams i overread this.
    So it seems that the only solution is to create my own renderer, so that Qt can handle all paint things.
    Then i will give that a try.

    If there is another solution it would be nice, when somebody could tell me.


    HeReSY

Similar Threads

  1. Replies: 2
    Last Post: 31st May 2010, 11:57
  2. Qt3 - Multiple transparent widgets
    By bythesea in forum Qt Programming
    Replies: 4
    Last Post: 11th September 2009, 11:24
  3. Mac OS X Top-Level Transparent Widgets
    By tinsuke in forum Qt Programming
    Replies: 0
    Last Post: 17th October 2008, 16:01
  4. Transparent widgets on top of QGLWidget
    By tseval in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2007, 21:03
  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
  •  
Qt is a trademark of The Qt Company.