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

Implement RectangularShadow

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • 6.9
    • None
    • None
    • dfde7334b (dev), a5b0ee5e9 (dev)

    Description

      Make poc of RectangularShadow element into QtQuick.Effects module. The need for this kind of element are shadows & glows for rectangular items such as buttons, panels etc. This sort of shadow is much more performant than traditional blurring method.

      This would be somewhat similar to https://doc.qt.io/qt-6/qml-qt5compat-graphicaleffects-rectangularglow.html but brought into Qt6 and implemented as a C++ class similar to MultiEffect. Also the API could be made to match more closely the CSS box-shadow to make it more usable.

      Considerations:

      • Should there also be RectangularInnerShadow or "bool inner" property?
      • Should there also be RectangularShadowGroup that would group multiple RectangularShadow elements and create a single shader effect from these?

      Attachments

        For Gerrit Dashboard: QTBUG-128469
        # Subject Branch Project Status CR V

        Activity

          People

            kagro Kaj Grönholm
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change