Module implementing a graphical Python shell.
None |
Shell | Class implementing a graphical Python shell. |
None |
Class implementing a graphical Python shell.
A user can enter commands that are executed in the remote Python interpreter.
None |
None |
Shell | Constructor |
__QScintillaAutoCompletionCommand | Private method to handle a command for autocompletion only. |
__QScintillaCharLeft | Private method to handle the Cursor Left command. |
__QScintillaCharLeftExtend | Private method to handle the Extend Selection Left command. |
__QScintillaCharRight | Private method to handle the Cursor Right command. |
__QScintillaDelete | Private method to handle the delete command. |
__QScintillaDeleteBack | Private method to handle the Backspace key. |
__QScintillaDeleteLineLeft | Private method to handle the Delete Line Left command. |
__QScintillaDeleteLineRight | Private method to handle the Delete Line Right command. |
__QScintillaDeleteWordLeft | Private method to handle the Delete Word Left command. |
__QScintillaDeleteWordRight | Private method to handle the Delete Word Right command. |
__QScintillaLeftCommand | Private method to handle a QScintilla command working to the left. |
__QScintillaLeftDeleteCommand | Private method to handle a QScintilla delete command working to the left. |
__QScintillaLineDown | Private method to handle the Down key. |
__QScintillaLineEnd | Private method to handle the End key. |
__QScintillaLineUp | Private method to handle the Up key. |
__QScintillaNewline | Private method to handle the Return key. |
__QScintillaRightCommand | Private method to handle a QScintilla command working to the right. |
__QScintillaTab | Private method to handle the Tab key. |
__QScintillaVCHome | Private method to handle the Home key. |
__QScintillaVCHomeExtend | Private method to handle the Extend Selection to start of line command. |
__QScintillaWordLeft | Private method to handle the Cursor Word Left command. |
__QScintillaWordLeftExtend | Private method to handle the Extend Selection Left one word command. |
__QScintillaWordRight | Private method to handle the Cursor Word Right command. |
__bindLexer | Private slot to set the lexer. |
__clearCurrentLine | Private method to clear the line containing the cursor. |
__clearHistory | Private slot to clear the current history. |
__clientCapabilities | Private slot to handle the reporting of the clients capabilities. |
__clientError | Private method to handle an error in the client. |
__clientStatement | Private method to handle the response from the debugger client. |
__completionListSelected | Private slot to handle the selection from the completion list. |
__configure | Private method to open the configuration dialog. |
__executeCommand | Private slot to execute a command. |
__getBanner | Private method to get the banner for the remote interpreter. |
__getEndPos | Private method to return the line and column of the last character. |
__initialise | Private method to get ready for a new remote interpreter. |
__insertHistory | Private method to insert a command selected from the history. |
__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. |
__isCursorOnLastLine | Private method to check, if the cursor is on the last line. |
__middleMouseButton | Private method to handle the middle mouse button press. |
__raw_input | Private method to handle raw input. |
__reset | Private slot to handle the 'reset' context menu entry. |
__resetAndClear | Private slot to handle the 'reset and clear' context menu entry. |
__rsearchHistory | Private method used to reverse search the history. |
__searchHistory | Private method used to search the history. |
__selectHistory | Private slot to select a history entry to execute. |
__setAutoCompletion | Private method to configure the autocompletion function. |
__setCallTips | Private method to configure the calltips function. |
__setMargin0 | Private method to configure margin 0. |
__setMonospaced | Private method to set/reset a monospaced font. |
__setTextDisplay | Private method to configure the text display. |
__showCompletions | Private method to display the possible completions. |
__showHistory | Private slot to show the shell history dialog. |
__startDebugClient | Private slot to start a debug client accoding to the action triggered. |
__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. |
__writePrompt | Private method to write the prompt. |
__writeStdErr | Private method to display some text with StdErr label. |
__writeStdOut | Private method to display some text with StdOut label. |
clear | Public slot to clear the display. |
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. |
executeLines | Public 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. |
getClientType | Public slot to get the clients type. |
getHistory | Public method to get the history for the given client type. |
handlePreferencesChanged | Public slot to handle the preferencesChanged signal. |
insert | Public slot to insert text at the current cursor position. |
keyPressEvent | Re-implemented to handle the user input a key at a time. |
loadHistory | Public method to load the history for the given client type. |
mousePressEvent | Protected method to handle the mouse press event. |
paste | Reimplemented slot to handle the paste action. |
reloadHistory | Public method to reload the history of the currently selected client type. |
saveHistory | Public method to save the history for the given client type. |
setDebuggerUI | Public method to set the debugger UI. |
None |
Constructor
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 Cursor Right 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 Line Right command.
Private method to handle the Delete Word Left command.
Private method to handle the Delete Word Right 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 a QScintilla command working to the right.
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 method to handle the Cursor Word Right command.
Private slot to set the lexer.
Private method to clear the line containing the cursor.
Private slot to clear the current history.
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 open the configuration dialog.
Private slot to execute a command.
Private method to get the banner for the remote interpreter.
It requests the interpreter version and platform running on the debug client side.
Private method to return the line and column of the last character.
Private method to get ready for a new remote interpreter.
Private method to insert a command selected from the history.
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.
Private method to check, if the cursor is on the last line.
Private method to handle the middle mouse button press.
Private method to handle raw input.
Private slot to handle the 'reset' context menu entry.
Private slot to handle the 'reset and clear' context menu entry.
Private method used to reverse search the history.
Private method used to search the history.
Private slot to select a history entry to execute.
Private method to configure the autocompletion function.
Private method to configure the calltips function.
Private method to configure margin 0.
Private method to set/reset a monospaced font.
Private method to configure the text display.
Private method to display the possible completions.
Private slot to show the shell history dialog.
Private slot to start a debug client accoding to the action triggered.
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.
Private method to write the prompt.
Private method to display some text with StdErr label.
Private method to display some text with StdOut label.
Public slot to clear the display.
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.
Public 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.
Public slot to get the clients type.
Public method to get the history for the given client type.
Public slot to handle the preferencesChanged signal.
Public slot to insert text at the current cursor position.
The cursor is advanced to the end of the inserted text.
Re-implemented to handle the user input a key at a time.
Public method to load the history for the given client type.
Protected method to handle the mouse press event.
Reimplemented slot to handle the paste action.
Public method to reload the history of the currently selected client type.
Public method to save the history for the given client type.
Public method to set the debugger UI.