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

conditional qml Settings component

    XMLWordPrintable

Details

    Description

      Hi,

      I want to use Settings under certain conditions

      However Settings does not have an enabled attribute, so I tried to wrap it in an item.

          Item {
              enabled: false
              Settings {
                  property alias x: myItem.x
                  property alias y: myItem.y
                  property alias width: myItem.width
                  property alias height: myItem.height
              }
          }
      

       

      However setting enabled : false on the item does not deactivate the Settings, coordinates are still being synchronized.

       

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            reg31 Regis Duflaut
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes