Utils::ProgressIndicator Class
class Utils::ProgressIndicatorKlasa ProgressIndicator prikazuje kružni, beskonačno animirani pokazatelj napretka. Više...
| Header: | #include <ProgressIndicator> |
| Inherits: | Utils::OverlayWidget |
Javne funkcije
| ProgressIndicator(Utils::ProgressIndicatorSize size, QWidget *parent = nullptr) | |
| void | setIndicatorSize(Utils::ProgressIndicatorSize size) |
| QSize | sizeHint() const |
Detaljan opis
Koristite ga ako želite naznačiti da se nešto radi, ali nemate detaljne informacije o napretku potrebne za traku napretka. Widget možete stvoriti po potrebi ili ga stvoriti jednom i prikazivati ga samo po potrebi. Animacija se pokreće samo dok je widget vidljiv.
Dokumentacija funkcija člana
[explicit] ProgressIndicator::ProgressIndicator(Utils::ProgressIndicatorSize size, QWidget *parent = nullptr)
Konstruira ProgressIndicator veličine size i s roditeljem parent.
Vidi također setIndicatorSize().
void ProgressIndicator::setIndicatorSize(Utils::ProgressIndicatorSize size)
Mijenja veličinu pokazatelja napretka na size.
Vidi također ProgressIndicatorPainter::indicatorSize().
QSize ProgressIndicator::sizeHint() const
Vraća veličinu pokazivača u pikselima neovisnim o uređaju.
Vidi također ProgressIndicatorPainter::indicatorSize().
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.