.. link: .. description: .. tags: .. date: 2013/08/18 00:00:00 .. title: NINJA-IDE .. slug: language_manager .. class:: alert alert-info pull-top .. contents:: *Module:* `language_manager.py `_ API ================================================================================================= No description. *Imports:* ------------ - `os `_ - `PyQt4.QtGui.QDialog `_ - `PyQt4.QtGui.QHBoxLayout `_ - `PyQt4.QtGui.QPushButton `_ - `PyQt4.QtGui.QSizePolicy `_ - `PyQt4.QtGui.QSpacerItem `_ - `PyQt4.QtGui.QTabWidget `_ - `PyQt4.QtGui.QTableWidget `_ - `PyQt4.QtGui.QVBoxLayout `_ - `PyQt4.QtGui.QWidget `_ - `PyQt4.QtCore.Qt `_ - `PyQt4.QtCore.SIGNAL `_ - `ninja_ide.core.file_handling.file_manager `_ - `ninja_ide.tools.json_manager `_ - `ninja_ide.resources `_ - `ninja_ide.tools.ui_tools `_ *Class:* `LanguagesManagerWidget(QDialog) `_ --------------------------------------------------------------------------------------------------------------------------------------------------------- .. code:: python class LanguagesManagerWidget(QDialog): No description. *Attributes* ~~~~~~~~~~~~~~ - `_languages [at ln:67] `_ - `_loading [at ln:81] `_ - `_tabs [at ln:54] `_ - `_thread [at ln:73] `_ - `downloadItems [at ln:97] `_ - `execute [at ln:98] `_ - `overlay [at ln:64] `_ *Function:* `__init__(parent) [at ln:48] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(parent): No description. ---- *Function:* `_download_language_thread() [at ln:125] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _download_language_thread(): No description. ---- *Function:* `_reload_languages() [at ln:79] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _reload_languages(): No description. ---- *Function:* `download(url, folder) [at ln:129] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def download(url, folder): No description. ---- *Function:* `download_language(language) [at ln:95] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def download_language(language): No description. ---- *Function:* `execute_thread() [at ln:105] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def execute_thread(): No description. ---- *Function:* `get_local_languages() [at ln:117] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def get_local_languages(): No description. ---- *Function:* `load_languages_data() [at ln:85] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def load_languages_data(): No description. ---- *Function:* `resizeEvent(event) [at ln:101] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def resizeEvent(event): No description. ---- *Class:* `LanguageWidget(QWidget) `_ -------------------------------------------------------------------------------------------------------------------------------------------------- .. code:: python class LanguageWidget(QWidget): No description. *Attributes* ~~~~~~~~~~~~~~ - `_languages [at ln:145] `_ - `_parent [at ln:144] `_ - `_table [at ln:147] `_ *Function:* `__init__(parent, languages) [at ln:142] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(parent, languages): No description. ---- *Function:* `_download_language() [at ln:160] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _download_language(): No description.