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 class QPageRanges
- Since:
- This class was introduced in Qt 6.0.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classQPageRanges::Range struct holds the from and to endpoints of a range -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddPage(int pageNumber) final voidaddRange(int from, int to) final voidassign(QPageRanges other) final voidclear()clone()Creates and returns a copy of this object.final booleancontains(int pageNumber) final voiddetach()SeeQPageRanges::detach() final booleanequals(QPageRanges rhs) Seeoperator==(QPageRanges,QPageRanges) booleanSeeoperator==(QPageRanges,QPageRanges) final intstatic QPageRangesfromString(String ranges) inthashCode()Returns the objects's hash code computed byqHash(QPageRanges).final booleanisEmpty()final intlastPage()voidreadFrom(QDataStream arg__1) final voidswap(QPageRanges other) SeeQPageRanges::swap(QPageRanges&) final QList<QPageRanges.Range>final StringtoString()voidwriteTo(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPageRanges
public QPageRanges() -
QPageRanges
- Parameters:
other-
-
-
Method Details
-
addPage
- Parameters:
pageNumber-
-
addRange
- Parameters:
from-to-
-
clear
-
contains
- Parameters:
pageNumber-- Returns:
-
detach
See
QPageRanges::detach() -
firstPage
- Returns:
-
isEmpty
- Returns:
-
lastPage
- Returns:
-
writeTo
- Parameters:
arg__1-
-
assign
- Parameters:
other-
-
equals
See
operator==(QPageRanges,QPageRanges) - Parameters:
rhs-- Returns:
-
readFrom
- Parameters:
arg__1-
-
swap
See
QPageRanges::swap(QPageRanges&) - Parameters:
other-
-
toRangeList
- Returns:
-
toString
-
fromString
- Parameters:
ranges-- Returns:
-
equals
See
operator==(QPageRanges,QPageRanges) -
hashCode
Returns the objects's hash code computed byqHash(QPageRanges). -
clone
Creates and returns a copy of this object.
-