Ivailo Monev
22dfa6c0d2
plasma: implement job stop for notifications applet
...
the widget servers 3 things now - stop a job, open the destination and if
job error occures serve as indicator that it happened (the job error thing
being something the old implementation did not had)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 19:39:16 +03:00
Ivailo Monev
939e3630b2
plasma: show the notifications applet popup only on new notification
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 18:24:38 +03:00
Ivailo Monev
07410ede42
plasma: remove redundant NotificationsWidget destructor
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 16:28:25 +03:00
Ivailo Monev
e33ee6a8e3
plasma: set the _k_desturl property for the open widget of the notifications applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 14:43:20 +03:00
Ivailo Monev
c9c9d0d642
plasma: connect the notifications applet animations directly to QObject::deleteLater() slot
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 14:38:45 +03:00
Ivailo Monev
9a5e68f140
plasma: fade the notifications applet frames on removal
...
geometry may be animated aswell in the future
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 14:17:05 +03:00
Ivailo Monev
2fa60e700e
plasma: adjust the widgets too after frames size adjustment in notifications applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 11:39:02 +03:00
Ivailo Monev
4b1733f6cd
plasma: use sunken frame shadow for the frames in devicenotifier and notifications applet
...
to match the shadow of Plasma::WidgetExplorer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 11:16:10 +03:00
Ivailo Monev
c4612d03f0
plasma: notifications applet optimizations
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-17 21:43:13 +03:00
Ivailo Monev
1f6b7fe4dc
plasma: optimize notifications applet
...
raw member access, baby!
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-17 18:34:28 +03:00
Ivailo Monev
b6e3890d01
plasma: keep the notifications popup shown for as long as there is data comming from the data engine
...
plus the 3 seconds timeout after which the popup will hide automatically
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-17 15:31:02 +03:00
Ivailo Monev
864f0bdbd9
plasma: show jobs progress conditionally and implement open action for notifications
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-17 14:51:41 +03:00
Ivailo Monev
23410fd729
plasma: tweak the fonts and use single label in the jobs notifications widget
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-17 13:45:48 +03:00
Ivailo Monev
4328f6c726
plasma: automatically show the notifications applet popup and switch the tab on new notification
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-17 11:57:36 +03:00
Ivailo Monev
da94852b8f
plasma: enable the notifications remove button for jobs based on job state
...
because not all jobs emit percentage
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-17 10:43:06 +03:00
Ivailo Monev
87c78653e2
plasma: implement jobs notification for notifications applet
...
no job control (suspend and kill), only info (source, destination and
progress)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-17 10:28:33 +03:00
Ivailo Monev
abcd9042b0
plasma: complete the notifications applet application notifications widget
...
complete as in fully functional
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-17 09:13:47 +03:00
Ivailo Monev
f4d40c28e9
plasma: semi-working notifications applet reimplementation
...
the application notifications works and is nearly complete, the jobs
notification is yet to be done. so far it looks like this:
https://ibb.co/GTGMKtQ
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-17 07:50:27 +03:00