Skip to content
  • Nils Jeisecke's avatar
    Make GridView/ListView attached "view" property available to all delegate types · 1061c7e5
    Nils Jeisecke authored
    
    
    This is useful for accessing the view (e.g. "width", "cellWidth", ... properties)
    from within section (ListView only), header, footer and highlight delegate components.
    
    A typical usecase are components that are used in multiple views and therefore
    cannot use the views's id for access.
    
    The only attached property valid for those non-item delegates is "view". This
    has been added to the documentation.
    
    Change-Id: I33d976da778be23ed531a3b193ceee95ed9800d2
    Task-number: QTBUG-32836
    Reviewed-by: default avatarAlan Alpert <aalpert@blackberry.com>
    1061c7e5