docs for progressbar

This commit is contained in:
Marco Martin 2011-12-19 17:47:42 +01:00
parent 68c013293c
commit 4df3869dc6

View File

@ -27,26 +27,28 @@ Imports:
Description: Description:
It is a simple progressBar which is using the plasma theme. It is a simple progressBar which is using the plasma theme.
TODO Do we need more info? Some operations take a period of time to be performed and the user needs a confirmation that the operation is still ongoing. If the user does not get any confirmation, they might suspect that they did something wrong or that the device has broken. A progress bar is one of available mechanisms for providing this reassurance to the user.
Properties: Properties:
alias minimumValue: * real minimumValue:
Sets the minimumValue for the progressBar Minimum Value for the progressBar
alias maximumValue: * real maximumValue:
Sets the maximumValue for the progressBar Maximum value for the progressBar
alias value: real value:
Returns the current value of the progressBar Current value of the progressBar
alias indeterminate: * bool indeterminate:
TODO needs info Indicates whether the operation's duration is known or not. The property can have the following values:
true - the operation's duration is unknown, so the progress bar is animated. The value, minimum, and maximum properties are ignored.
false - the operation's duration is known, so the progress bar is drawn to indicate progress between the minimum and maximum values.
The default value is false.
int orientation: * int orientation:
Sets the orientation of the progressBar Orientation of the progressBar:
Qt.Horizontal or
bool _isVertical: Qt.Vertical
Returns true if the progressBar is vertical.
**/ **/
import QtQuick 1.0 import QtQuick 1.0