8class QPropertyAnimation;
51 void start_animation();
55 void start_close_animation();
60 void set_message_impl(
const QString& message);
63 QPoint startPos, endPos;
64 int animation_maintain_msec { 500 };
65 int wait_time { 1000 };
73 QPointer<QPropertyAnimation> moveAnimation {
nullptr };
81 QPointer<QPropertyAnimation> fadeAnimation {
nullptr };
87 QAtomicInteger<bool> isHandling {
false };
96 QQueue<QString> pools;
The DesktopToast class is the toast handle classes using less lock messages queue to display the mess...
Definition DesktopToast.h:15
void do_show_toast(QString msg)
do_show_toast the signal to show the toast
void set_message(const QString &message)
set_message push the toast display into the toast display sessions
Definition DesktopToast.cpp:89