Skip to content

class_acceptdialog

reduz edited this page Feb 23, 2014 · 10 revisions

AcceptDialog

Inherits: windowdialog\ Category: Core\

Brief Description

Base dialog for user notification.

Member Functions

Signals

  • confirmed**(****)**
  • custom_action**(** String action )

Description

This dialog is useful for small notifications to the user about an event. It can only be accepted or closed, with the same result.

Member Function Description

== get_ok ==

  • Object #get_ok(****) \ Return the OK Button. == get_label ==
  • Object #get_label(****) \ Return the label used for built-in text. == set_hide_on_ok ==
  • void #set_hide_on_ok( bool enabled ) \ Set whether the dialog is hidden when accepted (default true). == get_hide_on_ok ==
  • bool #get_hide_on_ok(****) const \ Return true if the dialog will be hidden when accepted (default true). == register_text_enter ==
  • void #register_text_enter( Object line_edit ) \ Register a lineedit in the dialog. When the enter key is pressed, the dialog will be accepted. == set_text ==
  • void #set_text( String text ) \ Set the built-in label text. == get_text ==
  • String #get_text(****) const \ Return the built-in label text.

Clone this wiki locally