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

Methods

Detailed Description

Property Documentation

dialogType : int [default: MessageDialog.Success]

This property holds the dialogType. It can be either:

ConstantDescription
MessageDialog.SuccessFor a sucess message.
MessageDialog.WarningFor a warning message.
MessageDialog.ErrorFor an actual error.
MessageDialog.InformationFor an informational message.

dontShowAgainName : string [default: ""]

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 [default]


Method Documentation

openDialog()

Open the dialog only if the user didn't check the "Do not remind me" checkbox previously.