.. link: .. description: .. tags: .. date: 2013/08/18 00:00:00 .. title: NINJA-IDE .. slug: updates .. class:: alert alert-info pull-top .. contents:: *Module:* `updates.py `_ API ======================================================================= No description. *Imports:* ------------ - `ninja_ide `_ - `urllib `_ - `webbrowser `_ - `ninja_ide.tools.logger.NinjaLogger `_ - `PyQt4.QtGui.QAction `_ - `PyQt4.QtGui.QIcon `_ - `PyQt4.QtGui.QMenu `_ - `PyQt4.QtGui.QMessageBox `_ - `PyQt4.QtGui.QSystemTrayIcon `_ - `PyQt4.QtCore.QThread `_ - `PyQt4.QtCore.SIGNAL `_ - `ninja_ide.tools.json_manager `_ - `ninja_ide.resources `_ - `ninja_ide.core.settings `_ - `distutils.version `_ *Global Attributes:* ---------------------- - `logger [at ln:36] `_ ---- *Class:* `ThreadUpdates(QThread) `_ ---------------------------------------------------------------------------------------------------------------- .. code:: python class ThreadUpdates(QThread): No description. *Function:* `__init__() [at ln:114] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(): No description. ---- *Function:* `run() [at ln:117] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def run(): No description. ---- *Class:* `TrayIconUpdates(QSystemTrayIcon) `_ ------------------------------------------------------------------------------------------------------------------------- .. code:: python class TrayIconUpdates(QSystemTrayIcon): | Tray Icon to show Updates of new versions. | @ SIGNALS: | @ closeTrayIcon() *Attributes* ~~~~~~~~~~~~~~ - `download_link [at ln:76] `_ - `ide_version [at ln:75] `_ - `menu [at ln:61] `_ - `quit_action [at ln:68] `_ *Function:* `__init__(parent) [at ln:45] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(parent): No description. ---- *Function:* `_close() [at ln:104] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _close(): No description. ---- *Function:* `_show_download() [at ln:107] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _show_download(): No description. ---- *Function:* `_show_messages(ide_version, download) [at ln:74] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _show_messages(ide_version, download): No description. ---- *Function:* `setup_menu(show_downloads=False) [at ln:60] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def setup_menu(show_downloads=False): No description.