Skip to content

Instantly share code, notes, and snippets.

View Husseinbeygi's full-sized avatar
😎
Practice Make Perfection ;)

Hussein Beygi Husseinbeygi

😎
Practice Make Perfection ;)
View GitHub Profile
@Husseinbeygi
Husseinbeygi / Toast.qml
Created March 13, 2020 15:53 — forked from jonmcclung/Toast.qml
Toast in QML. This implementation creates black toast with white text that appears at the bottom of the screen. It also supports adding multiple toast at a time using ToastManager with the newest toast at the bottom.
import QtQuick 2.0
/**
* adapted from StackOverflow:
* http://stackoverflow.com/questions/26879266/make-toast-in-android-by-qml
*/
/**
* @brief An Android-like timed message text in a box that self-destroys when finished if desired
*/