Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-11996

Opacity mask effect should also allow using an Item as mask

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • QDS 4.4
    • Effect Composer
    • None
    • 2

    Description

      Currently you can do it manually by editing the code like this:

              Effect01 {
                  id: effect01
                  opacityMaskSource: myMaskItem
      
              } 

      However, there are no way to do this properly via property sheet. Once we have custom property sheets for components (QDS-11995) this issue can be addressed. 

      Maybe some other effects would also benefit from this, so consider making this a generic feature of sampler type properties.

      Note that it is necessary to set "layer.enabled: true" on the target item as well. Automating that might not be trivial.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              e0348803 Miikka Heikkinen
              e0348803 Miikka Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes