TToast QML Type

Import Statement: import
Since: Qt 5.9.x
Inherits:

TObject

Properties

Methods

Detailed Description

Often used as a feedback prompt after active operation. The difference with Notification is that the latter is more used as a passive reminder of system-level notifications.

TToast.showSuccess(text,duration,moremsg);

TToast.showInfo(text,duration,moremsg);

TToast.showWarning(text,duration,moremsg);

TToast.showError(text,duration,moremsg);

TToast.showCustom(itemcomponent,duration);

See also TestCase and Qt Quick Test Reference Documentation.

Property Documentation

layoutY : int


Method Documentation

showCustom(itemcomponent, duration)


showError(text, duration, moremsg)


showInfo(text, duration, moremsg)


showSuccess(text, duration, moremsg)

duration = TTimePreset


showWarning(text, duration, moremsg)