pyqode.python.panels¶
This packages contains the python specific panels:
- QuickDocPanel: show docstring of functions/classes.
- SymbolBrowserPanel: combo box that shows the symbols in the current document.
- class pyqode.python.panels.SymbolBrowserPanel¶
Bases: pyqode.core.api.panel.Panel
Show a combo box with the file definitions.
Allow quick navigation in the file and sync with the cursor position.
- on_state_changed(state)¶
- class pyqode.python.panels.QuickDocPanel¶
Bases: pyqode.core.api.panel.Panel
This panel quickly shows the documentation of the symbol under cursor.
- on_install(editor)¶
- on_state_changed(state)¶
- refresh_style()¶
- STYLESHEET = '\n\n QTextEdit\n {\n background-color: %(tooltip)s;\n color: %(color)s;\n }\n\n QPushButton\n {\n color: %(color)s;\n background-color: transparent;\n padding: 5px;\n border: none;\n }\n\n QPushButton:hover\n {\n background-color: %(highlight)s;\n border: none;\n border-radius: 5px;\n color: %(color)s;\n }\n\n QPushButton:pressed, QCheckBox:pressed\n {\n border: 1px solid %(bck)s;\n }\n\n QPushButton:disabled\n {\n color: %(highlight)s;\n }\n '¶