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
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
QPersistentModelIndex & topLeft () const
QPersistentModelIndex & bottomRight () const
QModelIndex parent () const
QAbstractItemModel * model () 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
QAbstractItemModel * model

Detailed Description

Definition at line 98 of file qqmlmodelindexvaluetype_p.h.

Member Function Documentation

◆ bottom()

int QQmlItemSelectionRangeValueType::bottom ( ) const
inline

Definition at line 133 of file qqmlmodelindexvaluetype_p.h.

◆ bottomRight()

QPersistentModelIndex & QQmlItemSelectionRangeValueType::bottomRight ( ) const
inline

Definition at line 138 of file qqmlmodelindexvaluetype_p.h.

◆ contains() [1/2]

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

Definition at line 122 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 124 of file qqmlmodelindexvaluetype_p.h.

◆ height()

int QQmlItemSelectionRangeValueType::height ( ) const
inline

Definition at line 136 of file qqmlmodelindexvaluetype_p.h.

◆ intersected()

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

Definition at line 128 of file qqmlmodelindexvaluetype_p.h.

◆ intersects()

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

Definition at line 126 of file qqmlmodelindexvaluetype_p.h.

◆ isEmpty()

bool QQmlItemSelectionRangeValueType::isEmpty ( ) const
inline

Definition at line 142 of file qqmlmodelindexvaluetype_p.h.

◆ isValid()

bool QQmlItemSelectionRangeValueType::isValid ( ) const
inline

Definition at line 141 of file qqmlmodelindexvaluetype_p.h.

◆ left()

int QQmlItemSelectionRangeValueType::left ( ) const
inline

Definition at line 132 of file qqmlmodelindexvaluetype_p.h.

◆ model()

QAbstractItemModel * QQmlItemSelectionRangeValueType::model ( ) const
inline

Definition at line 140 of file qqmlmodelindexvaluetype_p.h.

◆ operator QItemSelectionRange()

QQmlItemSelectionRangeValueType::operator QItemSelectionRange ( ) const
inline

Definition at line 144 of file qqmlmodelindexvaluetype_p.h.

◆ parent()

QModelIndex QQmlItemSelectionRangeValueType::parent ( ) const
inline

Definition at line 139 of file qqmlmodelindexvaluetype_p.h.

◆ right()

int QQmlItemSelectionRangeValueType::right ( ) const
inline

Definition at line 134 of file qqmlmodelindexvaluetype_p.h.

◆ top()

int QQmlItemSelectionRangeValueType::top ( ) const
inline

Definition at line 131 of file qqmlmodelindexvaluetype_p.h.

◆ topLeft()

QPersistentModelIndex & QQmlItemSelectionRangeValueType::topLeft ( ) const
inline

Definition at line 137 of file qqmlmodelindexvaluetype_p.h.

◆ toString()

QString QQmlItemSelectionRangeValueType::toString ( ) const

Definition at line 24 of file qqmlmodelindexvaluetype.cpp.

◆ width()

int QQmlItemSelectionRangeValueType::width ( ) const
inline

Definition at line 135 of file qqmlmodelindexvaluetype_p.h.

Member Data Documentation

◆ v

QItemSelectionRange QQmlItemSelectionRangeValueType::v

Definition at line 100 of file qqmlmodelindexvaluetype_p.h.

Property Documentation

◆ bottom

int QQmlItemSelectionRangeValueType::bottom
read

Definition at line 104 of file qqmlmodelindexvaluetype_p.h.

◆ bottomRight

QPersistentModelIndex QQmlItemSelectionRangeValueType::bottomRight
read

Definition at line 109 of file qqmlmodelindexvaluetype_p.h.

◆ empty

bool QQmlItemSelectionRangeValueType::empty
read

Definition at line 112 of file qqmlmodelindexvaluetype_p.h.

◆ height

int QQmlItemSelectionRangeValueType::height
read

Definition at line 107 of file qqmlmodelindexvaluetype_p.h.

◆ left

int QQmlItemSelectionRangeValueType::left
read

◆ model

QAbstractItemModel * QQmlItemSelectionRangeValueType::model
read

Definition at line 113 of file qqmlmodelindexvaluetype_p.h.

◆ parent

QModelIndex QQmlItemSelectionRangeValueType::parent
read

Definition at line 110 of file qqmlmodelindexvaluetype_p.h.

◆ right

int QQmlItemSelectionRangeValueType::right
read

◆ top

int QQmlItemSelectionRangeValueType::top
read

Definition at line 102 of file qqmlmodelindexvaluetype_p.h.

◆ topLeft

QPersistentModelIndex QQmlItemSelectionRangeValueType::topLeft
read

Definition at line 108 of file qqmlmodelindexvaluetype_p.h.

◆ valid

bool QQmlItemSelectionRangeValueType::valid
read

Definition at line 111 of file qqmlmodelindexvaluetype_p.h.

◆ width

int QQmlItemSelectionRangeValueType::width
read

Definition at line 106 of file qqmlmodelindexvaluetype_p.h.


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