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

There's no way to make the effect visible/invisible depending on certain conditions or user actions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • QDS 4.4
    • QDS 4.4
    • Effect Composer
    • None
    • Qt Design Studio 4.4.0 Based on Qt 6.5.4 (MSVC 2019, x86_64) Built on Jan 22 2024 10:21:05 From revision ef2f76b2d8

      OS: Windows 11 Pro, Version 22H2, OS build 22621.2861.
      64-bit operating system, x64-based processor
    • Windows
    • 1
    • c5f86ea0b (qds/dev)
    • QDS Oulu - 2024 Week 5/6

    Description

      Preconditions

      1. Create a New Effect
      2. Save it in order to generate the QML code
      3. Assign the Effect to an item in Screen01.ui.qml

      Description

      The generated QML file doesn't expose any property / function that would allow a user to enable/disable the effect depending on application's state, conditions or user action.

      For example, I'd like to enable a snow effect on the background of the main window when a checkbox is checked.

      The only way to do that is to directly access the parent of the effect and modify its layer.enabled property. Since the parent properties are set internally by the Effect implementation, it'd be cumbersome if a user needs to access them directly. There's no way to enable/disable the effect by the properties exposed by the effect itself.

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            piotrtanski Piotr TaƄski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes