mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 09:31:36 +02:00
Merge pull request #16560 from ctrlaltdavid/DOC-237
DOC-237: DialogsManager JSDoc
This commit is contained in:
commit
af120b9511
1 changed files with 37 additions and 0 deletions
|
@ -14,19 +14,56 @@
|
||||||
|
|
||||||
#include <QObject>
|
#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 {
|
class DialogsManagerScriptingInterface : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
DialogsManagerScriptingInterface();
|
DialogsManagerScriptingInterface();
|
||||||
static DialogsManagerScriptingInterface* getInstance();
|
static DialogsManagerScriptingInterface* getInstance();
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* <em>Currently performs no action.</em>
|
||||||
|
* @function DialogsManager.showFeed
|
||||||
|
*/
|
||||||
Q_INVOKABLE void showFeed();
|
Q_INVOKABLE void showFeed();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
/**jsdoc
|
||||||
|
* Shows the "Goto" dialog.
|
||||||
|
* @function DialogsManager.showAddressBar
|
||||||
|
*/
|
||||||
void showAddressBar();
|
void showAddressBar();
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* Hides the "Goto" dialog.
|
||||||
|
* @function DialogsManager.hideAddressBar
|
||||||
|
*/
|
||||||
void hideAddressBar();
|
void hideAddressBar();
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* Shows the login dialog.
|
||||||
|
* @function DialogsManager.showLoginDialog
|
||||||
|
*/
|
||||||
void showLoginDialog();
|
void showLoginDialog();
|
||||||
|
|
||||||
signals:
|
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);
|
void addressBarShown(bool visible);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue