.. link: .. description: .. tags: .. date: 2013/08/18 00:00:00 .. title: NINJA-IDE .. slug: ui_tools .. class:: alert alert-info pull-top .. contents:: *Module:* `ui_tools.py `_ API =========================================================================== No description. *Imports:* ------------ - `collections `_ - `math `_ - `os `_ - `ninja_ide.core.file_handling.file_manager.NinjaIOException `_ - `PyQt4.QtGui.QAbstractItemView `_ - `PyQt4.QtGui.QAction `_ - `PyQt4.QtGui.QApplication `_ - `PyQt4.QtGui.QBrush `_ - `PyQt4.QtGui.QColor `_ - `PyQt4.QtGui.QCompleter `_ - `PyQt4.QtGui.QDialog `_ - `PyQt4.QtCore.QDir `_ - `PyQt4.QtCore.QEvent `_ - `PyQt4.QtGui.QHBoxLayout `_ - `PyQt4.QtGui.QIcon `_ - `PyQt4.QtGui.QKeyEvent `_ - `PyQt4.QtGui.QLabel `_ - `PyQt4.QtGui.QLineEdit `_ - `PyQt4.QtGui.QLinearGradient `_ - `PyQt4.QtGui.QListWidget `_ - `PyQt4.QtGui.QMenu `_ - `PyQt4.QtGui.QMovie `_ - `PyQt4.QtCore.QObject `_ - `PyQt4.QtGui.QPainter `_ - `PyQt4.QtGui.QPalette `_ - `PyQt4.QtGui.QPen `_ - `PyQt4.QtGui.QPixmap `_ - `PyQt4.QtGui.QPrintPreviewDialog `_ - `PyQt4.QtGui.QPrinter `_ - `PyQt4.QtGui.QPushButton `_ - `PyQt4.QtGui.QShortcut `_ - `PyQt4.QtCore.QSize `_ - `PyQt4.QtGui.QSizePolicy `_ - `PyQt4.QtGui.QTableWidgetItem `_ - `PyQt4.QtCore.QThread `_ - `PyQt4.QtCore.QTimeLine `_ - `PyQt4.QtGui.QTreeWidget `_ - `PyQt4.QtGui.QTreeWidgetItem `_ - `PyQt4.QtCore.QUrl `_ - `PyQt4.QtGui.QVBoxLayout `_ - `PyQt4.QtGui.QWidget `_ - `PyQt4.QtCore.Qt `_ - `PyQt4.QtCore.SIGNAL `_ - `__future__.absolute_import `_ - `ninja_ide.core.file_handling.file_manager `_ - `ninja_ide.tools.json_manager `_ - `ninja_ide.resources `_ - `ninja_ide.core.settings `_ - `urlparse.urlparse `_ - `urlparse.urlunparse `_ *Global Functions:* --------------------- *Function:* `get_qml_resource(qmlpath) [at ln:672] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def get_qml_resource(qmlpath): No description. ---- *Function:* `install_shortcuts(obj, actions, ide) [at ln:623] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def install_shortcuts(obj, actions, ide): No description. ---- *Function:* `load_table(table, headers, data, checkFirstColumn=True) [at ln:71] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def load_table(table, headers, data, checkFirstColumn=True): No description. ---- *Function:* `print_file(fileName, printFunction) [at ln:266] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def print_file(fileName, printFunction): | This method print a file | | This method print a file, fileName is the default fileName, | and printFunction is a funcion that takes a QPrinter | object and print the file, | the print method | More info on:http://doc.qt.nokia.com/latest/printing.html ---- *Function:* `remove_get_selected_items(table, data) [at ln:91] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def remove_get_selected_items(table, data): No description. ---- *Class:* `ThreadProjectExplore(QThread) `_ ----------------------------------------------------------------------------------------------------------------------------- .. code:: python class ThreadProjectExplore(QThread): No description. *Attributes* ~~~~~~~~~~~~~~ - `_extensions [at ln:166] `_ - `_folder_path [at ln:164] `_ - `_item [at ln:165] `_ - `execute [at ln:167] `_ *Function:* `__init__() [at ln:151] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(): No description. ---- *Function:* `_thread_open_project() [at ln:189] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _thread_open_project(): No description. ---- *Function:* `_thread_refresh_project() [at ln:173] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _thread_refresh_project(): No description. ---- *Function:* `open_folder(folder) [at ln:158] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def open_folder(folder): No description. ---- *Function:* `refresh_project(path, item, extensions) [at ln:163] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def refresh_project(path, item, extensions): No description. ---- *Function:* `run() [at ln:170] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def run(): No description. ---- *Class:* `ThreadExecution(QThread) `_ ------------------------------------------------------------------------------------------------------------------------ .. code:: python class ThreadExecution(QThread): No description. *Attributes* ~~~~~~~~~~~~~~ - `args [at ln:137] `_ - `execute [at ln:134] `_ - `kwargs [at ln:138] `_ - `result [at ln:135] `_ - `signal_return [at ln:146] `_ - `storage_values [at ln:136] `_ *Function:* `__init__(functionInit=None, args=None, kwargs=None) [at ln:131] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(functionInit=None, args=None, kwargs=None): No description. ---- *Function:* `run() [at ln:141] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def run(): No description. ---- *Class:* `FaderWidget(QWidget) `_ -------------------------------------------------------------------------------------------------------------------- .. code:: python class FaderWidget(QWidget): No description. *Attributes* ~~~~~~~~~~~~~~ - `old_pixmap [at ln:298] `_ - `pixmap_opacity [at ln:319] `_ - `timeline [at ln:302] `_ *Function:* `__init__(old_widget, new_widget) [at ln:295] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(old_widget, new_widget): No description. ---- *Function:* `animate(value) [at ln:318] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def animate(value): No description. ---- *Function:* `paintEvent(event) [at ln:311] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def paintEvent(event): No description. ---- *Class:* `LineEditButton(object) `_ ---------------------------------------------------------------------------------------------------------------------- .. code:: python class LineEditButton(object): No description. *Function:* `__init__(lineEdit, operation, icon=None) [at ln:521] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(lineEdit, operation, icon=None): No description. ---- *Class:* `AddToProject(QDialog) `_ --------------------------------------------------------------------------------------------------------------------- .. code:: python class AddToProject(QDialog): No description. *Attributes* ~~~~~~~~~~~~~~ - `_loading_items [at ln:350] `_ - `_root [at ln:404] `_ - `_thread_execution [at ln:352] `_ - `_tree [at ln:337] `_ - `pathSelected [at ln:334] `_ - `storage_values [at ln:373] `_ *Function:* `__init__(pathProjects, parent=None) [at ln:330] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(pathProjects, parent=None): No description. ---- *Function:* `_callback_load_project() [at ln:375] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _callback_load_project(): No description. ---- *Function:* `_load_folder(folderStructure, folder, parentItem) [at ln:406] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _load_folder(folderStructure, folder, parentItem): No description. ---- *Function:* `_load_project(folderStructure, folder) [at ln:391] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _load_project(folderStructure, folder): No description. ---- *Function:* `_select_path() [at ln:385] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _select_path(): No description. ---- *Function:* `_thread_load_projects(projects) [at ln:368] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _thread_load_projects(projects): No description. ---- *Function:* `loading_projects(projects) [at ln:361] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def loading_projects(projects): No description. ---- *Class:* `Overlay(QWidget) `_ ---------------------------------------------------------------------------------------------------------------- .. code:: python class Overlay(QWidget): No description. *Attributes* ~~~~~~~~~~~~~~ - `counter [at ln:254] `_ - `timer [at ln:253] `_ *Function:* `__init__(parent=None) [at ln:214] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(parent=None): No description. ---- *Function:* `paintEvent(event) [at ln:221] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def paintEvent(event): No description. ---- *Function:* `showEvent(event) [at ln:252] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def showEvent(event): No description. ---- *Function:* `timerEvent(event) [at ln:256] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def timerEvent(event): No description. ---- *Class:* `LineEditTabCompleter(QLineEdit) `_ ------------------------------------------------------------------------------------------------------------------------------- .. code:: python class LineEditTabCompleter(QLineEdit): No description. *Attributes* ~~~~~~~~~~~~~~ - `completer [at ln:576] `_ - `completionType [at ln:578] `_ *Function:* `__init__(completer, type=QCompleter.PopupCompletion) [at ln:574] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(completer, type=QCompleter.PopupCompletion): No description. ---- *Function:* `change_completion_type() [at ln:614] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def change_completion_type(): No description. ---- *Function:* `contextMenuEvent(event) [at ln:597] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def contextMenuEvent(event): No description. ---- *Function:* `event(event) [at ln:581] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def event(event): No description. ---- *Class:* `ProfilesLoader(QDialog) `_ ----------------------------------------------------------------------------------------------------------------------- .. code:: python class ProfilesLoader(QDialog): No description. *Attributes* ~~~~~~~~~~~~~~ - `Profile [at ln:488] `_ - `_profiles [at ln:433] `_ - `btnCreate [at ln:453] `_ - `btnDelete [at ln:449] `_ - `btnOpen [at ln:455] `_ - `btnUpdate [at ln:451] `_ - `contentList [at ln:448] `_ - `create_function [at ln:435] `_ - `ide [at ln:437] `_ - `load_function [at ln:434] `_ - `profileList [at ln:445] `_ - `save_function [at ln:436] `_ *Function:* `__init__(load_func, create_func, save_func, profiles, parent=None) [at ln:428] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(load_func, create_func, save_func, profiles, parent=None): No description. ---- *Function:* `create_profile() [at ln:486] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def create_profile(): No description. ---- *Function:* `delete_profile() [at ln:507] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def delete_profile(): No description. ---- *Function:* `load_profile_content() [at ln:475] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def load_profile_content(): No description. ---- *Function:* `open_profile() [at ln:500] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def open_profile(): No description. ---- *Function:* `save_profile() [at ln:491] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def save_profile(): No description. ---- *Class:* `LineEditCount(QObject) `_ ---------------------------------------------------------------------------------------------------------------------- .. code:: python class LineEditCount(QObject): No description. *Attributes* ~~~~~~~~~~~~~~ - `counter [at ln:558] `_ *Function:* `__init__(lineEdit) [at ln:552] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(lineEdit): No description. ---- *Function:* `update_count(index, total, hasSearch=False) [at ln:563] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def update_count(index, total, hasSearch=False): No description. ---- *Class:* `ComboBoxButton(object) `_ ---------------------------------------------------------------------------------------------------------------------- .. code:: python class ComboBoxButton(object): No description. *Function:* `__init__(combo, operation, icon=None) [at ln:536] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(combo, operation, icon=None): No description. ---- *Class:* `LoadingItem(QLabel) `_ ------------------------------------------------------------------------------------------------------------------- .. code:: python class LoadingItem(QLabel): No description. *Attributes* ~~~~~~~~~~~~~~ - `movie [at ln:107] `_ *Function:* `__init__() [at ln:105] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(): No description. ---- *Function:* `add_item_to_tree(folder, tree, item_type=None, parent=None) [at ln:112] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def add_item_to_tree(folder, tree, item_type=None, parent=None): No description. ---- *Class:* `TabShortcuts(QShortcut) `_ ----------------------------------------------------------------------------------------------------------------------- .. code:: python class TabShortcuts(QShortcut): No description. *Attributes* ~~~~~~~~~~~~~~ - `index [at ln:683] `_ *Function:* `__init__(key, parent, index) [at ln:681] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(key, parent, index): No description.