QPageRanges::Range Struct

struct QPageRanges::Range

QPageRanges::Range 结构用于保存范围的fromto 端点。更多

公共函数

bool contains(int pageNumber) const

公共变量

int from
int to

详细说明

另请参见 QPageRanges::toRangeList().

成员函数文档

[noexcept] bool Range::contains(int pageNumber) const

如果pageNumber 在区间[from, to] 内,则返回true ;否则返回false

成员变量文档

int Range::from

该变量保存量程的下限值

int Range::to

该变量保存量程的上端点

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.