StandardItem QML Type

The StandardItem is the base class of a row in the PagingModel and derived models. More...

Import Statement: import QtInterfaceFramework
In C++: QIfStandardItem

Properties

Detailed Description

Note: This item is not creatable from QML.

Property Documentation

data : object

A generic data field which can hold any data.

This can be moved for storing additional data which is not part of the base class. E.g. the "composer" of an audio track.


id : string

A unique identifier, which can be used to identify this item.

This is mainly used by the backend to implement filtering or browsing.


name : string [read-only]

The name of the item. E.g. The name of a contact in a addressbook, or the artist-name in a list of artists.


type : string [read-only]

The type of the item. E.g. "artist", "track", "contact".


© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.