Add more details to Slider Plasma Component documentation

Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
This commit is contained in:
Daker Fernandes Pinheiro 2011-11-26 19:20:32 -03:00
parent f50fb6e6d6
commit cb0a478bf5

View File

@ -26,37 +26,61 @@ Imports:
org.kde.plasma.core org.kde.plasma.core
Description: Description:
A simple slider. An interactive slider component with Plasma look and feel.
Properties: Properties:
alias stepSize: range.stepSize int stepSize: range.stepSize
Sets the step with which the slider will move. This property holds in how many steps the slider value can be selected within it's
range value.
alias minimumValue: real minimumValue:
TODO This property holds the minimun value that the slider's value can assume.
alias maximumValue: The default value is 0.
TODO
alias value:
TODO
int orientation: real maximumValue:
Sets the orientation for the slider. This property holds the maximum value that the slider's value can assume.
The default value is 1.
alias pressed: real value:
If it is true then the slider has been pressed. This property holds the value selected inside the minimun to maximum range of value.
The default value is 0.
enumeration orientation:
This property holds the orientation for this component.
The orientation can assume Qt.Horizontal and Qt.Vertical values.
The default is Qt.Horizontal.
bool pressed:
This property holds if the Slider is being pressed or not.
Read-only.
bool valueIndicatorVisible: bool valueIndicatorVisible:
This property holds if a value indicator element will be shown while is dragged or not.
! The value indicator is not implemented in the Plasma Slider.
The default value is false.
string valueIndicatorText: string valueIndicatorText:
This property holds the text being displayed in the value indicator.
! The value indicator is not implemented in the Plasma Slider.
Read-only.
Plasma Properties:
bool animated: bool animated:
Sets if the slider will animate or not. This property holds if the slider will animate or not when other point is clicked,
and the slider handler is not being dragged.
The default value is false.
alias inverted: alias inverted:
This property holds if the slider visualizations has an inverted direction.
The default value is false.
bool updateValueWhileDragging: bool updateValueWhileDragging:
This property holds if the value is updated while dragging or if it applies only
when the slider's handler is released.
real handleSize: real handleSize:
This property holds the size of the Slider's handle.
**/ **/
import QtQuick 1.0 import QtQuick 1.0