Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlModelIndexValueType Struct Reference

#include <qqmlmodelindexvaluetype_p.h>

+ Collaboration diagram for QQmlModelIndexValueType:

Public Member Functions

Q_INVOKABLE QString toString () const
 
int row () const noexcept
 
int column () const noexcept
 
QModelIndex parent () const
 
bool isValid () const noexcept
 
QAbstractItemModelmodel () const noexcept
 
quint64 internalId () const
 
 operator QModelIndex () const
 

Static Public Member Functions

static QString propertiesString (const QModelIndex &idx)
 
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 25 of file qqmlmodelindexvaluetype_p.h.

Member Function Documentation

◆ column()

int QQmlModelIndexValueType::column ( ) const
inlinenoexcept

Definition at line 46 of file qqmlmodelindexvaluetype_p.h.

◆ internalId()

quint64 QQmlModelIndexValueType::internalId ( ) const
inline

Definition at line 51 of file qqmlmodelindexvaluetype_p.h.

◆ isValid()

bool QQmlModelIndexValueType::isValid ( ) const
inlinenoexcept

Definition at line 48 of file qqmlmodelindexvaluetype_p.h.

◆ model()

QAbstractItemModel * QQmlModelIndexValueType::model ( ) const
inlinenoexcept

Definition at line 49 of file qqmlmodelindexvaluetype_p.h.

◆ operator QModelIndex()

QQmlModelIndexValueType::operator QModelIndex ( ) const
inline

Definition at line 58 of file qqmlmodelindexvaluetype_p.h.

References v.

◆ parent()

QModelIndex QQmlModelIndexValueType::parent ( ) const
inline

Definition at line 47 of file qqmlmodelindexvaluetype_p.h.

References QModelIndex::parent().

+ Here is the call graph for this function:

◆ propertiesString()

QT_BEGIN_NAMESPACE QString QQmlModelIndexValueType::propertiesString ( const QModelIndex idx)
static

Definition at line 11 of file qqmlmodelindexvaluetype.cpp.

References QString::arg(), QModelIndex::column(), QModelIndex::internalId(), QModelIndex::isValid(), QModelIndex::model(), and QModelIndex::row().

Referenced by toString(), and QQmlPersistentModelIndexValueType::toString().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ row()

int QQmlModelIndexValueType::row ( ) const
inlinenoexcept

Definition at line 45 of file qqmlmodelindexvaluetype_p.h.

◆ toPersistentModelIndex()

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

Definition at line 55 of file qqmlmodelindexvaluetype_p.h.

◆ toString()

Q_INVOKABLE QString QQmlModelIndexValueType::toString ( ) const
inline

Definition at line 42 of file qqmlmodelindexvaluetype_p.h.

References propertiesString().

+ Here is the call graph for this function:

Member Data Documentation

◆ v

QModelIndex QQmlModelIndexValueType::v

Definition at line 27 of file qqmlmodelindexvaluetype_p.h.

Referenced by operator QModelIndex().

Property Documentation

◆ column

int QQmlModelIndexValueType::column
read

Definition at line 27 of file qqmlmodelindexvaluetype_p.h.

◆ internalId

quint64 QQmlModelIndexValueType::internalId
read

Definition at line 27 of file qqmlmodelindexvaluetype_p.h.

◆ model

QAbstractItemModel * QQmlModelIndexValueType::model
read

Definition at line 27 of file qqmlmodelindexvaluetype_p.h.

◆ parent

QModelIndex QQmlModelIndexValueType::parent
read

Definition at line 27 of file qqmlmodelindexvaluetype_p.h.

◆ row

int QQmlModelIndexValueType::row
read

Definition at line 27 of file qqmlmodelindexvaluetype_p.h.

◆ valid

bool QQmlModelIndexValueType::valid
read

Definition at line 27 of file qqmlmodelindexvaluetype_p.h.


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