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. Making a VST Effect Stack using Model/View

Making a VST Effect Stack using Model/View

Scheduled Pinned Locked Moved Unsolved General and Desktop
model-viewvstlistwidget
5 Posts 2 Posters 1.2k Views
  • 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 Offline
    R Offline
    rtavakko
    wrote on last edited by rtavakko
    #1

    Hi everyone,

    I'm reading up on the QT mode/view classes and I wanted to get input on a concept before I dive in.

    Basically I'm looking to make something similar to the VST audio effect stacks you see in the mixer channels of software like Logic Pro or FL Studio like in this screenshot (the effect stack is the collection of blue boxes towards the top of the image):

    https://dt7v1i9vyp3mf.cloudfront.net/styles/news_large/s3/imagelibrary/L/Logic01-0318-RBei0Gn2PhwBYXG.qamlFN71SAAR6Opz.jpg

    The stack as a whole would be the list widget which contains item models. When you click each item, a widget representing the controls of that effect would pop up which would let you interact with an instance of the VST effect plugin or class. So you would have:

    • A list widget containing items representing an effect
    • A widget or window tied to each item for controls
    • Instance of the actual effect backend

    I'm not sure where each item would fit in the QT model / view / data concept. Would the view correspond to the individual items in the list with the model being the backend class instance? Would a delegate be needed also?

    Cheers!

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

      Hi,

      The view is just something that shows the content of your model. Your model would be a wrapper on top of the list of your plugins. As for the widgets, each instance of your plugin should provide it.

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

      R 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        The view is just something that shows the content of your model. Your model would be a wrapper on top of the list of your plugins. As for the widgets, each instance of your plugin should provide it.

        R Offline
        R Offline
        rtavakko
        wrote on last edited by
        #3

        @SGaist Thanks! So the view is basically just an icon or line of text representing your items?

        Do you recommend any specific examples or tutorials?

        Thanks

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

          The view can show whatever you want. The usual is icon and/or text but you can create your own custom painting if needed.

          You can find several examples in Qt's documentation.

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

          R 1 Reply Last reply
          1
          • SGaistS SGaist

            The view can show whatever you want. The usual is icon and/or text but you can create your own custom painting if needed.

            You can find several examples in Qt's documentation.

            R Offline
            R Offline
            rtavakko
            wrote on last edited by
            #5

            @SGaist Thanks, I will dig into it more

            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