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
Modifier and TypeClassDescriptionstatic class
QPageRanges::Range struct holds the from and to endpoints of a range -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
addPage
(int pageNumber) final void
addRange
(int from, int to) final void
assign
(QPageRanges other) final void
clear()
clone()
Creates and returns a copy of this object.final boolean
contains
(int pageNumber) final void
detach()
SeeQPageRanges::
detach() final boolean
equals
(QPageRanges rhs) Seeoperator==(QPageRanges,
QPageRanges) boolean
Seeoperator==(QPageRanges,
QPageRanges) final int
static QPageRanges
fromString
(String ranges) int
hashCode()
Returns the objects's hash code computed byqHash(QPageRanges)
.final boolean
isEmpty()
final int
lastPage()
void
readFrom
(QDataStream arg__1) final void
swap
(QPageRanges other) SeeQPageRanges::
swap(QPageRanges&) 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
- 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.
-