From df7a3562be505eb9140ec4d5a24714bca322e475 Mon Sep 17 00:00:00 2001 From: Artur Wojcik Date: Mon, 28 Nov 2022 10:13:05 +0100 Subject: [PATCH] Update the documentation of the ProgressBar widget --- qrenderdoc/Code/Interface/Extensions.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qrenderdoc/Code/Interface/Extensions.h b/qrenderdoc/Code/Interface/Extensions.h index 54fc0248d..574d67d48 100644 --- a/qrenderdoc/Code/Interface/Extensions.h +++ b/qrenderdoc/Code/Interface/Extensions.h @@ -941,7 +941,9 @@ By default the progress bar has minimum and maximum values of 0 and 100. These c DOCUMENT(R"(Reset a progress bar widget. -The progress bar "rewinds" and shows no progress. The minimum and maximum values are not changed. +Rewinds the progress bar's indicator and hides the indicator's label (theme dependent). If you want +to keep the label visible, call :meth:`SetProgressBarValue(0)` instead. The minimum and maximum values +are not changed. :param QWidget pbar: the progress bar. )") @@ -976,7 +978,7 @@ the current value. If maximum is smaller than minimum, minimum is set as the maximum, too. If the current value falls outside the new range, the progress bar is reset. Use range (0, 0) to set the progress bar to -undetermined state. +indeterminated state (the progress cannot be estimated or is not being calculated). :param QWidget pbar: the progress bar. :param int minimum: the minimum value.