java.lang.Object
io.qt.QtObject
io.qt.gui.QPageRanges
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a collection of page ranges
Java wrapper for Qt's class QPageRanges
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
QPageRanges::Range struct holds the from and to endpoints of a rangeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQPageRanges
(QPageRanges other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addPage
(int pageNumber) final void
addRange
(int from, int to) final void
clear()
clone()
final boolean
contains
(int pageNumber) final void
detach()
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.final int
static QPageRanges
fromString
(String ranges) int
hashCode()
final boolean
isEmpty()
final int
lastPage()
void
readFrom
(QDataStream arg__1) final void
swap
(QPageRanges other) final QList<QPageRanges.Range>
final String
toString()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPageRanges
public QPageRanges() -
QPageRanges
-
QPageRanges
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addPage
-
addRange
-
clear
-
contains
-
detach
-
firstPage
-
isEmpty
-
lastPage
-
writeTo
-
readFrom
-
swap
-
toRangeList
-
toString
-
fromString
-
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
-
clone
-