diff --git a/declarativeimports/plasmacomponents/qml/Button.qml b/declarativeimports/plasmacomponents/qml/Button.qml index 094dc115b..286868eec 100644 --- a/declarativeimports/plasmacomponents/qml/Button.qml +++ b/declarativeimports/plasmacomponents/qml/Button.qml @@ -65,7 +65,7 @@ Properties: See also Qt documentation for font type. Signals: - * onClicked: + * onClicked(): This handler is called when there is a click. **/ diff --git a/declarativeimports/plasmacomponents/qml/CommonDialog.qml b/declarativeimports/plasmacomponents/qml/CommonDialog.qml index b48048198..a9bd941b4 100644 --- a/declarativeimports/plasmacomponents/qml/CommonDialog.qml +++ b/declarativeimports/plasmacomponents/qml/CommonDialog.qml @@ -60,7 +60,9 @@ Description: Properties: string titleText: the title of the dialog. + string titleIcon: the name or path of the dialog title icon + Array variant buttonTexts: the texts of all the buttons Signals: diff --git a/declarativeimports/plasmacomponents/qml/ContextMenu.qml b/declarativeimports/plasmacomponents/qml/ContextMenu.qml index d7e25798a..7856cca36 100644 --- a/declarativeimports/plasmacomponents/qml/ContextMenu.qml +++ b/declarativeimports/plasmacomponents/qml/ContextMenu.qml @@ -52,13 +52,13 @@ Description: Provides a component with list of options that the user can choose from. Properties: - * QtObject model + * 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". Methods: - * void rebuildMenu() + * void rebuildMenu(): Rebuild the menu if property model is defined. **/ diff --git a/declarativeimports/plasmacomponents/qml/Label.qml b/declarativeimports/plasmacomponents/qml/Label.qml index 41922b82d..fbab27be6 100644 --- a/declarativeimports/plasmacomponents/qml/Label.qml +++ b/declarativeimports/plasmacomponents/qml/Label.qml @@ -32,7 +32,9 @@ Description: text,then you can use the Text component from QtQuick. Properties: - The most important property is "text". For the other ones see the primitive QML Text element + string text: + The most important property is "text". + For the other ones see the primitive QML Text element Methods: See the primitive QML Text element diff --git a/declarativeimports/plasmacomponents/qml/ToolBar.qml b/declarativeimports/plasmacomponents/qml/ToolBar.qml index 04dc46320..57da8968f 100644 --- a/declarativeimports/plasmacomponents/qml/ToolBar.qml +++ b/declarativeimports/plasmacomponents/qml/ToolBar.qml @@ -44,8 +44,9 @@ Properties: push follows page stack push animation pop follows page stack pop animation replace follows page stack replace animation + Methods: - setTools( tools, transition ) + void setTools( tools, transition ): This sets the tools for the ToolBar and the transition type that will be used when the page changes on the relevant PageStack. @arg Item tools see tool property