From cbe7e9e309edc401a675fce79a9619ccec5b79de Mon Sep 17 00:00:00 2001 From: Roger Smith Date: Sat, 16 Sep 2017 14:22:13 +1200 Subject: Rewrite the AcceptDialog class --- doc/classes/AcceptDialog.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/classes/AcceptDialog.xml b/doc/classes/AcceptDialog.xml index 8821a450e5..4244e66a35 100644 --- a/doc/classes/AcceptDialog.xml +++ b/doc/classes/AcceptDialog.xml @@ -21,8 +21,8 @@ - Add custom button to the dialog and return the created button. - The button titled with [i]text[/i] and the [i]action[/i] will be passed to [custom_action] signal when it is pressed. + Adds a button with label [i]text[/i] and a custom [i]action[/i] to the dialog and returns the created button. [i]action[/i] will be passed to the [custom_action] signal when pressed. + If [code]true[/code], [i]right[/i] will place the button to the right of any sibling buttons. Default value: [code]false[/code]. @@ -31,7 +31,7 @@ - Add custom cancel button to the dialog and return the created button. + Adds a button with label [i]name[/i] and a cancel action to the dialog and returns the created button. @@ -68,7 +68,7 @@ - Register a [LineEdit] in the dialog. When the enter key is pressed, the dialog will be accepted. + Registers a [LineEdit] in the dialog. When the enter key is pressed, the dialog will be accepted. @@ -99,14 +99,14 @@ - Emitted when accepted. + Emitted when the dialog is accepted. - Emitted with a custom button is added. + Emitted when a custom button is pressed. See [method add_button]. -- cgit v1.2.3