notificationsManager.py
Others:
Bases: foundations.dataStructures.Structure
Defines a storage object for NotificationsManager class notification.
Initializes the class.
Parameters: | **kwargs (dict) – message, time. |
---|
Bases: PyQt4.QtCore.QObject
Defines the Application notifications manager.
Initializes the class.
This signal is emited by the NotificationsManager class when a notification is registered. ( pyqtSignal )
Returns: | Current registered notification. |
---|---|
Return type: | Notification |
Property for self.__container attribute.
Returns: | self.__container. |
---|---|
Return type: | QObject |
Property for self.__notifications attribute.
Returns: | self.__notifications. |
---|---|
Return type: | list |
Property for self.__notifiers attribute.
Returns: | self.__notifiers. |
---|---|
Return type: | list |
Property for self.__notifiersStackPadding attribute.
Returns: | self.__notifiersStackPadding. |
---|---|
Return type: | int |
Property for self.__maximumNotifiers attribute.
Returns: | self.__maximumNotifiers. |
---|---|
Return type: | int |
Returns the registered notifications.
Returns: | Notifications list. |
---|---|
Return type: | list |
Returns if the given notification is registered.
Parameters: | notification (unicode) – Notification. |
---|---|
Returns: | Is notification registered. |
Return type: | bool |
Registers given notification.
Parameters: | notification (Notification) – Notification to register. |
---|---|
Returns: | Method success. |
Return type: | bool |
Formats given notification.
Parameters: | notification (Notification) – Notification to format. |
---|---|
Returns: | Method success. |
Return type: | bool |
Displays an Application notification.
Parameters: | |
---|---|
Returns: | Method success. |
Return type: | bool |
Displays an Application notification warning.
Parameters: | |
---|---|
Returns: | Method success. |
Return type: | bool |