13 from .Ui_NotificationFrame import Ui_NotificationFrame |
13 from .Ui_NotificationFrame import Ui_NotificationFrame |
14 |
14 |
15 import Globals |
15 import Globals |
16 import Preferences |
16 import Preferences |
17 |
17 |
|
18 |
|
19 # TODO: add background colors to indicate notification severity |
|
20 # - all messages with timeout of 0 |
|
21 # - standard: information messages |
|
22 # - yellow: warning messages |
|
23 # - red: critical messages |
|
24 |
|
25 # TODO: add a notification log |
|
26 # - date/time and message |
|
27 # - display widget with capability to save the messages |
|
28 # - optional: display widget with capability to load saved messages |
18 |
29 |
19 class NotificationFrame(QFrame, Ui_NotificationFrame): |
30 class NotificationFrame(QFrame, Ui_NotificationFrame): |
20 """ |
31 """ |
21 Class implementing a Notification widget. |
32 Class implementing a Notification widget. |
22 """ |
33 """ |