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

objectName cannot be set in the Properties view for Safe QML types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • QDS 4.3
    • Property View
    • None

    Description

      The documentation about Qt Safe Renderer(https://doc.qt.io/QtSafeRenderer/qtsr-qml-types.html#constraints) says:

      The objectName and the id must be equal. Otherwise an unhandled exception is thrown. 

      However, objectName property is not there in the Properties View, therefore, the UI/UX designers must set them in the Code. I've confirmed this for SafeText(https://doc.qt.io/QtSafeRenderer/qml-qt-saferenderer-safetext.html), SafeImage(https://doc.qt.io/QtSafeRenderer/qml-qt-saferenderer-safeimage.html) and SafePicture(https://doc.qt.io/QtSafeRenderer/qml-qt-saferenderer-safepicture.html).

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes