8class QPropertyAnimation;
56 void start_animation();
60 void start_close_animation();
65 void set_message_impl(
const QString& message);
69 QPoint startPos, endPos;
70 int animation_maintain_msec { 500 };
71 int wait_time { 1000 };
79 QPointer<QPropertyAnimation> moveAnimation {
nullptr };
87 QPointer<QPropertyAnimation> fadeAnimation {
nullptr };
93 QAtomicInteger<bool> isHandling {
false };
102 QQueue<QString> pools;
104 int _width = 1024 * 0.9;
The DesktopToast class is the toast handle classes using less lock messages queue to display the mess...
Definition DesktopToast.h:15
DesktopToast(QWidget *parent=nullptr)
Construct a new Desktop Toast object.
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
void setWidth(const int width)
setWidth
Definition desktoptoast.cpp:85