Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to overlap two qgraphicsvideoitem
Forum Updated to NodeBB v4.3 + New Features

How to overlap two qgraphicsvideoitem

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    herculis
    wrote on last edited by
    #1

    how can overlap qgraphicsvideoitem by parent child concept.
    could anyone explain it with syntax.
    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Why is the parent/child concept mandatory ?

      You could try by just putting one on top of the other and set the z value of them accordingly.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • H Offline
        H Offline
        herculis
        wrote on last edited by
        #3

        actually i need to built a video player which has two display one overlapping the other and for sometime 1st display shud show the video and some time display 2 shuld show the video and when switching the display there should not be a delay for black screen for some mili sec it shuld be like when i hide first display the 2nd display shuld be running under it so it creates a illusion that its continous.
        I tried it with qvideowidget and stack them wihth qstackwidget but when i switch there is a black screen (delay) while switching coz displays are not actually one above the other when we call the it comes.
        So can u help me in this please.How can i do it.

        1 Reply Last reply
        0
        • H Offline
          H Offline
          herculis
          wrote on last edited by
          #4

          thanks

          1 Reply Last reply
          0
          • H Offline
            H Offline
            herculis
            wrote on last edited by
            #5

            hallo SGaist
            I used qgraphicsvideoitem and then with setsize i overlap two qgraphicsvideoitem .Now as i mentioned above i want that thing to happen how can i do it.please help.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              It's really not clear. But from what I understood, why not just exchange the size and z value of the two items ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved