java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QItemSelectionRange
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QItemSelectionRange>
public class QItemSelectionRange extends QtObject implements Comparable<QItemSelectionRange>, Cloneable
Manages information about a range of selected items in a model
Java wrapper for Qt class QItemSelectionRange
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QItemSelectionRange()
QItemSelectionRange(QItemSelectionRange other)
QItemSelectionRange(QModelIndex index)
QItemSelectionRange(QModelIndex topL, QModelIndex bottomR)
protected
QItemSelectionRange(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description int
bottom()
QPersistentModelIndex
bottomRight()
QItemSelectionRange
clone()
int
compareTo(QItemSelectionRange other)
boolean
contains(int row, int column, QModelIndex parentIndex)
boolean
contains(QModelIndex index)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
int
height()
QList<QModelIndex>
indexes()
QItemSelectionRange
intersected(QItemSelectionRange other)
boolean
intersects(QItemSelectionRange other)
boolean
isEmpty()
boolean
isValid()
int
left()
QAbstractItemModel
model()
QModelIndex
parent()
int
right()
void
swap(QItemSelectionRange other)
int
top()
QPersistentModelIndex
topLeft()
String
toString()
int
width()
-
Constructor Details
-
QItemSelectionRange
public QItemSelectionRange() -
QItemSelectionRange
-
QItemSelectionRange
-
QItemSelectionRange
-
QItemSelectionRange
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
bottom
-
bottomRight
-
contains
-
contains
-
height
-
indexes
-
intersected
-
intersects
-
isEmpty
-
isValid
-
left
-
model
-
parent
-
right
-
swap
-
top
-
topLeft
-
width
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QItemSelectionRange>
-
hashCode
-
toString
-
clone
-