Na tej strani

Utils::ProgressIndicator Class

class Utils::ProgressIndicator

Razred ProgressIndicator prikazuje krožni indikator napredka z neskončno animacijo. Več...

Header: #include <ProgressIndicator>
Inherits: Utils::OverlayWidget

Javne funkcije

ProgressIndicator(Utils::ProgressIndicatorSize size, QWidget *parent = nullptr)
void setIndicatorSize(Utils::ProgressIndicatorSize size)
QSize sizeHint() const

Podroben opis

Uporabite ga, če želite pokazati, da poteka neko delo, vendar nimate podrobnih informacij o napredku, potrebnih za prikazovalnik napredka. Widget lahko ustvarite po potrebi ali pa ga ustvarite enkrat in ga prikazujete le po potrebi. Animacija teče le, dokler je widget viden.

Dokumentacija funkcij članov

[explicit] ProgressIndicator::ProgressIndicator(Utils::ProgressIndicatorSize size, QWidget *parent = nullptr)

Ustvari objekt ProgressIndicator velikosti size in z nadrejenim objektom parent.

Glej tudi setIndicatorSize().

void ProgressIndicator::setIndicatorSize(Utils::ProgressIndicatorSize size)

Spremeni velikost indikatorja napredka na size.

Glej tudi ProgressIndicatorPainter::indicatorSize().

QSize ProgressIndicator::sizeHint() const

Vrne velikost indikatorja v pikslah, neodvisnih od naprave.

Glej tudi 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.