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

QML types with properties that are neither CONSTANT nor NOTIFYable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.9.0
    • Quick: Other
    • None

    Description

      Following the discovery of AnimatedImage.frameCount neither being CONSTANT nor NOTIFYable as reporetd in QTBUG-62913 I wrote a unit test that checks all registered types for a set of given QML modules:

      • QtQml,
      • QtQml.Models
      • QtQuick
      • QtQuick.Windows
      • QtQuick.Dialogs
      • QtQuick.Layouts
      • QtQuick.Controls
      • QtQuick.Templates

      The affected properties and their defining types are

      QtQml.Models/DelegateModel:
              QQmlDelegateModel::delegate
              QQmlDelegateModel::model
      QtQml.Models/ListModel:
              QQmlListModel::dynamicRoles
      QtQml/Binding:
              QQmlBind::delayed
              QQmlBind::property
              QQmlBind::target
              QQmlBind::value
              QQmlBind::when
      QtQml/Connections:
              QQmlConnections::ignoreUnknownSignals
      QtQml/LoggingCategory:
              QQmlLoggingCategory::name
      QtQuick.Window/Window:
              QQuickWindow::data
      QtQuick/AnchorAnimation:
              QQuickAnchorAnimation::targets
      QtQuick/AnchorChanges:
              QQuickAnchorChanges::target
      QtQuick/Behavior:
              QQuickBehavior::animation
      QtQuick/ColorAnimation:
              QQuickColorAnimation::from
              QQuickColorAnimation::to
      QtQuick/Flickable:
              QQuickFlickable::flickableChildren
              QQuickFlickable::flickableData
      QtQuick/Gradient:
              QQuickGradient::stops
      QtQuick/GradientStop:
              QQuickGradientStop::color
              QQuickGradientStop::position
      QtQuick/Item:
              QQuickItem::data
              QQuickItem::resources
              QQuickItem::states
              QQuickItem::transform
              QQuickItem::transformOriginPoint
              QQuickItem::transitions
      QtQuick/Keys:
              QQuickKeysAttached::forwardTo
      QtQuick/MultiPointTouchArea:
              QQuickMultiPointTouchArea::touchPoints
      QtQuick/NumberAnimation:
              QQuickNumberAnimation::from
              QQuickNumberAnimation::to
      QtQuick/Package:
              QQuickPackage::data
      QtQuick/ParentChange:
              QQuickParentChange::height
              QQuickParentChange::parent
              QQuickParentChange::rotation
              QQuickParentChange::scale
              QQuickParentChange::target
              QQuickParentChange::width
              QQuickParentChange::x
              QQuickParentChange::y
      QtQuick/Path:
              QQuickPath::pathElements
      QtQuick/Pinch:
              QQuickPinch::target
      QtQuick/PropertyAction:
              QQuickPropertyAction::exclude
              QQuickPropertyAction::targets
      QtQuick/PropertyAnimation:
              QQuickPropertyAnimation::exclude
              QQuickPropertyAnimation::targets
      QtQuick/PropertyChanges:
              QQuickPropertyChanges::explicit
              QQuickPropertyChanges::restoreEntryValues
              QQuickPropertyChanges::target
      QtQuick/Rectangle:
              QQuickRectangle::gradient
      QtQuick/RotationAnimation:
              QQuickRotationAnimation::from
              QQuickRotationAnimation::to
      QtQuick/ScriptAction:
              QQuickScriptAction::script
              QQuickScriptAction::scriptName
      QtQuick/SpringAnimation:
              QQuickSpringAnimation::damping
              QQuickSpringAnimation::epsilon
              QQuickSpringAnimation::spring
              QQuickSpringAnimation::velocity
      QtQuick/SpriteSequence:
              QQuickSpriteSequence::sprites
      QtQuick/State:
              QQuickState::changes
              QQuickState::extend
              QQuickState::name
              QQuickState::when
      QtQuick/StateChangeScript:
              QQuickStateChangeScript::name
              QQuickStateChangeScript::script
      QtQuick/StateGroup:
              QQuickStateGroup::states
              QQuickStateGroup::transitions
      QtQuick/Transition:
              QQuickTransition::animations
      QtQuick/Vector3dAnimation:
              QQuickVector3dAnimation::from
              QQuickVector3dAnimation::to
      

      See the linked Gerrit change request for the test itself.
      Additional to the output above it also reports properties of any base class in a second check.

      Attachments

        For Gerrit Dashboard: QTBUG-63120
        # Subject Branch Project Status CR V

        Activity

          People

            w00t Robin Burchell
            krake Kevin Krammer
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes