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

Add support for new startAngle and endAngle properties to Imagine style Dial

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Quick: Controls 2
    • None

    Description

      This was partially implemented in https://codereview.qt-project.org/c/qt/qtdeclarative/+/467429/18, but it currently breaks existing usages of the Imagine style, as it cuts out a section of the background image. We should instead add an addition image, e.g. "dial-mask" that is a child of the background image, and is used purely to draw the "progress" of the dial. That way, existing applications can continue using the old fixed start and angle assets, and opt-in to the dynamic angles by altering dial-background and adding dial-mask.

      We also need to adapt Sketch file for Dial's customisable start and end angle changes.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change