Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlItemSelectionRangeValueType Struct Reference

#include <qqmlmodelindexvaluetype_p.h>

+ Collaboration diagram for QQmlItemSelectionRangeValueType:

Public Member Functions

Q_INVOKABLE QString toString () const
 
Q_INVOKABLE bool contains (const QModelIndex &index) const
 
Q_INVOKABLE bool contains (int row, int column, const QModelIndex &parentIndex) const
 
Q_INVOKABLE bool intersects (const QItemSelectionRange &other) const
 
Q_INVOKABLE QItemSelectionRange intersected (const QItemSelectionRange &other) const
 
int top () const
 
int left () const
 
int bottom () const
 
int right () const
 
int width () const
 
int height () const
 
QPersistentModelIndextopLeft () const
 
QPersistentModelIndexbottomRight () const
 
QModelIndex parent () const
 
QAbstractItemModelmodel () const
 
bool isValid () const
 
bool isEmpty () const
 
 operator QItemSelectionRange () const
 

Public Attributes

QItemSelectionRange v
 

Properties

int top
 
int left
 
int bottom
 
int right
 
int width
 
int height
 
QPersistentModelIndex topLeft
 
QPersistentModelIndex bottomRight
 
QModelIndex parent
 
bool valid
 
bool empty
 
QAbstractItemModelmodel
 

Detailed Description

Definition at line 97 of file qqmlmodelindexvaluetype_p.h.

Member Function Documentation

◆ bottom()

int QQmlItemSelectionRangeValueType::bottom ( ) const
inline

Definition at line 132 of file qqmlmodelindexvaluetype_p.h.

◆ bottomRight()

QPersistentModelIndex & QQmlItemSelectionRangeValueType::bottomRight ( ) const
inline

Definition at line 137 of file qqmlmodelindexvaluetype_p.h.

◆ contains() [1/2]

Q_INVOKABLE bool QQmlItemSelectionRangeValueType::contains ( const QModelIndex & index) const
inline

Definition at line 121 of file qqmlmodelindexvaluetype_p.h.

◆ contains() [2/2]

Q_INVOKABLE bool QQmlItemSelectionRangeValueType::contains ( int row,
int column,
const QModelIndex & parentIndex ) const
inline

Definition at line 123 of file qqmlmodelindexvaluetype_p.h.

◆ height()

int QQmlItemSelectionRangeValueType::height ( ) const
inline

Definition at line 135 of file qqmlmodelindexvaluetype_p.h.

◆ intersected()

Q_INVOKABLE QItemSelectionRange QQmlItemSelectionRangeValueType::intersected ( const QItemSelectionRange & other) const
inline

Definition at line 127 of file qqmlmodelindexvaluetype_p.h.

References QItemSelectionRange::intersected(), and other().

+ Here is the call graph for this function:

◆ intersects()

Q_INVOKABLE bool QQmlItemSelectionRangeValueType::intersects ( const QItemSelectionRange & other) const
inline

Definition at line 125 of file qqmlmodelindexvaluetype_p.h.

References other().

+ Here is the call graph for this function:

◆ isEmpty()

bool QQmlItemSelectionRangeValueType::isEmpty ( ) const
inline

Definition at line 141 of file qqmlmodelindexvaluetype_p.h.

◆ isValid()

bool QQmlItemSelectionRangeValueType::isValid ( ) const
inline

Definition at line 140 of file qqmlmodelindexvaluetype_p.h.

◆ left()

int QQmlItemSelectionRangeValueType::left ( ) const
inline

Definition at line 131 of file qqmlmodelindexvaluetype_p.h.

◆ model()

QAbstractItemModel * QQmlItemSelectionRangeValueType::model ( ) const
inline

Definition at line 139 of file qqmlmodelindexvaluetype_p.h.

◆ operator QItemSelectionRange()

QQmlItemSelectionRangeValueType::operator QItemSelectionRange ( ) const
inline

Definition at line 143 of file qqmlmodelindexvaluetype_p.h.

References v.

◆ parent()

QModelIndex QQmlItemSelectionRangeValueType::parent ( ) const
inline

Definition at line 138 of file qqmlmodelindexvaluetype_p.h.

References QModelIndex::parent().

+ Here is the call graph for this function:

◆ right()

int QQmlItemSelectionRangeValueType::right ( ) const
inline

Definition at line 133 of file qqmlmodelindexvaluetype_p.h.

◆ top()

int QQmlItemSelectionRangeValueType::top ( ) const
inline

Definition at line 130 of file qqmlmodelindexvaluetype_p.h.

◆ topLeft()

QPersistentModelIndex & QQmlItemSelectionRangeValueType::topLeft ( ) const
inline

Definition at line 136 of file qqmlmodelindexvaluetype_p.h.

◆ toString()

QString QQmlItemSelectionRangeValueType::toString ( ) const

Definition at line 23 of file qqmlmodelindexvaluetype.cpp.

References QString::arg(), and QQmlPersistentModelIndexValueType::toString().

+ Here is the call graph for this function:

◆ width()

int QQmlItemSelectionRangeValueType::width ( ) const
inline

Definition at line 134 of file qqmlmodelindexvaluetype_p.h.

Member Data Documentation

◆ v

QItemSelectionRange QQmlItemSelectionRangeValueType::v

Definition at line 99 of file qqmlmodelindexvaluetype_p.h.

Referenced by operator QItemSelectionRange().

Property Documentation

◆ bottom

int QQmlItemSelectionRangeValueType::bottom
read

Definition at line 103 of file qqmlmodelindexvaluetype_p.h.

◆ bottomRight

QPersistentModelIndex QQmlItemSelectionRangeValueType::bottomRight
read

Definition at line 108 of file qqmlmodelindexvaluetype_p.h.

◆ empty

bool QQmlItemSelectionRangeValueType::empty
read

Definition at line 111 of file qqmlmodelindexvaluetype_p.h.

◆ height

int QQmlItemSelectionRangeValueType::height
read

Definition at line 106 of file qqmlmodelindexvaluetype_p.h.

◆ left

int QQmlItemSelectionRangeValueType::left
read

Definition at line 102 of file qqmlmodelindexvaluetype_p.h.

◆ model

QAbstractItemModel * QQmlItemSelectionRangeValueType::model
read

Definition at line 112 of file qqmlmodelindexvaluetype_p.h.

◆ parent

QModelIndex QQmlItemSelectionRangeValueType::parent
read

Definition at line 109 of file qqmlmodelindexvaluetype_p.h.

◆ right

int QQmlItemSelectionRangeValueType::right
read

Definition at line 104 of file qqmlmodelindexvaluetype_p.h.

◆ top

int QQmlItemSelectionRangeValueType::top
read

Definition at line 101 of file qqmlmodelindexvaluetype_p.h.

◆ topLeft

QPersistentModelIndex QQmlItemSelectionRangeValueType::topLeft
read

Definition at line 107 of file qqmlmodelindexvaluetype_p.h.

◆ valid

bool QQmlItemSelectionRangeValueType::valid
read

Definition at line 110 of file qqmlmodelindexvaluetype_p.h.

◆ width

int QQmlItemSelectionRangeValueType::width
read

Definition at line 105 of file qqmlmodelindexvaluetype_p.h.


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