mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 16:14:01 +02:00
DialogsManager JSDoc
This commit is contained in:
parent
9dc1167e73
commit
31bae651c6
1 changed files with 37 additions and 0 deletions
|
@ -14,19 +14,56 @@
|
|||
|
||||
#include <QObject>
|
||||
|
||||
/**jsdoc
|
||||
* The <code>DialogsMamnager</code> API provides facilities to work with some key dialogs.
|
||||
*
|
||||
* @namespace DialogsManager
|
||||
*
|
||||
* @hifi-interface
|
||||
* @hifi-client-entity
|
||||
* @hifi-avatar
|
||||
*/
|
||||
|
||||
class DialogsManagerScriptingInterface : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
DialogsManagerScriptingInterface();
|
||||
static DialogsManagerScriptingInterface* getInstance();
|
||||
|
||||
/**jsdoc
|
||||
* <em>Currently performs no action.</em>
|
||||
* @function DialogsManager.showFeed
|
||||
*/
|
||||
Q_INVOKABLE void showFeed();
|
||||
|
||||
public slots:
|
||||
/**jsdoc
|
||||
* Shows the "Goto" dialog.
|
||||
* @function DialogsManager.showAddressBar
|
||||
*/
|
||||
void showAddressBar();
|
||||
|
||||
/**jsdoc
|
||||
* Hides the "Goto" dialog.
|
||||
* @function DialogsManager.hideAddressBar
|
||||
*/
|
||||
void hideAddressBar();
|
||||
|
||||
/**jsdoc
|
||||
* Shows the login dialog.
|
||||
* @function DialogsManager.showLoginDialog
|
||||
*/
|
||||
void showLoginDialog();
|
||||
|
||||
signals:
|
||||
/**jsdoc
|
||||
* Triggered when the "Goto" dialog is opened or closed.
|
||||
* <p><strong>Warning:</strong> Currently isn't always triggered.</p>
|
||||
* @function DialogsManager.addressBarShown
|
||||
* @param {boolean} visible - <code>true</code> if the Goto dialog has been opened, <code>false</code> if it has been
|
||||
* closed.
|
||||
* @returns {Signal}
|
||||
*/
|
||||
void addressBarShown(bool visible);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue