java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QItemSelectionRange
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Manages information about a range of selected items in a model
Java wrapper for Qt's class QItemSelectionRange
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQItemSelectionRange
(QModelIndex index) QItemSelectionRange
(QModelIndex topL, QModelIndex bottomR) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
bottom()
final QPersistentModelIndex
clone()
final boolean
contains
(int row, int column, QModelIndex parentIndex) final boolean
contains
(QModelIndex index) boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final int
height()
final QList<QModelIndex>
indexes()
final QItemSelectionRange
intersected
(QItemSelectionRange other) final boolean
intersects
(QItemSelectionRange other) final boolean
isEmpty()
final boolean
isValid()
final int
left()
final QAbstractItemModel
model()
final QModelIndex
parent()
final int
right()
final void
swap
(QItemSelectionRange other) final int
top()
final QPersistentModelIndex
topLeft()
toString()
final int
width()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QItemSelectionRange
public 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 the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-