A widget which displays output from a terminal emulation and sends input keypresses and mouse activity to the terminal. More...
#include "TerminalView.h"
Classes | |
struct | _dragInfo |
struct | InputMethodData |
Public Types | |
enum | BellMode { SystemBeepBell =0 , NotifyBell =1 , VisualBell =2 , NoBell =3 } |
This enum describes the different types of sounds and visual effects which can be used to alert the user when a 'bell' occurs in the terminal session. More... | |
enum | KeyboardCursorShape { BlockCursor , UnderlineCursor , IBeamCursor } |
This enum describes the available shapes for the keyboard cursor. More... | |
enum | ScrollBarPosition { NoScrollBar =0 , ScrollBarLeft =1 , ScrollBarRight =2 } |
This enum describes the location where the scroll bar is positioned in the display widget. More... | |
enum | TripleClickMode { SelectWholeLine , SelectForwardsFromCursor } |
This enum describes the methods for selecting text when the user triple-clicks within the display. More... | |
Public Slots | |
bool | bracketedPasteMode () const |
void | copyClipboard (bool extra_interrupt) |
Copies the selected text to the clipboard. More... | |
void | outputSuspended (bool suspended) |
Causes the widget to display or hide a message informing the user that terminal output has been suspended (by using the flow control key combination Ctrl+S) More... | |
void | pasteClipboard () |
Pastes the content of the clipboard into the display. More... | |
void | pasteSelection () |
Pastes the content of the selection into the display. More... | |
void | processFilters () |
Updates the filters in the display's filter chain. More... | |
void | selectAll () |
selects all content More... | |
void | setBracketedPasteMode (bool bracketedPasteMode) |
void | setUsesMouse (bool usesMouse) |
Sets whether the program whoose output is being displayed in the view is interested in mouse events. More... | |
void | updateImage () |
Causes the terminal display to fetch the latest character image from the associated terminal screen ( see setScreenWindow() ) and redraw the display. More... | |
void | updateLineProperties () |
Causes the terminal display to fetch the latest line status flags from the associated terminal screen ( see setScreenWindow() ). More... | |
bool | usesMouse () const |
See setUsesMouse() More... | |
Signals | |
void | changedContentSizeSignal (int height, int width) |
void | changedFontMetricSignal (int height, int width) |
void | configureRequest (TerminalView *, int state, const QPoint &position) |
Emitted when the user right clicks on the display, or right-clicks with the Shift key held down if usesMouse() is true. More... | |
void | interrupt_signal (void) |
void | isBusySelecting (bool) |
void | keyPressedSignal (QKeyEvent *e) |
Emitted when the user presses a key whilst the terminal widget has focus. More... | |
void | mouseSignal (int button, int column, int line, int eventType) |
A mouse event occurred. More... | |
void | sendStringToEmu (const char *) |
void | set_global_shortcuts_signal (bool) |
Emitted when focus changes. More... | |
void | tripleClicked (const QString &text) |
Public Member Functions | |
TerminalView (QWidget *parent=nullptr) | |
Constructs a new terminal display widget with the specified parent. More... | |
virtual | ~TerminalView () |
int | bellMode () |
Returns the type of effect used to alert the user when a 'bell' occurs in the terminal session. More... | |
bool | blinkingCursor () |
Returns true if the cursor is set to blink or false otherwise. More... | |
bool | bracketedPasteModeIsDisabled () const |
void | bracketText (QString &text) |
change and wrap text corresponding to paste mode More... | |
const ColorEntry * | colorTable () const |
Returns the terminal color palette used by the display. More... | |
int | columns () |
Returns the number of characters of text which can be displayed on each line in the widget. More... | |
bool | ctrlDrag () |
void | disableBracketedPasteMode (bool disable) |
void | emitSelection (bool useXselection, bool appendReturn) |
QList< QAction * > | filterActions (const QPoint &position) |
Returns a list of menu actions created by the filters for the content at the given position . More... | |
FilterChain * | filterChain () const |
Returns the display's filter chain. More... | |
int | fontHeight () |
Returns the height of the characters in the font used to draw the text in the display. More... | |
int | fontWidth () |
Returns the width of the characters in the display. More... | |
QFont | getVTFont () |
Returns the font used to draw characters in the display. More... | |
QColor | keyboardCursorColor () const |
Returns the color of the keyboard cursor, or an invalid color if the keyboard cursor color is set to change according to the foreground color of the character underneath it. More... | |
KeyboardCursorShape | keyboardCursorShape () const |
Returns the shape of the keyboard cursor. More... | |
int | lines () |
Returns the number of lines of text which can be displayed in the widget. More... | |
uint | lineSpacing () const |
uint | randomSeed () const |
Returns the seed used to generate random colors for the display (in color schemes that support them). More... | |
ScreenWindow * | screenWindow () const |
Returns the terminal screen section which is displayed in this widget. More... | |
QString | selectedText () |
void | setBellMode (int mode) |
Sets the type of effect used to alert the user when a 'bell' occurs in the terminal session. More... | |
void | setBlinkingCursor (bool blink) |
Specifies whether or not the cursor blinks. More... | |
void | setBlinkingCursorState (bool blink) |
void | setColorTable (const ColorEntry table[]) |
Sets the terminal color palette used by the display. More... | |
void | setCtrlDrag (bool enable) |
void | setFixedSize (int cols, int lins) |
virtual void | setFont (const QFont &) |
Reimplemented. More... | |
void | setKeyboardCursorColor (bool useForegroundColor, const QColor &color) |
Sets the color used to draw the keyboard cursor. More... | |
void | setKeyboardCursorShape (KeyboardCursorShape shape) |
Sets the shape of the keyboard cursor. More... | |
void | setLineSpacing (uint) |
void | setRandomSeed (uint seed) |
Sets the seed used to generate random colors for the display (in color schemes that support them). More... | |
void | setReadOnly (bool readonly) |
Specified whether terminal widget should be at read-only mode Defaults to false. More... | |
void | setScreenWindow (ScreenWindow *window) |
Sets the terminal screen section which is displayed in this widget. More... | |
void | setScroll (int cursor, int lines) |
Sets the current position and range of the display's scroll bar. More... | |
void | setScrollBarPosition (ScrollBarPosition position) |
Specifies whether the terminal display has a vertical scroll bar, and if so whether it is shown on the left or right side of the display. More... | |
void | setSelection (const QString &t) |
void | setSize (int cols, int lins) |
void | setTerminalSizeHint (bool on) |
Sets whether or not the current height and width of the terminal in lines and columns is displayed whilst the widget is being resized. More... | |
void | setTerminalSizeStartup (bool on) |
Sets whether the terminal size display is shown briefly after the widget is first shown. More... | |
void | setTripleClickMode (TripleClickMode mode) |
Sets how the text is selected when the user triple clicks within the display. More... | |
void | setVTFont (const QFont &font) |
Sets the font used to draw the display. More... | |
void | setWordCharacters (const QString &wc) |
Sets which characters, in addition to letters and numbers, are regarded as being part of a word for the purposes of selecting words in the display by double clicking on them. More... | |
QSize | sizeHint () const |
bool | terminalSizeHint () |
Returns whether or not the current height and width of the terminal in lines and columns is displayed whilst the widget is being resized. More... | |
TripleClickMode | tripleClickMode () |
See setTripleClickSelectionMode() More... | |
void | visibility_changed (bool visible) |
Is called, when the terminal's visibility has changed in order to stop orstart timers etc. More... | |
QString | wordCharacters () |
Returns the characters which are considered part of a word for the purpose of selecting words in the display with the mouse. More... | |
Static Public Member Functions | |
static bool | antialias () |
Returns true if anti-aliasing of text in the terminal is enabled. More... | |
static void | setAntialias (bool antialias) |
Specified whether anti-aliasing of text in the terminal display is enabled or not. More... | |
Protected Types | |
enum | DragState { diNone , diPending , diDragging } |
Protected Slots | |
void | blinkCursorEvent () |
void | blinkEvent () |
void | enableBell () |
void | scrollBarPositionChanged (int value) |
Protected Member Functions | |
virtual int | charClass (quint16) const |
void | clearImage () |
void | doDrag () |
virtual void | dragEnterEvent (QDragEnterEvent *event) |
virtual void | dropEvent (QDropEvent *event) |
virtual void | extendSelection (const QPoint &pos) |
void | focusInEvent (QFocusEvent *focusEvent) |
virtual bool | focusNextPrevChild (bool next) |
void | focusOutEvent (QFocusEvent *focusEvent) |
virtual void | fontChange (const QFont &font) |
virtual void | hideEvent (QHideEvent *) |
virtual void | inputMethodEvent (QInputMethodEvent *event) |
virtual QVariant | inputMethodQuery (Qt::InputMethodQuery query) const |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | mouseDoubleClickEvent (QMouseEvent *ev) |
virtual void | mouseMoveEvent (QMouseEvent *) |
virtual void | mousePressEvent (QMouseEvent *) |
virtual void | mouseReleaseEvent (QMouseEvent *) |
void | mouseTripleClickEvent (QMouseEvent *ev) |
virtual void | paintEvent (QPaintEvent *) |
virtual void | resizeEvent (QResizeEvent *) |
virtual void | showEvent (QShowEvent *) |
virtual void | wheelEvent (QWheelEvent *) |
Protected Attributes | |
struct TerminalView::_dragInfo | dragInfo |
Private Slots | |
void | swapColorTable () |
void | tripleClickTimeout () |
Private Member Functions | |
void | calcGeometry () |
QPoint | cursorPosition () const |
void | drawBackground (QPainter &painter, const QRect &rect, const QColor &color) |
void | drawCharacters (QPainter &painter, const QRect &rect, const QString &text, const Character *style, bool invertCharacterColor) |
void | drawContents (QPainter &paint, const QRect &rect) |
void | drawCursor (QPainter &painter, const QRect &rect, const QColor &foregroundColor, const QColor &backgroundColor, bool &invertColors) |
void | drawInputMethodPreeditString (QPainter &painter, const QRect &rect) |
void | drawTextFragment (QPainter &painter, const QRect &rect, const QString &text, const Character *style) |
void | getCharacterPosition (const QPoint &widgetPoint, int &line, int &column) const |
QRegion | hotSpotRegion () const |
QRect | imageToWidget (const QRect &imageArea) const |
void | makeImage () |
void | paintFilters (QPainter &painter) |
QRect | preeditRect () const |
void | propagateSize () |
void | scrollImage (int lines, const QRect ®ion) |
void | showResizeNotification () |
void | updateImageSize () |
Static Private Attributes | |
static bool | _antialiasText = true |
static const int | BLINK_DELAY = 500 |
static const int | DEFAULT_LEFT_MARGIN = 2 |
static const int | DEFAULT_TOP_MARGIN = 2 |
A widget which displays output from a terminal emulation and sends input keypresses and mouse activity to the terminal.
When the terminal emulation receives new output from the program running in the terminal, it will update the display by calling updateImage().
TODO More documentation
Definition at line 63 of file TerminalView.h.
This enum describes the different types of sounds and visual effects which can be used to alert the user when a 'bell' occurs in the terminal session.
Definition at line 296 of file TerminalView.h.
|
protected |
Enumerator | |
---|---|
diNone | |
diPending | |
diDragging |
Definition at line 532 of file TerminalView.h.
This enum describes the available shapes for the keyboard cursor.
Definition at line 170 of file TerminalView.h.
This enum describes the location where the scroll bar is positioned in the display widget.
Enumerator | |
---|---|
NoScrollBar | Do not show the scroll bar. |
ScrollBarLeft | Show the scroll bar on the left side of the display. |
ScrollBarRight | Show the scroll bar on the right side of the display. |
Definition at line 91 of file TerminalView.h.
This enum describes the methods for selecting text when the user triple-clicks within the display.
Enumerator | |
---|---|
SelectWholeLine | Select the whole line underneath the cursor. |
SelectForwardsFromCursor | Select from the current cursor position to the end of the line. |
Definition at line 146 of file TerminalView.h.
TerminalView::TerminalView | ( | QWidget * | parent = nullptr | ) |
Constructs a new terminal display widget with the specified parent.
Definition at line 238 of file TerminalView.cpp.
References _blinkCursorTimer, _blinkTimer, _gridLayout, _leftMargin, _process_filter_timer, _scrollBar, _topMargin, base_color_table, blinkCursorEvent(), blinkEvent(), DEFAULT_LEFT_MARGIN, DEFAULT_TOP_MARGIN, diNone, dragInfo, processFilters(), scrollBarPositionChanged(), set_global_shortcuts_signal(), setBracketedPasteMode(), setColorTable(), setScroll(), setUsesMouse(), and TerminalView::_dragInfo::state.
|
virtual |
Definition at line 345 of file TerminalView.cpp.
References _filterChain, _gridLayout, _image, and _outputSuspendedLabel.
|
inlinestatic |
Returns true if anti-aliasing of text in the terminal is enabled.
Definition at line 346 of file TerminalView.h.
References _antialiasText.
Referenced by setAntialias().
|
inline |
Returns the type of effect used to alert the user when a 'bell' occurs in the terminal session.
See setBellMode()
Definition at line 289 of file TerminalView.h.
References _bellMode.
|
protectedslot |
Definition at line 1298 of file TerminalView.cpp.
References _cursorBlinking, _hasBlinkingCursor, cursorPosition(), and imageToWidget().
Referenced by TerminalView(), keyPressEvent(), and setBlinkingCursorState().
|
protectedslot |
Definition at line 1276 of file TerminalView.cpp.
References _blinking.
Referenced by TerminalView().
|
inline |
Returns true if the cursor is set to blink or false otherwise.
Definition at line 134 of file TerminalView.h.
References _hasBlinkingCursor.
|
slot |
Definition at line 2196 of file TerminalView.cpp.
References _bracketedPasteMode.
Referenced by emitSelection().
|
inline |
Definition at line 386 of file TerminalView.h.
References _disabledBracketedPasteMode.
void TerminalView::bracketText | ( | QString & | text | ) |
change and wrap text corresponding to paste mode
Definition at line 2237 of file TerminalView.cpp.
Referenced by emitSelection().
|
private |
Definition at line 2451 of file TerminalView.cpp.
References _columns, _contentHeight, _contentWidth, _fontHeight, _fontWidth, _isFixedSize, _leftMargin, _lines, _scrollBar, _scrollbarLocation, _topMargin, _usedColumns, _usedLines, DEFAULT_LEFT_MARGIN, DEFAULT_TOP_MARGIN, NoScrollBar, ScrollBarLeft, and ScrollBarRight.
Referenced by makeImage().
|
signal |
Referenced by hideEvent(), showEvent(), and updateImageSize().
|
signal |
Referenced by fontChange().
|
protectedvirtual |
Definition at line 2165 of file TerminalView.cpp.
References _wordCharacters.
Referenced by extendSelection(), mouseDoubleClickEvent(), and mouseTripleClickEvent().
|
protected |
Definition at line 2437 of file TerminalView.cpp.
References _image, _imageSize, Character::backgroundColor, Character::character, COLOR_SPACE_DEFAULT, DEFAULT_BACK_COLOR, DEFAULT_FORE_COLOR, DEFAULT_RENDITION, Character::foregroundColor, and Character::rendition.
Referenced by makeImage().
const ColorEntry * TerminalView::colorTable | ( | ) | const |
Returns the terminal color palette used by the display.
Definition at line 113 of file TerminalView.cpp.
References _colorTable.
Referenced by paintFilters(), QUnixTerminalImpl::setBackgroundColor(), and QUnixTerminalImpl::setForegroundColor().
|
inline |
Returns the number of characters of text which can be displayed on each line in the widget.
This will depend upon the width of the widget and the current font. See fontWidth()
Definition at line 237 of file TerminalView.h.
References _columns.
Referenced by setSize(), updateImage(), updateImageSize(), and TerminalModel::updateTerminalSize().
|
signal |
Emitted when the user right clicks on the display, or right-clicks with the Shift key held down if usesMouse() is true.
This can be used to display a context menu.
Referenced by mousePressEvent().
|
slot |
Copies the selected text to the clipboard.
Definition at line 2248 of file TerminalView.cpp.
References _preserveLineBreaks, _screenWindow, and interrupt_signal().
Referenced by QUnixTerminalImpl::copyClipboard().
|
inline |
Definition at line 140 of file TerminalView.h.
References _ctrlDrag.
|
private |
Definition at line 1007 of file TerminalView.cpp.
References _screenWindow.
Referenced by blinkCursorEvent(), drawInputMethodPreeditString(), and preeditRect().
|
inline |
Definition at line 385 of file TerminalView.h.
References _disabledBracketedPasteMode.
|
protected |
Definition at line 2611 of file TerminalView.cpp.
References diDragging, dragInfo, TerminalView::_dragInfo::dragObject, and TerminalView::_dragInfo::state.
Referenced by mouseMoveEvent().
|
protectedvirtual |
Definition at line 2556 of file TerminalView.cpp.
|
private |
Definition at line 434 of file TerminalView.cpp.
References _scrollBar.
Referenced by drawInputMethodPreeditString(), drawTextFragment(), and paintEvent().
|
private |
Definition at line 508 of file TerminalView.cpp.
References _blinking, _colorTable, Character::backgroundColor, CharacterColor::color(), Character::foregroundColor, Character::isBold(), RE_BLINK, RE_BOLD, RE_UNDERLINE, and Character::rendition.
Referenced by drawInputMethodPreeditString(), and drawTextFragment().
|
private |
Definition at line 1139 of file TerminalView.cpp.
References _fixedFont, _fontHeight, _fontWidth, _image, _imageSize, _leftMargin, _lineProperties, _topMargin, _usedColumns, _usedLines, Character::backgroundColor, Character::character, drawTextFragment(), Character::foregroundColor, ExtendedCharTable::instance, len, LINE_DOUBLEHEIGHT, LINE_DOUBLEWIDTH, loc, ExtendedCharTable::lookupExtendedChar(), RE_EXTENDED_CHAR, Character::rendition, and x.
Referenced by paintEvent().
|
private |
Definition at line 455 of file TerminalView.cpp.
References _cursorBlinking, _cursorColor, _cursorShape, _fontHeight, _lineSpacing, BlockCursor, IBeamCursor, and UnderlineCursor.
Referenced by drawInputMethodPreeditString(), and drawTextFragment().
|
private |
Definition at line 1028 of file TerminalView.cpp.
References _colorTable, _image, _inputMethodData, ColorEntry::color, cursorPosition(), DEFAULT_BACK_COLOR, DEFAULT_FORE_COLOR, drawBackground(), drawCharacters(), drawCursor(), loc, TerminalView::InputMethodData::preeditString, and TerminalView::InputMethodData::previousPreeditRect.
Referenced by paintEvent().
|
private |
Definition at line 549 of file TerminalView.cpp.
References _colorTable, Character::backgroundColor, CharacterColor::color(), drawBackground(), drawCharacters(), drawCursor(), Character::foregroundColor, RE_CURSOR, and Character::rendition.
Referenced by drawContents().
|
protectedvirtual |
Definition at line 2562 of file TerminalView.cpp.
References sendStringToEmu().
void TerminalView::emitSelection | ( | bool | useXselection, |
bool | appendReturn | ||
) |
Definition at line 2210 of file TerminalView.cpp.
References text::text(), _disabledBracketedPasteMode, _screenWindow, bracketedPasteMode(), bracketText(), and keyPressedSignal().
Referenced by mousePressEvent(), pasteClipboard(), and pasteSelection().
|
protectedslot |
Definition at line 2423 of file TerminalView.cpp.
References _allowBell.
|
protectedvirtual |
Definition at line 1667 of file TerminalView.cpp.
References _actSel, _columnSelectionMode, _fontHeight, _fontWidth, _image, _imageSize, _iPntSel, _leftMargin, _lineProperties, _lineSelectionMode, _pntSel, _screenWindow, _scrollBar, _topMargin, _tripleSelBegin, _usedColumns, _usedLines, _wordSelectionMode, charClass(), getCharacterPosition(), octave::left, LINE_WRAPPED, loc, and yMouseScroll.
Referenced by mouseMoveEvent().
QList< QAction * > TerminalView::filterActions | ( | const QPoint & | position | ) |
Returns a list of menu actions created by the filters for the content at the given position
.
Definition at line 1552 of file TerminalView.cpp.
References _filterChain, Filter::HotSpot::actions(), getCharacterPosition(), and FilterChain::hotSpotAt().
Referenced by QUnixTerminalImpl::get_hotspot_actions().
FilterChain * TerminalView::filterChain | ( | ) | const |
Returns the display's filter chain.
When the image for the display is updated, the text is passed through each filter in the chain. Each filter can define hotspots which correspond to certain strings (such as URLs or particular words). Depending on the type of the hotspots created by the filter ( returned by Filter::Hotspot::type() ) the view will draw visual cues such as underlines on mouse-over for links or translucent rectangles for markers.
To add a new filter to the view, call: viewWidget->filterChain()->addFilter( filterObject );
Definition at line 1047 of file TerminalView.cpp.
References _filterChain.
Referenced by QUnixTerminalImpl::initialize().
|
protected |
Definition at line 984 of file TerminalView.cpp.
References set_global_shortcuts_signal(), setBlinkingCursorState(), and updateImage().
|
protectedvirtual |
Definition at line 2156 of file TerminalView.cpp.
References octave::next.
|
protected |
Definition at line 996 of file TerminalView.cpp.
References _cursorBlinking, set_global_shortcuts_signal(), and setBlinkingCursorState().
|
protectedvirtual |
Definition at line 161 of file TerminalView.cpp.
References _fixedFont, _fontAscent, _fontHeight, _fontWidth, _lineSpacing, changedFontMetricSignal(), propagateSize(), octave::qt_fontmetrics_horizontal_advance(), REPCHAR, and strlen().
Referenced by setVTFont().
|
inline |
Returns the height of the characters in the font used to draw the text in the display.
Definition at line 242 of file TerminalView.h.
References _fontHeight.
|
inline |
Returns the width of the characters in the display.
This assumes the use of a fixed-width font.
Definition at line 247 of file TerminalView.h.
References _fontWidth.
|
private |
Definition at line 1933 of file TerminalView.cpp.
References _fontHeight, _fontWidth, _leftMargin, _topMargin, _usedColumns, and _usedLines.
Referenced by extendSelection(), filterActions(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), mouseTripleClickEvent(), paintFilters(), and wheelEvent().
|
inline |
Returns the font used to draw characters in the display.
Definition at line 323 of file TerminalView.h.
|
protectedvirtual |
Definition at line 1390 of file TerminalView.cpp.
References _contentHeight, _contentWidth, and changedContentSizeSignal().
|
private |
Definition at line 689 of file TerminalView.cpp.
References _filterChain, Filter::HotSpot::endColumn(), Filter::HotSpot::endLine(), FilterChain::hotSpots(), imageToWidget(), Filter::HotSpot::startColumn(), and Filter::HotSpot::startLine().
Referenced by processFilters().
|
private |
Definition at line 1286 of file TerminalView.cpp.
References _fontHeight, _fontWidth, _leftMargin, and _topMargin.
Referenced by blinkCursorEvent(), hotSpotRegion(), and inputMethodQuery().
|
protectedvirtual |
Definition at line 2371 of file TerminalView.cpp.
References _inputMethodData, keyPressedSignal(), preeditRect(), TerminalView::InputMethodData::preeditString, and TerminalView::InputMethodData::previousPreeditRect.
|
protectedvirtual |
Definition at line 2381 of file TerminalView.cpp.
References _image, _lineProperties, _screenWindow, _usedColumns, PlainTextDecoder::begin(), PlainTextDecoder::decodeLine(), PlainTextDecoder::end(), imageToWidget(), and loc.
|
signal |
Referenced by copyClipboard().
|
signal |
Referenced by mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and mouseTripleClickEvent().
QColor TerminalView::keyboardCursorColor | ( | ) | const |
Returns the color of the keyboard cursor, or an invalid color if the keyboard cursor color is set to change according to the foreground color of the character underneath it.
Definition at line 429 of file TerminalView.cpp.
References _cursorColor.
TerminalView::KeyboardCursorShape TerminalView::keyboardCursorShape | ( | ) | const |
Returns the shape of the keyboard cursor.
Definition at line 414 of file TerminalView.cpp.
References _cursorShape.
|
signal |
Emitted when the user presses a key whilst the terminal widget has focus.
Referenced by emitSelection(), inputMethodEvent(), and keyPressEvent().
|
protectedvirtual |
Definition at line 2298 of file TerminalView.cpp.
References _actSel, _blinkCursorTimer, _cursorBlinking, _hasBlinkingCursor, _readonly, _screenWindow, BLINK_DELAY, blinkCursorEvent(), keyPressedSignal(), ScreenWindow::ScrollLines, ScreenWindow::ScrollPages, updateImage(), and updateLineProperties().
|
inline |
Returns the number of lines of text which can be displayed in the widget.
This will depend upon the height of the widget and the current font. See fontHeight()
Definition at line 229 of file TerminalView.h.
References _lines.
Referenced by scrollImage(), setSize(), updateImage(), updateImageSize(), and TerminalModel::updateTerminalSize().
uint TerminalView::lineSpacing | ( | ) | const |
Definition at line 2666 of file TerminalView.cpp.
References _lineSpacing.
|
private |
Definition at line 2488 of file TerminalView.cpp.
References _columns, _image, _imageSize, _lines, _usedColumns, _usedLines, calcGeometry(), and clearImage().
Referenced by setFixedSize(), and updateImageSize().
|
protectedvirtual |
Definition at line 1964 of file TerminalView.cpp.
References _actSel, _image, _iPntSel, _lineProperties, _mouseMarks, _possibleTripleClick, _preserveLineBreaks, _screenWindow, _scrollBar, _usedColumns, _usedLines, _wordSelectionMode, charClass(), getCharacterPosition(), LINE_WRAPPED, loc, mouseSignal(), setSelection(), tripleClickTimeout(), and x.
|
protectedvirtual |
Definition at line 1562 of file TerminalView.cpp.
References _actSel, _filterChain, _fontHeight, _fontWidth, _mouseMarks, _mouseOverHotspotArea, _screenWindow, _scrollBar, diDragging, diPending, doDrag(), dragInfo, Filter::HotSpot::endColumn(), Filter::HotSpot::endLine(), Filter::ErrorLink, extendSelection(), getCharacterPosition(), FilterChain::hotSpotAt(), isBusySelecting(), Filter::Link, mouseSignal(), setUsesMouse(), TerminalView::_dragInfo::start, Filter::HotSpot::startColumn(), Filter::HotSpot::startLine(), TerminalView::_dragInfo::state, Filter::HotSpot::tooltip(), and Filter::HotSpot::type().
|
protectedvirtual |
Definition at line 1459 of file TerminalView.cpp.
References _actSel, _columnSelectionMode, _ctrlDrag, _filterChain, _iPntSel, _lineSelectionMode, _mouseMarks, _pntSel, _possibleTripleClick, _preserveLineBreaks, _screenWindow, _scrollBar, _wordSelectionMode, Filter::HotSpot::actions(), configureRequest(), diNone, diPending, dragInfo, emitSelection(), Filter::ErrorLink, getCharacterPosition(), FilterChain::hotSpotAt(), isBusySelecting(), Filter::Link, mouseSignal(), mouseTripleClickEvent(), TerminalView::_dragInfo::start, TerminalView::_dragInfo::state, and Filter::HotSpot::type().
|
protectedvirtual |
Definition at line 1880 of file TerminalView.cpp.
References _actSel, _mouseMarks, _preserveLineBreaks, _screenWindow, _scrollBar, diNone, diPending, dragInfo, getCharacterPosition(), isBusySelecting(), mouseSignal(), setSelection(), and TerminalView::_dragInfo::state.
|
signal |
A mouse event occurred.
button | The mouse button (0 for left button, 1 for middle button, 2 for right button, 3 for release) |
column | The character column where the event occurred |
line | The character row where the event occurred |
eventType | The type of event. 0 for a mouse press / release or 1 for mouse motion |
Referenced by mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and wheelEvent().
|
protected |
Definition at line 2094 of file TerminalView.cpp.
References _actSel, _columns, _image, _iPntSel, _lineProperties, _lines, _lineSelectionMode, _preserveLineBreaks, _screenWindow, _scrollBar, _tripleClickMode, _tripleSelBegin, _wordSelectionMode, charClass(), getCharacterPosition(), isBusySelecting(), LINE_WRAPPED, loc, SelectForwardsFromCursor, SelectWholeLine, setSelection(), tripleClicked(), and x.
Referenced by mousePressEvent().
|
slot |
Causes the widget to display or hide a message informing the user that terminal output has been suspended (by using the flow control key combination Ctrl+S)
suspended | True if terminal output has been suspended and the warning message should be shown or false to indicate that terminal output has been resumed and that the warning message should disappear. |
Definition at line 2622 of file TerminalView.cpp.
References _gridLayout, and _outputSuspendedLabel.
|
protectedvirtual |
Definition at line 961 of file TerminalView.cpp.
References drawBackground(), drawContents(), drawInputMethodPreeditString(), paintFilters(), preeditRect(), and updateImage().
|
private |
Definition at line 1052 of file TerminalView.cpp.
References _columns, _filterChain, _fontHeight, _fontWidth, _image, CharacterColor::color(), colorTable(), Filter::HotSpot::endColumn(), Filter::HotSpot::endLine(), Filter::ErrorLink, Character::foregroundColor, getCharacterPosition(), FilterChain::hotSpots(), Filter::Link, loc, Filter::Marker, r, Filter::HotSpot::startColumn(), Filter::HotSpot::startLine(), and Filter::HotSpot::type().
Referenced by paintEvent().
|
slot |
Pastes the content of the clipboard into the display.
Definition at line 2264 of file TerminalView.cpp.
References emitSelection().
Referenced by QUnixTerminalImpl::pasteClipboard().
|
slot |
Pastes the content of the selection into the display.
Definition at line 2286 of file TerminalView.cpp.
References emitSelection().
|
private |
Definition at line 1015 of file TerminalView.cpp.
References _fontHeight, _fontWidth, _inputMethodData, _leftMargin, _topMargin, cursorPosition(), TerminalView::InputMethodData::preeditString, string_width(), and x.
Referenced by inputMethodEvent(), and paintEvent().
|
slot |
Updates the filters in the display's filter chain.
This will cause the hotspots to be updated to match the current image.
WARNING: This function can be expensive depending on the image size and number of filters in the filterChain()
TODO - This API does not really allow efficient usage. Revise it so that the processing can be done in a better way.
eg:
Definition at line 705 of file TerminalView.cpp.
References _filterChain, _screenWindow, hotSpotRegion(), FilterChain::process(), and TerminalImageFilterChain::setImage().
Referenced by TerminalView().
|
private |
Definition at line 1321 of file TerminalView.cpp.
References _columns, _image, _isFixedSize, _lines, setSize(), sizeHint(), and updateImageSize().
Referenced by fontChange(), and setScrollBarPosition().
uint TerminalView::randomSeed | ( | ) | const |
Returns the seed used to generate random colors for the display (in color schemes that support them).
Definition at line 577 of file TerminalView.cpp.
References _randomSeed.
Referenced by setRandomSeed().
|
protectedvirtual |
Definition at line 1316 of file TerminalView.cpp.
References updateImageSize().
ScreenWindow * TerminalView::screenWindow | ( | ) | const |
Returns the terminal screen section which is displayed in this widget.
Definition at line 90 of file TerminalView.cpp.
References _screenWindow.
|
protectedslot |
Definition at line 1401 of file TerminalView.cpp.
References _screenWindow, _scrollBar, and updateImage().
Referenced by TerminalView(), and setScroll().
|
private |
Definition at line 612 of file TerminalView.cpp.
References _columns, _fontHeight, _fontWidth, _image, _imageSize, _leftMargin, _lines, _outputSuspendedLabel, _topMargin, _usedColumns, abs(), and lines().
Referenced by updateImage().
|
slot |
selects all content
Definition at line 2272 of file TerminalView.cpp.
References _screenWindow.
Referenced by QUnixTerminalImpl::selectAll().
QString TerminalView::selectedText | ( | ) |
Definition at line 2677 of file TerminalView.cpp.
References _preserveLineBreaks, and _screenWindow.
Referenced by QUnixTerminalImpl::selectedText().
|
signal |
Referenced by dropEvent().
|
signal |
Emitted when focus changes.
Referenced by TerminalView(), focusInEvent(), and focusOutEvent().
|
inlinestatic |
Specified whether anti-aliasing of text in the terminal display is enabled or not.
Defaults to enabled.
Definition at line 342 of file TerminalView.h.
References _antialiasText, and antialias().
void TerminalView::setBellMode | ( | int | mode | ) |
Sets the type of effect used to alert the user when a 'bell' occurs in the terminal session.
The terminal session can trigger the bell effect by calling bell() with the alert message.
Definition at line 2418 of file TerminalView.cpp.
References _bellMode.
Referenced by QUnixTerminalImpl::initialize().
void TerminalView::setBlinkingCursor | ( | bool | blink | ) |
Specifies whether or not the cursor blinks.
Definition at line 941 of file TerminalView.cpp.
References _hasBlinkingCursor, and setBlinkingCursorState().
Referenced by QUnixTerminalImpl::initialize(), and QUnixTerminalImpl::setCursorType().
void TerminalView::setBlinkingCursorState | ( | bool | blink | ) |
Definition at line 948 of file TerminalView.cpp.
References _blinkCursorTimer, _cursorBlinking, BLINK_DELAY, and blinkCursorEvent().
Referenced by focusInEvent(), focusOutEvent(), and setBlinkingCursor().
|
slot |
Definition at line 2192 of file TerminalView.cpp.
References _bracketedPasteMode.
Referenced by TerminalView(), and TerminalModel::addView().
void TerminalView::setColorTable | ( | const ColorEntry | table[] | ) |
Sets the terminal color palette used by the display.
Definition at line 118 of file TerminalView.cpp.
References _colorTable, _scrollBar, DEFAULT_BACK_COLOR, and TABLE_COLORS.
Referenced by TerminalView(), QUnixTerminalImpl::setBackgroundColor(), and QUnixTerminalImpl::setForegroundColor().
|
inline |
Definition at line 139 of file TerminalView.h.
References _ctrlDrag.
void TerminalView::setFixedSize | ( | int | cols, |
int | lins | ||
) |
Definition at line 2525 of file TerminalView.cpp.
References _columns, _image, _isFixedSize, _lines, _size, _usedColumns, _usedLines, makeImage(), and setSize().
|
virtual |
Reimplemented.
Has no effect. Use setVTFont() to change the font used to draw characters in the display.
Definition at line 227 of file TerminalView.cpp.
void TerminalView::setKeyboardCursorColor | ( | bool | useForegroundColor, |
const QColor & | color | ||
) |
Sets the color used to draw the keyboard cursor.
The keyboard cursor defaults to using the foreground color of the character underneath it.
useForegroundColor | If true, the cursor color will change to match the foreground color of the character underneath it as it is moved, in this case, the color parameter is ignored and the color of the character under the cursor is inverted to ensure that it is still readable. |
color | The color to use to draw the cursor. This is only taken into account if useForegroundColor is false. |
Definition at line 418 of file TerminalView.cpp.
References _cursorColor.
Referenced by QUnixTerminalImpl::setCursorColor().
void TerminalView::setKeyboardCursorShape | ( | KeyboardCursorShape | shape | ) |
Sets the shape of the keyboard cursor.
This is the cursor drawn at the position in the terminal where keyboard input will appear.
In addition the terminal display widget also has a cursor for the mouse pointer, which can be set using the QWidget::setCursor() method.
Defaults to BlockCursor
Definition at line 410 of file TerminalView.cpp.
References _cursorShape.
Referenced by QUnixTerminalImpl::initialize(), and QUnixTerminalImpl::setCursorType().
void TerminalView::setLineSpacing | ( | uint | i | ) |
Definition at line 2671 of file TerminalView.cpp.
References _lineSpacing, and setVTFont().
void TerminalView::setRandomSeed | ( | uint | seed | ) |
Sets the seed used to generate random colors for the display (in color schemes that support them).
Definition at line 576 of file TerminalView.cpp.
References _randomSeed, and randomSeed().
|
inline |
Specified whether terminal widget should be at read-only mode Defaults to false.
Definition at line 336 of file TerminalView.h.
References _readonly.
void TerminalView::setScreenWindow | ( | ScreenWindow * | window | ) |
Sets the terminal screen section which is displayed in this widget.
When updateImage() is called, the display fetches the latest character image from the the associated terminal screen window.
In terms of the model-view paradigm, the ScreenWindow is the model which is rendered by the TerminalDisplay.
Definition at line 94 of file TerminalView.cpp.
References _lines, _screenWindow, ScreenWindow::setWindowLines(), updateImage(), and updateLineProperties().
Referenced by TerminalModel::addView().
void TerminalView::setScroll | ( | int | cursor, |
int | lines | ||
) |
Sets the current position and range of the display's scroll bar.
cursor | The position of the scroll bar's thumb. |
lines | The maximum value of the scroll bar. |
Definition at line 1418 of file TerminalView.cpp.
References _lines, _scrollBar, and scrollBarPositionChanged().
Referenced by TerminalView(), and updateImage().
void TerminalView::setScrollBarPosition | ( | ScrollBarPosition | position | ) |
Specifies whether the terminal display has a vertical scroll bar, and if so whether it is shown on the left or right side of the display.
Definition at line 1441 of file TerminalView.cpp.
References _leftMargin, _scrollBar, _scrollbarLocation, _topMargin, NoScrollBar, and propagateSize().
Referenced by QUnixTerminalImpl::initialize().
void TerminalView::setSelection | ( | const QString & | t | ) |
Definition at line 2243 of file TerminalView.cpp.
Referenced by mouseDoubleClickEvent(), mouseReleaseEvent(), and mouseTripleClickEvent().
void TerminalView::setSize | ( | int | cols, |
int | lins | ||
) |
Definition at line 2508 of file TerminalView.cpp.
References _fontHeight, _fontWidth, _size, columns(), and lines().
Referenced by QUnixTerminalImpl::initialize(), propagateSize(), setFixedSize(), and QUnixTerminalImpl::setSize().
|
inline |
Sets whether or not the current height and width of the terminal in lines and columns is displayed whilst the widget is being resized.
Definition at line 353 of file TerminalView.h.
References _terminalSizeHint.
Referenced by QUnixTerminalImpl::initialize().
|
inline |
Sets whether the terminal size display is shown briefly after the widget is first shown.
See setTerminalSizeHint() , isTerminalSizeHint()
Definition at line 366 of file TerminalView.h.
References _terminalSizeStartup.
Referenced by QUnixTerminalImpl::initialize().
|
inline |
Sets how the text is selected when the user triple clicks within the display.
Definition at line 154 of file TerminalView.h.
References _tripleClickMode.
Referenced by QUnixTerminalImpl::initialize().
|
slot |
Sets whether the program whoose output is being displayed in the view is interested in mouse events.
If this is set to true, mouse signals will be emitted by the view when the user clicks, drags or otherwise moves the mouse inside the view. The user interaction needed to create selections will also change, and the user will be required to hold down the shift key to create a selection or perform other mouse activities inside the view area - since the program running in the terminal is being allowed to handle normal mouse events itself.
usesMouse | Set to true if the program running in the terminal is interested in mouse events or false otherwise. |
Definition at line 2182 of file TerminalView.cpp.
References _mouseMarks.
Referenced by TerminalView(), TerminalModel::addView(), and mouseMoveEvent().
void TerminalView::setVTFont | ( | const QFont & | font | ) |
Sets the font used to draw the display.
Has no effect if font
is larger than the size of the display itself.
Definition at line 198 of file TerminalView.cpp.
References _antialiasText, f, and fontChange().
Referenced by setLineSpacing(), and QUnixTerminalImpl::setTerminalFont().
void TerminalView::setWordCharacters | ( | const QString & | wc | ) |
Sets which characters, in addition to letters and numbers, are regarded as being part of a word for the purposes of selecting words in the display by double clicking on them.
The word boundaries occur at the first and last characters which are either a letter, number, or a character in wc
wc | An array of characters which are to be considered parts of a word ( in addition to letters and numbers ). |
Definition at line 2177 of file TerminalView.cpp.
References _wordCharacters.
|
protectedvirtual |
Definition at line 1386 of file TerminalView.cpp.
References _contentHeight, _contentWidth, and changedContentSizeSignal().
|
private |
Definition at line 910 of file TerminalView.cpp.
References _columns, _lines, _resizeTimer, _resizeWidget, _terminalSizeHint, _terminalSizeStartup, and octave::qt_fontmetrics_horizontal_advance().
Referenced by updateImageSize().
QSize TerminalView::sizeHint | ( | ) | const |
|
privateslot |
Definition at line 2428 of file TerminalView.cpp.
References _colorsInverted, and _colorTable.
|
inline |
Returns whether or not the current height and width of the terminal in lines and columns is displayed whilst the widget is being resized.
Definition at line 359 of file TerminalView.h.
References _terminalSizeHint.
|
signal |
Referenced by mouseTripleClickEvent().
|
inline |
See setTripleClickSelectionMode()
Definition at line 156 of file TerminalView.h.
References _tripleClickMode.
|
privateslot |
Definition at line 2089 of file TerminalView.cpp.
References _possibleTripleClick.
Referenced by mouseDoubleClickEvent().
|
slot |
Causes the terminal display to fetch the latest character image from the associated terminal screen ( see setScreenWindow() ) and redraw the display.
Definition at line 728 of file TerminalView.cpp.
References _blinking, _blinkTimer, _clipboard, _columns, _fixedFont, _fontHeight, _fontWidth, _hasBlinker, _image, _inputMethodData, _leftMargin, _lineProperties, _lines, _resizing, _screenWindow, _topMargin, _usedColumns, _usedLines, Character::backgroundColor, BLINK_DELAY, Character::character, columns(), Character::foregroundColor, len, LINE_DOUBLEHEIGHT, lines(), TerminalView::InputMethodData::previousPreeditRect, RE_BLINK, Character::rendition, scrollImage(), setScroll(), updateImageSize(), updateLineProperties(), and x.
Referenced by focusInEvent(), keyPressEvent(), paintEvent(), QUnixTerminalImpl::resizeEvent(), scrollBarPositionChanged(), setScreenWindow(), and QUnixTerminalImpl::showEvent().
|
private |
Definition at line 1335 of file TerminalView.cpp.
References _columns, _contentHeight, _contentWidth, _image, _lines, _resizing, _screenWindow, changedContentSizeSignal(), columns(), lines(), makeImage(), and showResizeNotification().
Referenced by propagateSize(), resizeEvent(), and updateImage().
|
slot |
Causes the terminal display to fetch the latest line status flags from the associated terminal screen ( see setScreenWindow() ).
Definition at line 1956 of file TerminalView.cpp.
References _lineProperties, and _screenWindow.
Referenced by keyPressEvent(), setScreenWindow(), and updateImage().
|
slot |
void TerminalView::visibility_changed | ( | bool | visible | ) |
Is called, when the terminal's visibility has changed in order to stop orstart timers etc.
Definition at line 2684 of file TerminalView.cpp.
References _process_filter_timer.
Referenced by QUnixTerminalImpl::handle_visibility_changed().
|
protectedvirtual |
Definition at line 2054 of file TerminalView.cpp.
References _mouseMarks, _scrollBar, getCharacterPosition(), and mouseSignal().
|
inline |
Returns the characters which are considered part of a word for the purpose of selecting words in the display with the mouse.
Definition at line 273 of file TerminalView.h.
References _wordCharacters.
|
private |
Definition at line 681 of file TerminalView.h.
Referenced by extendSelection(), keyPressEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and mouseTripleClickEvent().
|
private |
Definition at line 634 of file TerminalView.h.
Referenced by enableBell().
|
staticprivate |
Definition at line 748 of file TerminalView.h.
Referenced by antialias(), setAntialias(), and setVTFont().
|
private |
Definition at line 691 of file TerminalView.h.
Referenced by bellMode(), and setBellMode().
|
private |
Definition at line 727 of file TerminalView.h.
|
private |
Definition at line 701 of file TerminalView.h.
Referenced by TerminalView(), keyPressEvent(), and setBlinkingCursorState().
|
private |
Definition at line 693 of file TerminalView.h.
Referenced by blinkEvent(), drawCharacters(), and updateImage().
|
private |
Definition at line 700 of file TerminalView.h.
Referenced by TerminalView(), and updateImage().
|
private |
Definition at line 675 of file TerminalView.h.
Referenced by bracketedPasteMode(), and setBracketedPasteMode().
|
private |
Definition at line 687 of file TerminalView.h.
Referenced by updateImage().
|
private |
Definition at line 723 of file TerminalView.h.
Referenced by swapColorTable().
|
private |
Definition at line 668 of file TerminalView.h.
Referenced by colorTable(), drawCharacters(), drawInputMethodPreeditString(), drawTextFragment(), setColorTable(), and swapColorTable().
|
private |
Definition at line 650 of file TerminalView.h.
Referenced by calcGeometry(), columns(), makeImage(), mouseTripleClickEvent(), paintFilters(), propagateSize(), scrollImage(), setFixedSize(), showResizeNotification(), updateImage(), and updateImageSize().
|
private |
Definition at line 685 of file TerminalView.h.
Referenced by extendSelection(), and mousePressEvent().
|
private |
Definition at line 660 of file TerminalView.h.
Referenced by calcGeometry(), hideEvent(), showEvent(), and updateImageSize().
|
private |
Definition at line 661 of file TerminalView.h.
Referenced by calcGeometry(), hideEvent(), showEvent(), and updateImageSize().
|
private |
Definition at line 697 of file TerminalView.h.
Referenced by ctrlDrag(), mousePressEvent(), and setCtrlDrag().
|
private |
Definition at line 695 of file TerminalView.h.
Referenced by blinkCursorEvent(), drawCursor(), focusOutEvent(), keyPressEvent(), and setBlinkingCursorState().
|
private |
Definition at line 738 of file TerminalView.h.
Referenced by drawCursor(), keyboardCursorColor(), and setKeyboardCursorColor().
|
private |
Definition at line 734 of file TerminalView.h.
Referenced by drawCursor(), keyboardCursorShape(), and setKeyboardCursorShape().
|
private |
Definition at line 676 of file TerminalView.h.
Referenced by bracketedPasteModeIsDisabled(), disableBracketedPasteMode(), and emitSelection().
|
private |
Definition at line 706 of file TerminalView.h.
|
private |
Definition at line 705 of file TerminalView.h.
|
private |
Definition at line 731 of file TerminalView.h.
Referenced by ~TerminalView(), filterActions(), filterChain(), hotSpotRegion(), mouseMoveEvent(), mousePressEvent(), paintFilters(), and processFilters().
|
private |
Definition at line 638 of file TerminalView.h.
Referenced by drawContents(), fontChange(), and updateImage().
|
private |
Definition at line 715 of file TerminalView.h.
|
private |
Definition at line 644 of file TerminalView.h.
Referenced by fontChange().
|
private |
Definition at line 640 of file TerminalView.h.
Referenced by calcGeometry(), drawContents(), drawCursor(), extendSelection(), fontChange(), fontHeight(), getCharacterPosition(), imageToWidget(), mouseMoveEvent(), paintFilters(), preeditRect(), scrollImage(), setSize(), and updateImage().
|
private |
Definition at line 641 of file TerminalView.h.
Referenced by calcGeometry(), drawContents(), extendSelection(), fontChange(), fontWidth(), getCharacterPosition(), imageToWidget(), mouseMoveEvent(), paintFilters(), preeditRect(), scrollImage(), setSize(), and updateImage().
|
private |
Definition at line 636 of file TerminalView.h.
Referenced by TerminalView(), ~TerminalView(), and outputSuspended().
|
private |
Definition at line 694 of file TerminalView.h.
Referenced by updateImage().
|
private |
Definition at line 696 of file TerminalView.h.
Referenced by blinkCursorEvent(), blinkingCursor(), keyPressEvent(), and setBlinkingCursor().
|
private |
Definition at line 662 of file TerminalView.h.
Referenced by ~TerminalView(), clearImage(), drawContents(), drawInputMethodPreeditString(), extendSelection(), inputMethodQuery(), makeImage(), mouseDoubleClickEvent(), mouseTripleClickEvent(), paintFilters(), propagateSize(), scrollImage(), setFixedSize(), updateImage(), and updateImageSize().
|
private |
Definition at line 665 of file TerminalView.h.
Referenced by clearImage(), drawContents(), extendSelection(), makeImage(), and scrollImage().
|
private |
Definition at line 746 of file TerminalView.h.
Referenced by drawInputMethodPreeditString(), inputMethodEvent(), preeditRect(), and updateImage().
|
private |
Definition at line 678 of file TerminalView.h.
Referenced by extendSelection(), mouseDoubleClickEvent(), mousePressEvent(), and mouseTripleClickEvent().
|
private |
Definition at line 699 of file TerminalView.h.
Referenced by calcGeometry(), propagateSize(), and setFixedSize().
|
private |
Definition at line 646 of file TerminalView.h.
Referenced by TerminalView(), calcGeometry(), drawContents(), extendSelection(), getCharacterPosition(), imageToWidget(), preeditRect(), scrollImage(), setScrollBarPosition(), and updateImage().
|
private |
Definition at line 666 of file TerminalView.h.
Referenced by drawContents(), extendSelection(), inputMethodQuery(), mouseDoubleClickEvent(), mouseTripleClickEvent(), updateImage(), and updateLineProperties().
|
private |
Definition at line 649 of file TerminalView.h.
Referenced by calcGeometry(), lines(), makeImage(), mouseTripleClickEvent(), propagateSize(), scrollImage(), setFixedSize(), setScreenWindow(), setScroll(), showResizeNotification(), updateImage(), and updateImageSize().
|
private |
Definition at line 683 of file TerminalView.h.
Referenced by extendSelection(), mousePressEvent(), and mouseTripleClickEvent().
|
private |
Definition at line 721 of file TerminalView.h.
Referenced by drawCursor(), fontChange(), lineSpacing(), and setLineSpacing().
|
private |
Definition at line 674 of file TerminalView.h.
Referenced by mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), setUsesMouse(), usesMouse(), and wheelEvent().
|
private |
Definition at line 732 of file TerminalView.h.
Referenced by mouseMoveEvent().
|
private |
Definition at line 719 of file TerminalView.h.
Referenced by ~TerminalView(), outputSuspended(), and scrollImage().
|
private |
Definition at line 679 of file TerminalView.h.
Referenced by extendSelection(), and mousePressEvent().
|
private |
Definition at line 708 of file TerminalView.h.
Referenced by mouseDoubleClickEvent(), mousePressEvent(), and tripleClickTimeout().
|
private |
Definition at line 684 of file TerminalView.h.
Referenced by copyClipboard(), mouseDoubleClickEvent(), mousePressEvent(), mouseReleaseEvent(), mouseTripleClickEvent(), and selectedText().
|
private |
Definition at line 702 of file TerminalView.h.
Referenced by TerminalView(), and visibility_changed().
|
private |
Definition at line 669 of file TerminalView.h.
Referenced by randomSeed(), and setRandomSeed().
|
private |
Definition at line 755 of file TerminalView.h.
Referenced by keyPressEvent(), and setReadOnly().
|
private |
Definition at line 713 of file TerminalView.h.
Referenced by showResizeNotification().
|
private |
Definition at line 712 of file TerminalView.h.
Referenced by showResizeNotification().
|
private |
Definition at line 671 of file TerminalView.h.
Referenced by updateImage(), and updateImageSize().
|
private |
Definition at line 632 of file TerminalView.h.
Referenced by copyClipboard(), cursorPosition(), emitSelection(), extendSelection(), inputMethodQuery(), keyPressEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), mouseTripleClickEvent(), processFilters(), screenWindow(), scrollBarPositionChanged(), selectAll(), selectedText(), setScreenWindow(), updateImage(), updateImageSize(), and updateLineProperties().
|
private |
Definition at line 688 of file TerminalView.h.
Referenced by TerminalView(), calcGeometry(), drawBackground(), extendSelection(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), mouseTripleClickEvent(), scrollBarPositionChanged(), setColorTable(), setScroll(), setScrollBarPosition(), and wheelEvent().
|
private |
Definition at line 689 of file TerminalView.h.
Referenced by calcGeometry(), and setScrollBarPosition().
|
private |
Definition at line 725 of file TerminalView.h.
Referenced by setFixedSize(), setSize(), and sizeHint().
|
private |
Definition at line 672 of file TerminalView.h.
Referenced by setTerminalSizeHint(), showResizeNotification(), and terminalSizeHint().
|
private |
Definition at line 673 of file TerminalView.h.
Referenced by setTerminalSizeStartup(), and showResizeNotification().
|
private |
Definition at line 647 of file TerminalView.h.
Referenced by TerminalView(), calcGeometry(), drawContents(), extendSelection(), getCharacterPosition(), imageToWidget(), preeditRect(), scrollImage(), setScrollBarPosition(), and updateImage().
|
private |
Definition at line 698 of file TerminalView.h.
Referenced by mouseTripleClickEvent(), setTripleClickMode(), and tripleClickMode().
|
private |
Definition at line 680 of file TerminalView.h.
Referenced by extendSelection(), and mouseTripleClickEvent().
|
private |
Definition at line 656 of file TerminalView.h.
Referenced by calcGeometry(), drawContents(), extendSelection(), getCharacterPosition(), inputMethodQuery(), makeImage(), mouseDoubleClickEvent(), scrollImage(), setFixedSize(), and updateImage().
|
private |
Definition at line 652 of file TerminalView.h.
Referenced by calcGeometry(), drawContents(), extendSelection(), getCharacterPosition(), makeImage(), mouseDoubleClickEvent(), setFixedSize(), and updateImage().
|
private |
Definition at line 690 of file TerminalView.h.
Referenced by charClass(), setWordCharacters(), and wordCharacters().
|
private |
Definition at line 682 of file TerminalView.h.
Referenced by extendSelection(), mouseDoubleClickEvent(), mousePressEvent(), and mouseTripleClickEvent().
|
staticprivate |
Definition at line 751 of file TerminalView.h.
Referenced by keyPressEvent(), setBlinkingCursorState(), and updateImage().
|
staticprivate |
Definition at line 752 of file TerminalView.h.
Referenced by TerminalView(), and calcGeometry().
|
staticprivate |
Definition at line 753 of file TerminalView.h.
Referenced by TerminalView(), and calcGeometry().
|
protected |
Referenced by TerminalView(), doDrag(), mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().