.. link: .. description: .. tags: .. date: 2013/08/18 00:00:00 .. title: NINJA-IDE .. slug: central_widget .. class:: alert alert-info pull-top .. contents:: *Module:* `central_widget.py `_ API ===================================================================================== No description. *Imports:* ------------ - `ninja_ide.gui.ide.IDE `_ - `PyQt4.QtGui.QComboBox `_ - `PyQt4.QtGui.QHBoxLayout `_ - `PyQt4.QtGui.QKeySequence `_ - `PyQt4.QtGui.QLabel `_ - `PyQt4.QtCore.QSettings `_ - `PyQt4.QtGui.QSizePolicy `_ - `PyQt4.QtGui.QVBoxLayout `_ - `PyQt4.QtGui.QWidget `_ - `PyQt4.QtCore.Qt `_ - `__future__.absolute_import `_ - `ninja_ide.gui.actions `_ - `ninja_ide.gui.dynamic_splitter `_ - `ninja_ide.resources `_ - `ninja_ide.core.settings `_ - `ninja_ide.tools.ui_tools `_ *Global Attributes:* ---------------------- - `central [at ln:245] `_ ---- *Class:* `LateralPanel(QWidget) `_ ----------------------------------------------------------------------------------------------------------------------------- .. code:: python class LateralPanel(QWidget): No description. *Attributes* ~~~~~~~~~~~~~~ - `combo [at ln:213] `_ - `has_component [at ln:229] `_ - `labelCursorPosition [at ln:211] `_ - `labelText [at ln:210] `_ - `vbox [at ln:206] `_ *Function:* `__init__(parent=None) [at ln:203] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(parent=None): No description. ---- *Function:* `add_component(widget) [at ln:227] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def add_component(widget): No description. ---- *Function:* `add_new_copy(copy) [at ln:235] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def add_new_copy(copy): No description. ---- *Function:* `get_paste() [at ln:241] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def get_paste(): No description. ---- *Function:* `update_line_col(line, col) [at ln:231] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def update_line_col(line, col): No description. ---- *Class:* `CentralWidget(QWidget) `_ ----------------------------------------------------------------------------------------------------------------------------- .. code:: python class CentralWidget(QWidget): | splitterCentralRotated() *Attributes* ~~~~~~~~~~~~~~ - `_add_functions [at ln:58] `_ - `_items [at ln:62] `_ - `_splitterBase [at ln:68] `_ - `_splitterBaseSizes [at ln:153] `_ - `_splitterInside [at ln:69] `_ - `_splitterInsideSizes [at ln:152] `_ - `lateralPanel [at ln:56] `_ - `parent [at ln:52] `_ *Function:* `__init__(parent=None) [at ln:50] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(parent=None): No description. ---- *Function:* `_insert_widget_region0(container, top=False) [at ln:99] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _insert_widget_region0(container, top=False): No description. ---- *Function:* `_insert_widget_region1(container, top=False) [at ln:102] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _insert_widget_region1(container, top=False): No description. ---- *Function:* `add_copy(text) [at ln:197] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def add_copy(text): No description. ---- *Function:* `add_to_region(name, obj, region, top=False) [at ln:92] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def add_to_region(name, obj, region, top=False): No description. ---- *Function:* `get_area_sizes() [at ln:183] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def get_area_sizes(): No description. ---- *Function:* `get_inside_sizes() [at ln:188] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def get_inside_sizes(): No description. ---- *Function:* `get_item(name) [at ln:96] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def get_item(name): No description. ---- *Function:* `get_paste() [at ln:194] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def get_paste(): No description. ---- *Function:* `hide_all() [at ln:109] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def hide_all(): | Hide/Show all the containers except the editor. ---- *Function:* `install() [at ln:82] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def install(): No description. ---- *Function:* `showEvent(event) [at ln:131] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def showEvent(event): No description. ---- *Function:* `show_copypaste_history_popup() [at ln:86] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def show_copypaste_history_popup(): No description. ---- *Function:* `update_column_number(row, col) [at ln:89] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def update_column_number(row, col): No description.