improve / make accurate the apidox

This commit is contained in:
Aaron Seigo 2012-12-13 16:29:28 +01:00
parent 0aebfa70e5
commit 3551406a99

View File

@ -26,10 +26,13 @@ Imports:
org.kde.plasma.core org.kde.plasma.core
Description: Description:
You can bind the Switch component to a feature that the application A boolean toggle button with the visual representation of a "realistic" switch
has to enable or disable depending on the user's input, for example. with a movable toggle showing the state of the Switch. Generally easier to use
Switch has similar usage and API as CheckBox, except that Switch does on touch devices than a CheckBox due to the larger surface space and more evident
not provide a built-in label. state visualization.
You can bind the Switch component, for example, to a feature that the application
has to enable or disable depending on the user's input.
Properties: Properties:
bool checked: bool checked:
@ -41,9 +44,7 @@ Properties:
it returns false. it returns false.
string text: string text:
Sets the text for the switch. Sets the text for the switch. The default value is empty.
The default value is empty.No text
will be displayed.
Signals: Signals:
onClicked: onClicked: