En esta página

Utils::ProgressIndicator Class

class Utils::ProgressIndicator

La clase `ProgressIndicator` muestra un indicador de progreso circular con animación continua. Más...

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

Funciones públicas

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

Descripción detallada

Úsala si deseas indicar que se está realizando alguna tarea, pero no dispones de la información detallada sobre el progreso necesaria para una barra de progreso. Puedes crear el control según sea necesario, o bien crearlo una sola vez y mostrarlo solo cuando sea necesario. La animación solo se ejecuta mientras el control está visible.

Documentación de las funciones de miembro

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

Crea un ProgressIndicator del tamaño size y con el elemento padre parent.

Véase también setIndicatorSize().

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

Cambia el tamaño del indicador de progreso a size.

Véase también ProgressIndicatorPainter::indicatorSize().

QSize ProgressIndicator::sizeHint() const

Devuelve el tamaño del indicador en píxeles independientes del dispositivo.

Véase también 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.