replace tabs with space.
This commit is contained in:
parent
c9bfe00345
commit
3fb4a78ed5
@ -30,39 +30,39 @@ Imports:
|
||||
|
||||
Description:
|
||||
A simple button, with optional label and icon which uses the plasma theme.
|
||||
This button component can also be used as a checkable button by using the checkable
|
||||
and checked properties for that.
|
||||
This button component can also be used as a checkable button by using the checkable
|
||||
and checked properties for that.
|
||||
Plasma theme is the theme which changes via the systemsetting-workspace appearance
|
||||
-desktop theme.
|
||||
|
||||
Properties:
|
||||
* bool checked:
|
||||
This property holds whether this button is checked or not.
|
||||
The button must be in the checkable state for enable users check or uncheck it.
|
||||
The default value is false.
|
||||
See also checkable property.
|
||||
The button must be in the checkable state for enable users check or uncheck it.
|
||||
The default value is false.
|
||||
See also checkable property.
|
||||
|
||||
* bool checkable:
|
||||
This property holds if the button is acting like a checkable button or not.
|
||||
The default value is false.
|
||||
The default value is false.
|
||||
|
||||
* bool pressed:
|
||||
* bool pressed:
|
||||
This property holds if the button is pressed or not.
|
||||
Read-only.
|
||||
Read-only.
|
||||
|
||||
* string text:
|
||||
* string text:
|
||||
This property holds the text label for the button.
|
||||
For example,the ok button has text 'ok'.
|
||||
The default value for this property is an empty string.
|
||||
The default value for this property is an empty string.
|
||||
|
||||
* url iconSource:
|
||||
This property holds the source url for the Button's icon.
|
||||
The default value is an empty url, which displays no icon.
|
||||
It can be any image from any protocol supported by the Image element, or a freedesktop-compatible icon name
|
||||
The default value is an empty url, which displays no icon.
|
||||
It can be any image from any protocol supported by the Image element, or a freedesktop-compatible icon name
|
||||
|
||||
* font font:
|
||||
This property holds the font used by the button label.
|
||||
See also Qt documentation for font type.
|
||||
See also Qt documentation for font type.
|
||||
|
||||
Signals:
|
||||
* clicked():
|
||||
|
@ -46,7 +46,7 @@ Inherits:
|
||||
|
||||
Imports:
|
||||
QtQuick 1.1
|
||||
org.kde.plasma.components
|
||||
org.kde.plasma.components
|
||||
|
||||
Description:
|
||||
Provides a component with list of options that the user can choose from.
|
||||
@ -55,7 +55,7 @@ Properties:
|
||||
* QtObject model:
|
||||
This property holds the model providing data for the menu.
|
||||
The model provides the set of data that is used to create the items in the view.
|
||||
Each model item must have a property called "text" or "display".
|
||||
Each model item must have a property called "text" or "display".
|
||||
|
||||
Methods:
|
||||
* void rebuildMenu():
|
||||
|
@ -35,24 +35,24 @@ Properties:
|
||||
|
||||
real minimumValue:
|
||||
This property holds the minimum value that the slider's value can assume.
|
||||
The default value is 0.
|
||||
The default value is 0.
|
||||
|
||||
real maximumValue:
|
||||
This property holds the maximum value that the slider's value can assume.
|
||||
The default value is 1.
|
||||
This property holds the maximum value that the slider's value can assume.
|
||||
The default value is 1.
|
||||
|
||||
real value:
|
||||
This property holds the value selected inside the minimum to maximum range of value.
|
||||
The default value is 0.
|
||||
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.
|
||||
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.
|
||||
This property holds if the Slider is being pressed or not.
|
||||
Read-only.
|
||||
|
||||
bool valueIndicatorVisible:
|
||||
This property holds if a value indicator element will be shown while is dragged or not.
|
||||
|
@ -51,8 +51,8 @@ Properties:
|
||||
string font:
|
||||
Sets the font for the button.
|
||||
|
||||
bool enabled:
|
||||
Returns whether the button is currently enabled and receives user input.
|
||||
bool enabled:
|
||||
Returns whether the button is currently enabled and receives user input.
|
||||
|
||||
Signals:
|
||||
onClicked:
|
||||
|
Loading…
x
Reference in New Issue
Block a user