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

Separate component logic from UI.QML files

    XMLWordPrintable

Details

    Description

      The UI.QML should contain only the visual representation and nothing more. The UI QML can be created by 3rd party software, like Figma. If the design changes, only the UI.QML is changed.

      When UI.QML is file is created, a corresponding QML file is created as well. There should be tight coupling between these. Only if properties shared between both of these are changed, the files need to be refreshed. File "ownership"

      Designer: UI.QML, layout , visual representation

      Developer: QML, animations, utility functions, extra property bindings

      This strcuture would allow developer to edit and modify QML files and at the same time designer can update designs in 3rd party tooling as much as then way.

      ​This is also discussed in:

      https://intranet.qt.io/pages/viewpage.action?pageId=265259314

       

      Attachments

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

        Activity

          People

            algerman Aleksei German
            productboard Productboard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes