Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-106651

Create a simple UI effect type for Qt Quick

    XMLWordPrintable

Details

    • User Story
    • Resolution: Fixed
    • P2: Important
    • 6.5.0 Beta3
    • 6.5.0 FF
    • Quick: Other
    • None
    • All
    • fc0d46971 (dev)

    Description

      With the Qt Quick Effect Maker, advanced use cases will be covered. However, there is still the use case of adding one or two standard effects on your UI items programmatically, without launching a separate tool.

      Since we have solutions for the advanced use case, we can tailor this for the common usages that will benefit the most of our users.

      This can be based on the current multi-effect work, but we will limit the effects we need to effects commonly used by UIs and a predefined order they are applied. We don't need to worry about incorporating custom shader code in this, since this is already handled perfectly by Qt Quick Effect Maker.

      To avoid an explosion of pre-generated shaders we can either:

      1. Keep the number of available effects low,
      2. Limit the number of chained effects in a single pass,
      3. Support certain combination with pregenerated shaders and a have a fallback option which works for any combination (either by generating shader code at runtime or by having one big universal fragment shader with conditional branches for all effects.

      Either way, this is a convenience to replace most common uses of Qt Graphical Effects and Qt Effect Maker is the go-to solution for any use case too advanced for it.

      Note: The component should be added to Qt Quick, so that it can also be used by Qt Quick Controls.

      Attachments

        Issue Links

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

          Activity

            People

              kagro Kaj Grönholm
              esabraha Eskil Abrahamsen Blomfeldt
              Jarko Vihriälä Jarko Vihriälä
              Eskil Abrahamsen Blomfeldt Eskil Abrahamsen Blomfeldt
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes