![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtGui More...
#include <qpageranges.h>
Public Member Functions | |
bool | contains (int pageNumber) const noexcept |
\variable QPageRanges::Range::from | |
Public Attributes | |
int | from = -1 |
int | to = -1 |
Friends | |
bool | operator== (Range lhs, Range rhs) noexcept |
bool | operator!= (Range lhs, Range rhs) noexcept |
bool | operator< (Range lhs, Range rhs) noexcept |
\inmodule QtGui
The QPageRanges::Range struct holds the from
and to
endpoints of a range.
Definition at line 39 of file qpageranges.h.
|
inlinenoexcept |
\variable QPageRanges::Range::from
the lower endpoint of the range
\variable QPageRanges::Range::to
the upper endpoint of the range
Returns true
if pageNumber is within the interval {[from, to]}; otherwise returns
false
.
Definition at line 42 of file qpageranges.h.
Definition at line 46 of file qpageranges.h.
Definition at line 48 of file qpageranges.h.
Definition at line 44 of file qpageranges.h.
int QPageRanges::Range::from = -1 |
Definition at line 40 of file qpageranges.h.
int QPageRanges::Range::to = -1 |
Definition at line 41 of file qpageranges.h.