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. |
closeShell | Public method to shutdown the shell. |
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. |
editorCommand | Public method to perform an editor command. |
eventFilter | Protected method to handle some event on behalve of our componentes. |
executeCommand | Private slot to execute a command. |
executeLines | Private method to execute a set of lines as multiple commands. |
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. |
getClientType | Public slot to get the clients type. |
getEndPos | Private method to return the line and column of the last character. |
handleClear | Public slot to handle the 'clear' context menu entry. |
handleClientCapabilities | Private slot to handle the reporting of the clients capabilities. |
handleClientError | Private method to handle an error in the client. |
handleClientStatement | Private method to handle the response from the debugger client. |
handleCompletionList | Private slot to handle the selection from the completion list. |
handleMiddleButton | Private method to handle the middle mouse button press. |
handlePreferencesChanged | Public slot to handle the preferencesChanged signal. |
handleQScintillaAutoCompletionCommand | Private method to handle a command for autocompletion only. |
handleQScintillaCharLeft | Private method to handle the Cursor Left command. |
handleQScintillaCharLeftExtend | Private method to handle the Extend Selection Left command. |
handleQScintillaDelete | Private method to handle the delete command. |
handleQScintillaDeleteBack | Private method to handle the Backspace key. |
handleQScintillaDeleteLineLeft | Private method to handle the Delete Line Left command. |
handleQScintillaDeleteWordLeft | Private method to handle the Delete Word Left command. |
handleQScintillaLeftCommand | Private method to handle a QScintilla command working to the left. |
handleQScintillaLeftDeleteCommand | Private method to handle a QScintilla delete command working to the left. |
handleQScintillaLineDown | Private method to handle the Down key. |
handleQScintillaLineEnd | Private method to handle the End key. |
handleQScintillaLineUp | Private method to handle the Up key. |
handleQScintillaNewline | Private method to handle the Return key. |
handleQScintillaTab | Private method to handle the Tab key. |
handleQScintillaVCHome | Private method to handle the Home key. |
handleQScintillaVCHomeExtend | Private method to handle the Extend Selection to start of line command. |
handleQScintillaWordLeft | Private method to handle the Cursor Word Left command. |
handleQScintillaWordLeftExtend | Private method to handle the Extend Selection Left one word command. |
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. |
mousePress | Re-implemented to handle the press of the left and middle button specially. |
paste | Reimplemented slot to handle the paste action. |
raw_input | Private method to handle raw input. |
rsearchHistory | Private method used to reverse search the history. |
searchHistory | Private method used to search the history. |
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.
Public method to shutdown the shell.
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.
Public method to perform an editor command.
Protected method to handle some event on behalve of our componentes.
Private slot to execute a command.
Private method to execute a set of lines as multiple commands.
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.
Public slot to get the clients type.
Private method to return the line and column of the last character.
Public slot to handle the 'clear' context menu entry.
Private slot to handle the reporting of the clients capabilities.
Private method to handle an error in the client.
Private method to handle the response from the debugger client.
Private slot to handle the selection from the completion list.
Private method to handle the middle mouse button press.
Public slot to handle the preferencesChanged signal.
Private method to handle a command for autocompletion only.
Private method to handle the Cursor Left command.
Private method to handle the Extend Selection Left command.
Private method to handle the delete command.
Private method to handle the Backspace key.
Private method to handle the Delete Line Left command.
Private method to handle the Delete Word Left command.
Private method to handle a QScintilla command working to the left.
Private method to handle a QScintilla delete command working to the left.
Private method to handle the Down key.
Private method to handle the End key.
Private method to handle the Up key.
Private method to handle the Return key.
Private method to handle the Tab key.
Private method to handle the Home key.
Private method to handle the Extend Selection to start of line command.
Private method to handle the Cursor Word Left command.
Private method to handle the Extend Selection Left one word command.
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.
Re-implemented to handle the press of the left and middle button specially.
Reimplemented slot to handle the paste action.
Private method to handle raw input.
Private method used to reverse search the history.
Private method used to search the history.
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.