Module implementing a simple terminal based on QScintilla.
None |
Terminal | Class implementing a simple terminal based on QScintilla. |
None |
Class implementing a simple terminal based on QScintilla.
A user can enter commands that are executed by a shell process.
None |
Terminal | Constructor |
__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. |
__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. |
__configure | Private method to open the configuration dialog. |
__executeCommand | Private slot to execute a command. |
__finished | Private method called, when the shell process has finished. |
__getEndPos | Private method to return the line and column of the last character. |
__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. |
__isCursorOnLastLine | Private method to check, if the cursor is on the last line. |
__readOutput | Private method to process the output of the shell. |
__reset | Private slot to handle the 'reset' 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. |
__send | Private method to send data to the shell process. |
__sendCtrl | Private slot to send a control command to the shell process. |
__setMargin0 | Private method to configure margin 0. |
__setMonospaced | Private method to set/reset a monospaced font. |
__setTextDisplay | Private method to configure the text display. |
__showHistory | Private slot to show the shell history dialog. |
__startShell | Private slot to start the shell process. |
__started | Private method called, when the shell process has started. |
__stopShell | Private slot to stop the shell process. |
__useHistory | Private method to display a command from the history. |
__write | Private method to display some text. |
clear | Public slot to clear the display. |
closeTerminal | Public method to shutdown the terminal. |
contextMenuEvent | Reimplemented to show our own context menu. |
editorCommand | Public method to perform an editor command. |
focusInEvent | Public method called when the shell receives focus. |
focusOutEvent | Public method called when the shell loses focus. |
getHistory | Public method to get the history. |
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. |
mousePressEvent | Protected method to handle the mouse press event. |
reloadHistory | Public method to reload the history. |
saveHistory | Public method to save the history. |
Constructor
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 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 method to open the configuration dialog.
Private slot to execute a command.
Private method called, when the shell process has finished.
Private method to return the line and column of the last character.
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 check, if the cursor is on the last line.
Private method to process the output of the shell.
Private slot to handle the 'reset' 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 send data to the shell process.
Private slot to send a control command to the shell process.
Private method to configure margin 0.
Private method to set/reset a monospaced font.
Private method to configure the text display.
Private slot to show the shell history dialog.
Private slot to start the shell process.
Private method called, when the shell process has started.
Private slot to stop the shell process.
Private method to display a command from the history.
Private method to display some text.
Public slot to clear the display.
Public method to shutdown the terminal.
Reimplemented to show our own context menu.
Public method to perform an editor command.
Public method called when the shell receives focus.
Public method called when the shell loses focus.
Public method to get the history.
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.
Protected method to handle the mouse press event.
Public method to reload the history.
Public method to save the history.