History

Un-expose Application from javascript. Restore displayplugin deactivation when goes to background

Gabriel Calero committed 8 years ago

Commit 868b58e1 parent a76754020 files · +84 −47Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 20 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.h+14−0
@@ -504,6 +504,20 @@ public slots: · 503 unmodified lines
504 */504 */
505 int openMessageBox(QString title, QString text, int buttons, int defaultButton);505 int openMessageBox(QString title, QString text, int buttons, int defaultButton);
506 506
507 /**jsdoc
508 * Open the given resource in the Interface window or in a web browser depending on the url scheme
509 * @function Window.openUrl
510 * @param {string} url - The resource to open
511 */
512 void openUrl(const QUrl& url);
513
514 /**jsdoc
515 * (Android only) Open the requested Activity and optionally back to the scene when the activity is done
516 * @function Window.openAndroidActivity
517 * @param {string} activityName - The name of the activity to open. One of "Home", "Login" or "Privacy Policy"
518 */
519 void openAndroidActivity(const QString& activityName, const bool backToScene);
520
507 /**jsdoc521 /**jsdoc
508 * Update the content of a message box that was opened with {@link Window.openMessageBox|openMessageBox}.522 * Update the content of a message box that was opened with {@link Window.openMessageBox|openMessageBox}.
509 * @function Window.updateMessageBox523 * @function Window.updateMessageBox

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t