java.lang.Object
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
-
Constructor Summary
ConstructorDescriptionQItemSelectionRange
(QModelIndex index) QItemSelectionRange
(QModelIndex topL, QModelIndex bottomR) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QItemSelectionRange other) SeeQItemSelectionRange::
operator=(QItemSelectionRange) final int
bottom()
final QPersistentModelIndex
clone()
Creates and returns a copy of this object.int
compareTo
(QItemSelectionRange other) final boolean
contains
(int row, int column, QModelIndex parentIndex) final boolean
contains
(QModelIndex index) final boolean
equals
(QItemSelectionRange other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QItemSelectionRange)
.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()
Seeoperator<<(QDebug,
QItemSelectionRange) final int
width()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QItemSelectionRange
public QItemSelectionRange() -
QItemSelectionRange
- Parameters:
other
-
-
QItemSelectionRange
- Parameters:
index
-
-
QItemSelectionRange
- Parameters:
topL
-bottomR
-
-
-
Method Details
-
bottom
- Returns:
-
bottomRight
- Returns:
-
contains
- Parameters:
index
-- Returns:
-
contains
- Parameters:
row
-column
-parentIndex
-- Returns:
-
height
- Returns:
-
indexes
- Returns:
-
intersected
- Parameters:
other
-- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
intersects
- Parameters:
other
-- Returns:
-
isEmpty
- Returns:
- Since:
- This function was introduced in Qt 4.7.
-
isValid
- Returns:
-
left
- Returns:
-
model
- Returns:
-
assign
See
QItemSelectionRange::
operator=(QItemSelectionRange) - Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
parent
- Returns:
-
right
- Returns:
-
swap
- Parameters:
other
-- Since:
- This function was introduced in Qt 5.6.
-
top
- Returns:
-
topLeft
- Returns:
-
width
- Returns:
-
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QItemSelectionRange>
-
hashCode
Returns the objects's hash code computed byqHash(QItemSelectionRange)
. -
toString
See
operator<<(QDebug,
QItemSelectionRange) -
clone
Creates and returns a copy of this object.
See
QItemSelectionRange::
QItemSelectionRange(QItemSelectionRange)
-