Range Struct

struct QPageRanges ::Range

The QPageRanges::Range struct holds the from and to endpoints of a range. 更多...

公共函数

bool contains (int pageNumber ) const

公共变量

int from
int to

详细描述

另请参阅 QPageRanges::toRangeList ().

成员函数文档编制

bool Range:: contains ( int pageNumber ) const

返回 true if pageNumber is within the interval [from, to] ;否则返回 false .

成员变量文档编制

int Range:: from

This variable holds the lower endpoint of the range

int Range:: to

This variable holds the upper endpoint of the range