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: Fixed
    • P2: Important
    • QDS 4.7
    • QDS 4.4
    • Effect Composer
    • None
    • 2
    • 4f97a18f9 (qds/dev)

    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

          For Gerrit Dashboard: QDS-11996
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes