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

[Research] Variant support

    XMLWordPrintable

Details

    • Epic
    • Resolution: Fixed
    • P2: Important
    • QDS 3.3
    • QDS 2.2.0
    • Qt Bridge Importer
    • None

    Description

      Research how to implement proper variant support to be able to create vanilla release and change customization just by switching the variant.

      Areas to study:

      • Support State Syntax
      • Detect if a State Variant is found in the Variant name syntax
      • If a State Variant is found keep track of id’s in each Variant
      • If id’s match keep track of property changes
      • Create States in qds and apply property changes to the correct State
      • If a merge template is known (Button) and a state is know (Hover) add the correct when condition
      • Detect if Theme Variant is found in the Variant name syntax
      • If Theme Variant is found and Colours use the Style name, keep track of which theme is applied
      • Apply the correct id in each case, or apply the appended id generated in creating the library style
      • Detect if another non-qml Variant is defined (Brand)
      • Keep track of id’s and property changes between id’s
      • Either a) creates states with Variants full syntax
        (Brand=QDS > brand-qds and Brand=Creator > brand-creator)
        Or b) Create Components with variants value appended.

      Attachments

        Issue Links

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

          Activity

            People

              vikas Vikas Pachdha
              javihria Jarko Vihriälä
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes