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
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) Seeoperator>>(QDataStream&,
QPageRanges&) final void
swap
(QPageRanges other) SeeQPageRanges::
swap(QPageRanges&) final QList<QPageRanges.Range>
final String
toString()
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QPageRanges) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPageRanges
public QPageRanges() -
QPageRanges
-
-
Method Details
-
addPage
-
addRange
-
clear
-
contains
-
detach
See
QPageRanges::
detach() -
firstPage
-
isEmpty
-
lastPage
-
writeTo
See
operator<<(QDataStream&,
QPageRanges) -
assign
-
equals
See
operator==(QPageRanges,
QPageRanges) -
readFrom
See
operator>>(QDataStream&,
QPageRanges&) -
swap
See
QPageRanges::
swap(QPageRanges&) -
toRangeList
-
toString
-
fromString
-
equals
See
operator==(QPageRanges,
QPageRanges) -
hashCode
Returns the objects's hash code computed byqHash(QPageRanges)
. -
clone
Creates and returns a copy of this object.
-