Utils::ProgressIndicator Class
class Utils::ProgressIndicatorTřída ProgressIndicator zobrazuje kruhový, nekonečně animovaný ukazatel průběhu. Více...
| Header: | #include <ProgressIndicator> |
| Inherits: | Utils::OverlayWidget |
Veřejné funkce
| ProgressIndicator(Utils::ProgressIndicatorSize size, QWidget *parent = nullptr) | |
| void | setIndicatorSize(Utils::ProgressIndicatorSize size) |
| QSize | sizeHint() const |
Podrobný popis
Použijte ji, pokud chcete naznačit, že probíhá nějaká činnost, ale nemáte k dispozici podrobné informace o průběhu potřebné pro pruh průběhu. Widget můžete buď vytvářet podle potřeby, nebo jej vytvořit jednou a zobrazovat jej pouze podle potřeby. Animace běží pouze tehdy, když je widget viditelný.
Dokumentace členských funkcí
[explicit] ProgressIndicator::ProgressIndicator(Utils::ProgressIndicatorSize size, QWidget *parent = nullptr)
Vytvoří objekt ProgressIndicator o velikosti size a s nadřazeným objektem parent.
Viz také setIndicatorSize().
void ProgressIndicator::setIndicatorSize(Utils::ProgressIndicatorSize size)
Změní velikost ukazatele průběhu na size.
Viz také ProgressIndicatorPainter::indicatorSize().
QSize ProgressIndicator::sizeHint() const
Vrací velikost indikátoru v pixelech nezávislých na zařízení.
Viz také 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.