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

Computed Qt 6 properties cannot be writable

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.3
    • None
    • Core: Object Model
    • None

      There are properties that are computed instead of being tied to a specific data member, which can be created via Q_OBJECT_COMPUTED_PROPERTY. At the moment they can be only readable, which is probably enough for most of the use-cases. But there are also cases, when such properties need to be also writable, for example:

      • QVarinatAnimation::{startValue, endValue}
      • QSortFilterProxyModel::filterCaseSensitivity

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

            fabiankosmale Fabian Kosmale
            sonakur Sona Kurazyan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes