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 Insert QVideoWidget Item into QTabWidget
Forum Updated to NodeBB v4.3 + New Features

How to Insert QVideoWidget Item into QTabWidget

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 840 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.
  • R_IrudezuR Offline
    R_IrudezuR Offline
    R_Irudezu
    wrote on last edited by R_Irudezu
    #1

    Hi, i'm developing a simple desktop application with .ui files. In no way i couldn't insert a QVideoWidget item into QTabWidget. Here an ss: •Tab Widget•

    I want to insert a couple of items into Main Tab, one of them is QVideoWidget. Anyone know how to do that?

    Thanks in advance.

    Keizoku wa chikaranari.

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by VRonin
      #2

      Insert a QWidget then right click on it and chose "promote" to promote it to QVideoWidget

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      R_IrudezuR 1 Reply Last reply
      2
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #3

        the ss.
        alt text

        And docs for using the promotion feature. ( if needed)
        http://doc.qt.io/qt-5/designer-using-custom-widgets.html

        1 Reply Last reply
        2
        • VRoninV VRonin

          Insert a QWidget then right click on it and chose "promote" to promote it to QVideoWidget

          R_IrudezuR Offline
          R_IrudezuR Offline
          R_Irudezu
          wrote on last edited by
          #4

          @VRonin It is like you said, but i am trying to do insert a QWidget into a QTabWidget, then insert QVideoWidget into that inserted QWidget. But nothing displaying! I promoted QWidget to QVideoWidget ...

          Keizoku wa chikaranari.

          1 Reply Last reply
          0
          • R_IrudezuR Offline
            R_IrudezuR Offline
            R_Irudezu
            wrote on last edited by
            #5

            Ok it's done :)

            My video source was not handled, many thanks :)

            Keizoku wa chikaranari.

            1 Reply Last reply
            1

            • Login

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