Provides a top-level window for short-term tasks and brief interaction with the user. More...
Inherits Item
Inherited by CommonDialog and QueryDialog.
A dialog floats on the top layer of the application view, usually overlapping the area reserved for the application content. Normally, a dialog provides information and gives warnings to the user, or asks the user to answer a question or select an option.
read-onlystatus : int |
Indicates the dialog's phase in its life cycle. The values are as follows:
The dialog's initial status is DialogStatus.Closed.
visualParent : Item |
The item that is dimmed when the dialog opens. By default the root parent object is visualParent.
This signal is emitted when the user accepts the dialog's request or the accept() method is called.
See also rejected().
This signal is emitted when the user taps in the area that is inside the dialog's visual parent area but outside the dialog's area. Normally the visual parent is the root object. In that case this signal is emitted if the user taps anywhere outside the dialog's area.
See also visualParent.
This signal is emitted when the user rejects the dialog's request or the reject() method is called.
See also accepted().
Accepts the dialog's request without any user interaction. The method emits the accepted() signal and closes the dialog.
See also reject().
Rejects the dialog's request without any user interaction. The method emits the rejected() signal and closes the dialog.
See also accept().