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