.. link: .. description: .. tags: .. date: 2013/08/18 00:00:00 .. title: NINJA-IDE .. slug: notification .. class:: alert alert-info pull-top .. contents:: *Module:* `notification.py `_ API ================================================================================= No description. *Imports:* ------------ - `PyQt4.QtDeclarative.QDeclarativeView `_ - `PyQt4.QtGui.QFrame `_ - `PyQt4.QtGui.QVBoxLayout `_ - `PyQt4.QtCore.Qt `_ - `PyQt4.QtCore.SIGNAL `_ - `ninja_ide.tools.ui_tools `_ *Class:* `Notification(QFrame) `_ ----------------------------------------------------------------------------------------------------------------------- .. code:: python class Notification(QFrame): No description. *Attributes* ~~~~~~~~~~~~~~ - `_duration [at ln:45] `_ - `_parent [at ln:16] `_ - `_root [at ln:28] `_ *Function:* `__init__(parent=None) [at ln:14] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(parent=None): No description. ---- *Function:* `set_message(text=str, duration=int) [at ln:43] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def set_message(text=str, duration=int): No description. ---- *Function:* `showEvent(event) [at ln:34] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def showEvent(event): No description.