summaryrefslogtreecommitdiffstats
path: root/doc/scripting-api
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2020-06-02 15:33:01 +0300
committerKatja Marttila <katja.marttila@qt.io>2020-06-04 10:58:11 +0000
commit3235629a868ace7a1f1f4d79ef7474ca30b2123e (patch)
tree83ebd1bec72f58afba1669fdb96e3ab7685fc9fc /doc/scripting-api
parent25e70dd8e061425be89481caf515591390425cd5 (diff)
Add function to enable button click with objectname
Task-number: QTIFW-1707 Change-Id: I8574ef96df6a00e577549342d4a4336207dcd9ec Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'doc/scripting-api')
-rw-r--r--doc/scripting-api/gui.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/scripting-api/gui.qdoc b/doc/scripting-api/gui.qdoc
index de8e2a663..35539c6be 100644
--- a/doc/scripting-api/gui.qdoc
+++ b/doc/scripting-api/gui.qdoc
@@ -104,6 +104,13 @@
*/
/*!
+ \qmlmethod void gui::clickButton(string objectName, int delayInMs)
+
+ Automatically clicks the button specified by \a objectName after a delay
+ in milliseconds specified by \a delayInMs.
+*/
+
+/*!
\qmlmethod boolean gui::isButtonEnabled(int wizardButton)
Returns \c true if the button specified by \a wizardButton is enabled.