Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlModelIndexValueType Struct Reference

#include <qqmlmodelindexvaluetype_p.h>

Collaboration diagram for QQmlModelIndexValueType:

Public Member Functions

Q_INVOKABLE QString toString () const
 Q_REVISION (6, 7) Q_INVOKABLE QVariant data(int role
 operator QModelIndex () const

Static Public Member Functions

static QPersistentModelIndex toPersistentModelIndex (const QModelIndex &index)

Public Attributes

QModelIndex v

Properties

int row
int column
QModelIndex parent
bool valid
QAbstractItemModelmodel
quint64 internalId

Detailed Description

Definition at line 26 of file qqmlmodelindexvaluetype_p.h.

Member Function Documentation

◆ operator QModelIndex()

QQmlModelIndexValueType::operator QModelIndex ( ) const
inline

Definition at line 62 of file qqmlmodelindexvaluetype_p.h.

◆ Q_REVISION()

QQmlModelIndexValueType::Q_REVISION ( 6 ,
7  )

◆ toPersistentModelIndex()

QPersistentModelIndex QQmlModelIndexValueType::toPersistentModelIndex ( const QModelIndex & index)
inlinestatic

Definition at line 59 of file qqmlmodelindexvaluetype_p.h.

◆ toString()

Q_INVOKABLE QString QQmlModelIndexValueType::toString ( ) const
inline

Definition at line 43 of file qqmlmodelindexvaluetype_p.h.

Member Data Documentation

◆ v

QModelIndex QQmlModelIndexValueType::v

Definition at line 28 of file qqmlmodelindexvaluetype_p.h.

Property Documentation

◆ column

int QQmlModelIndexValueType::column
read

◆ internalId

quint64 QQmlModelIndexValueType::internalId
read

Definition at line 35 of file qqmlmodelindexvaluetype_p.h.

◆ model

QAbstractItemModel * QQmlModelIndexValueType::model
read

Definition at line 34 of file qqmlmodelindexvaluetype_p.h.

◆ parent

QModelIndex QQmlModelIndexValueType::parent
read

Definition at line 32 of file qqmlmodelindexvaluetype_p.h.

◆ row

int QQmlModelIndexValueType::row
read

Definition at line 30 of file qqmlmodelindexvaluetype_p.h.

◆ valid

bool QQmlModelIndexValueType::valid
read

Definition at line 33 of file qqmlmodelindexvaluetype_p.h.


The documentation for this struct was generated from the following file: