mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Expand and fix ToolbarProxy and ToolbarButtonProxy JSDoc stubs
This commit is contained in:
parent
71355840b9
commit
c97d7c9d73
1 changed files with 54 additions and 2 deletions
|
@ -37,6 +37,32 @@ public:
|
|||
*/
|
||||
Q_INVOKABLE void editProperties(const QVariantMap& properties);
|
||||
|
||||
|
||||
// QmlWrapper methods.
|
||||
|
||||
/**jsdoc
|
||||
* @function ToolbarButtonProxy#writeProperty
|
||||
* @parm {string} propertyName
|
||||
* @param {object} propertyValue
|
||||
*/
|
||||
|
||||
/**jsdoc
|
||||
* @function ToolbarButtonProxy#writeProperties
|
||||
* @param {object} properties
|
||||
*/
|
||||
|
||||
/**jsdoc
|
||||
* @function ToolbarButtonProxy#readProperty
|
||||
* @param {string} propertyName
|
||||
* @returns {object}
|
||||
*/
|
||||
|
||||
/**jsdoc
|
||||
* @function ToolbarButtonProxy#readProperties
|
||||
* @param {string[]} propertyList
|
||||
* @returns {object}
|
||||
*/
|
||||
|
||||
signals:
|
||||
|
||||
/**jsdoc
|
||||
|
@ -65,16 +91,42 @@ public:
|
|||
|
||||
/**jsdoc
|
||||
* @function ToolbarProxy#addButton
|
||||
* @property {object} properties
|
||||
* @param {object} properties
|
||||
* @returns {ToolbarButtonProxy}
|
||||
*/
|
||||
Q_INVOKABLE ToolbarButtonProxy* addButton(const QVariant& properties);
|
||||
|
||||
/**jsdoc
|
||||
* @function ToolbarProxy#removeButton
|
||||
* @property {string} name
|
||||
* @param {string} name
|
||||
*/
|
||||
Q_INVOKABLE void removeButton(const QVariant& name);
|
||||
|
||||
|
||||
// QmlWrapper methods.
|
||||
|
||||
/**jsdoc
|
||||
* @function ToolbarProxy#writeProperty
|
||||
* @parm {string} propertyName
|
||||
* @param {object} propertyValue
|
||||
*/
|
||||
|
||||
/**jsdoc
|
||||
* @function ToolbarProxy#writeProperties
|
||||
* @param {object} properties
|
||||
*/
|
||||
|
||||
/**jsdoc
|
||||
* @function ToolbarProxy#readProperty
|
||||
* @param {string} propertyName
|
||||
* @returns {object}
|
||||
*/
|
||||
|
||||
/**jsdoc
|
||||
* @function ToolbarProxy#readProperties
|
||||
* @param {string[]} propertyList
|
||||
* @returns {object}
|
||||
*/
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(ToolbarProxy*);
|
||||
|
|
Loading…
Reference in a new issue