TToast QML Type
Import Statement: | import |
Since: | Qt 5.9.x |
Inherits: |
Properties
- layoutY : int
Methods
- showCustom(itemcomponent, duration)
- showError(text, duration, moremsg)
- showInfo(text, duration, moremsg)
- showSuccess(text, duration, moremsg)
- showWarning(text, duration, moremsg)
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
Method Documentation
duration = TTimePreset