Feature #271

WProgressBar

Added by Omer Katz about 2 years ago. Updated over 1 year ago.

Status:Closed Start:01/18/2010
Priority:High Due date:
Assigned to:Koen Deforche % Done:

0%

Category:-
Target version:-

Description

Currently there is only a Wt::Ext::ProgressDialog but a progress bar widget is missing.
It should be fairly easy to create one.
To create a pretty one is a problem :)
It should incorporate:
1) A function to set it's own value
2) A function that increases it's own value by 1
3) A function that decreases it's own value by 1
4) Setters and getters for maximum and minimum value.
5) An event that will be emitted when the progress bar is at 100%

Those, excluding clause 1, are missing in Ext::ProgressDialog and should be added as well.

ProgressBar.tar.gz - WProgressBar (1.1 KB) Thomas Suckow, 09/13/2010 09:11 pm

progress.png - Preview (842 Bytes) Thomas Suckow, 09/13/2010 09:11 pm

History

Updated by Omer Katz about 2 years ago

I mistakenly labeled it as a bug, please change.

Updated by Wim Dumon about 2 years ago

  • Tracker changed from Bug to Feature

Updated by Thomas Suckow over 1 year ago

Here is a simple progress bar that can be extended through styling (Currently a green bar on grey). It satisfies desires 1-4.

Things to note: Currently the size is hard coded in the css. This should be trivial to move into resize().
The CSS class name does not follow the Wt internal standard.
With some CSS love this thing could probably look really pretty.

Updated by Thomas Suckow over 1 year ago

Updated by Koen Deforche over 1 year ago

  • Status changed from New to Resolved

Integrated WProgressBar in Wt; made it HTML5-<progress> element ready.

Updated by Koen Deforche over 1 year ago

  • Status changed from Resolved to Closed

Fixed in 3.1.6

Also available in: Atom PDF