A Dialog is a top-level window mostly used for short-term tasks and brief communications with the user. More...
Inherited by CommonDialog and QueryDialog.
Popup dialogs float above the top layer of the application view, usually overlapping the area reserved for the application content. An application can use a dialog to provide information, give warnings, and ask the user to answer a question or select an option.
An item for the button area of the dialog. Generally, you would use a Row of Button elements but you could use other Item-based elements instead.
An item for the content area of the dialog. This can be made up of any other components that are based on Item. For example, you could use a ListView so that the user can select from a list of names.
This indicates the stage of the dialog in the dialog lifecycle. The value is from the DialogStatus enumeration.
An item for the title area of the dialog. Generally, you would use a Text element but, because it is an Item elemnt, you can use any other components that are based on Item. For example, you could use an Image element instead of Text element.
This signal is emitted if the user accepts the dialog's request.
See also rejected().
This signal is emitted if the user rejects the dialog's request.
See also accepted().
You can use this method to accept the dialog's request without any user interaction. The dialog will close and the accepted() signal will be emitted as though the user had accepted the dialog's request.
You can use this method to reject the dialog's request without any user interaction. The dialog will close and the rejected() signal will be emitted as though the user had rejected the dialog's request.