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

HButton binding source path properties in root node on template qml file can't be replaced properly

    XMLWordPrintable

Details

    Description

      If there are binding source path properties in root node on HButton template qml file,  source path properties' replacement isn't done in a way we want during component merging. it is  just only  property name and value(path) with no "property string"  keyword. so then, merged qml file causes a warning message of invalid on QDS. 

       

      • - before merging –

      import ccOS.GUI.Controls 2.0

      T.Button {
      id: control
      objectName: "HButton"
      property string backgroundSrc: relativeBGPath

       

      background: HNinePatchImage

      {            id: innerBackground }

      }

       

      – after merging –

      import ccOS.GUI.Controls 2.0

      T.Button {
      id: control
      objectName: "HButton"
      backgroundSrc: "assets/bco_btn_bg_bottom"

       

      background: HNinePatchImage

      {            id: innerBackground }

      }

      Attachments

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

        Activity

          People

            susim sungbo sim (Inactive)
            susim sungbo sim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes