MessageDialog QML Type
A dialog to show a message. This dialog exists has 4 modes: success, warning, error, information. More...
Import Statement: | import org.kde.kirigamiaddons.labs.components |
Properties
- dialogType : int
- dontShowAgainName : string
- iconName : string
- mainContent : alias
Methods
Detailed Description
Property Documentation
dialogType : int |
This property holds the dialogType. It can be either:
Constant | Description |
---|---|
MessageDialog.Success | For a sucess message. |
MessageDialog.Warning | For a warning message. |
MessageDialog.Error | For an actual error. |
MessageDialog.Information | For an informational message. |
dontShowAgainName : string |
This property holds the name of setting to store the "Don't show again" preference.
If provided, a checkbox is added with which further notifications can be turned off. The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group.
When set, use openDialog() instead of open() to open this dialog.
Warning: Overwriting the dialog's footer will disable this feature.
iconName : string |
mainContent : alias |
Method Documentation
openDialog() |
Open the dialog only if the user didn't check the "Do not remind me" checkbox previously.