Utils::ProgressIndicator Class
class Utils::ProgressIndicatorProgressIndicator 类显示一个循环播放、永不停歇的进度指示器。更多...
| Header: | #include <ProgressIndicator> |
| Inherits: | Utils::OverlayWidget |
公共函数
| ProgressIndicator(Utils::ProgressIndicatorSize size, QWidget *parent = nullptr) | |
| void | setIndicatorSize(Utils::ProgressIndicatorSize size) |
| QSize | sizeHint() const |
成员函数文档
[explicit] ProgressIndicator::ProgressIndicator(Utils::ProgressIndicatorSize size, QWidget *parent = nullptr)
创建一个大小为size 、父对象为parent 的ProgressIndicator。
另请参阅 setIndicatorSize()。
void ProgressIndicator::setIndicatorSize(Utils::ProgressIndicatorSize size)
将进度指示器的尺寸更改为size 。
另请参阅 ProgressIndicatorPainter::indicatorSize()。
QSize ProgressIndicator::sizeHint() const
返回指标的大小(以设备无关像素为单位)。
Copyright © The Qt Company Ltd. and other contributors. 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.