This example will run a progress bar in indeterminate mode (with monitor)
then switch back to determinate mode when reached a limit (internal value > 240).
This example requires mandatory resources :
And also but optional :
The progress meter wait 200ms (line 51) between each step (line 52) in indeterminate mode. This mode is activated on line 57.
Background of progress bar is changed (line 53):
Property | Value | Default |
---|---|---|
background-color | #E0E0E0 | #FFFFFF |
auto-size | true |
There are 10 cells (line 54) with :
Property | Value | Default |
---|---|---|
active-color | #996 | #006600 |
inactive-color | #CCCCCC | |
width | 15 | |
height | 20 | |
spacing | 2 |
The percent text info (line 55) when progress meter will be in determinate mode:
Property | Value | Default |
---|---|---|
left | 5 | |
top | 5 | |
width | 50 | |
height | 0 | |
align | right | |
valign | right | |
background-color | ||
font-size | 11 | |
font-family | Verdana, Tahoma, Arial | |
font-weight | normal | |
color | #996 | #000000 |
class | progressPercentLabel%s |
And the status monitor line (line 56 with default id.) :
Property | Value | Default |
---|---|---|
class | progressTextLabel%s | |
width | 0 | |
height | 0 | |
font-size | 10 | 11 |
font-family | Verdana, Tahoma, Arial | |
font-weight | normal | |
color | black | #000000 |
background-color | ||
align | left | |
valign | bottom |
Monitor renderers are allows by QF renderers itself (lines 82-103):
See also :