Module implementing a graphical Python shell.
Shell | Module implementing a graphical Python shell. |
None |
Module implementing a graphical Python shell. A user can enter commands that are executed in the remote Python interpreter.
Shell | Constructor |
bindLexer | Private slot to set the lexer. |
clearCurrentLine | Private method to clear the line containing the cursor. |
contextMenuEvent | Reimplemented to show our own context menu. |
dragEnterEvent | Protected method to handle the drag enter event. |
dragLeaveEvent | Protected method to handle the drag leave event. |
dragMoveEvent | Protected method to handle the drag move event. |
dropEvent | Protected method to handle the drop event. |
eventFilter | Protected method to handle some event on behalve of our componentes. |
focusInEvent | Public method called when the shell receives focus. |
focusNextPrevChild | Reimplemented to stop Tab moving to the next window. |
focusOutEvent | Public method called when the shell loses focus. |
getBanner | Private method to get the banner for the remote interpreter. |
getEndPos | Private method to return the line and column of the last character. |
handleClear | Private slot to handle the 'clear' context menu entry. |
handleClientCapabilities | Private slot to handle the reporting of the clients capabilities. |
handleClientStatement | Private method to handle the response from the debugger client. |
handlePreferencesChanged | Public slot to handle the preferencesChanged signal. |
handleReset | Private slot to handle the 'reset' context menu entry. |
handleResetAndClear | Private slot to handle the 'reset and clear' context menu entry. |
handleStartPython | Private slot to handle the 'Start Python' context menu entry. |
handleStartRuby | Private slot to handle the 'Start Ruby' context menu entry. |
initialise | Private method to get ready for a new remote interpreter. |
insert | Public slot to insert text at the current cursor position. |
insertText | Private method to insert some text at the current cursor position. |
insertTextAtEnd | Private method to insert some text at the end of the command line. |
insertTextNoEcho | Private method to insert some text at the end of the buffer without echoing it. |
keyPressEvent | Re-implemented to handle the user input a key at a time. |
paste | Reimplemented slot to handle the paste action. |
raw_input | Private method to handle raw input. |
setAutoCompletion | Private method to configure the autocompletion function. |
setCallTips | Private method to configure the calltips function. |
setMargin0 | Private method to configure margins 0. |
setTextDisplay | Private method to configure the text display. |
showCompletions | Private method to display the possible completions. |
useHistory | Private method to display a command from the history. |
write | Private method to display some text. |
writeBanner | Private method to write a banner with info from the debug client. |
Constructor
Private slot to set the lexer.
Private method to clear the line containing the cursor.
Reimplemented to show our own context menu.
Protected method to handle the drag enter event.
Protected method to handle the drag leave event.
Protected method to handle the drag move event.
Protected method to handle the drop event.
Protected method to handle some event on behalve of our componentes.
Public method called when the shell receives focus.
Reimplemented to stop Tab moving to the next window. While the user is entering a multi-line command, the movement to the next window by the Tab key being pressed is suppressed.
Public method called when the shell loses focus.
Private method to get the banner for the remote interpreter. It requests the Python version and platform running on the debug client side.
Private method to return the line and column of the last character.
Private slot to handle the 'clear' context menu entry.
Private slot to handle the reporting of the clients capabilities.
Private method to handle the response from the debugger client.
Public slot to handle the preferencesChanged signal.
Private slot to handle the 'reset' context menu entry.
Private slot to handle the 'reset and clear' context menu entry.
Private slot to handle the 'Start Python' context menu entry.
Private slot to handle the 'Start Ruby' context menu entry.
Private method to get ready for a new remote interpreter.
Public slot to insert text at the current cursor position. The cursor is advanced to the end of the inserted text.
Private method to insert some text at the current cursor position.
Private method to insert some text at the end of the command line.
Private method to insert some text at the end of the buffer without echoing it.
Re-implemented to handle the user input a key at a time.
Reimplemented slot to handle the paste action.
Private method to handle raw input.
Private method to configure the autocompletion function.
Private method to configure the calltips function.
Private method to configure margins 0.
Private method to configure the text display.
Private method to display the possible completions.
Private method to display a command from the history.
Private method to display some text.
Private method to write a banner with info from the debug client.