Konsole
TerminalDisplayAccessible.cpp
Go to the documentation of this file.
25 QString Q_GUI_EXPORT qTextBeforeOffsetFromString(int offset, QAccessible2::BoundaryType boundaryType,
27 QString Q_GUI_EXPORT qTextAtOffsetFromString(int offset, QAccessible2::BoundaryType boundaryType,
29 QString Q_GUI_EXPORT qTextAfterOffsetFromString(int offset, QAccessible2::BoundaryType boundaryType,
100 return display->screenWindow()->screen()->text(0, display->_usedColumns * display->_usedLines, true);
107 display()->screenWindow()->setSelectionStart(columnForOffset(startOffset), lineForOffset(startOffset), false);
108 display()->screenWindow()->setSelectionEnd(columnForOffset(endOffset), lineForOffset(endOffset));
121 QRect TerminalDisplayAccessible::characterRect(int offset, QAccessible2::CoordinateType coordType)
131 int TerminalDisplayAccessible::offsetAtPoint(const QPoint& point, QAccessible2::CoordinateType coordType)
158 display()->screenWindow()->screen()->setCursorYX(lineForOffset(position), columnForOffset(position));
161 void TerminalDisplayAccessible::setSelection(int selectionIndex, int startOffset, int endOffset)
183 QString TerminalDisplayAccessible::textAfterOffset(int offset, QAccessible2::BoundaryType boundaryType, int* startOffset, int* endOffset)
193 QString TerminalDisplayAccessible::textAtOffset(int offset, QAccessible2::BoundaryType boundaryType, int* startOffset, int* endOffset)
203 QString TerminalDisplayAccessible::textBeforeOffset(int offset, QAccessible2::BoundaryType boundaryType, int* startOffset, int* endOffset)
QString attributes(int offset, int *startOffset, int *endOffset)
Definition: TerminalDisplayAccessible.cpp:111
void selection(int selectionIndex, int *startOffset, int *endOffset)
Definition: TerminalDisplayAccessible.cpp:60
void setSelectionEnd(int column, int line)
Sets the end of the selection to the given line and column within the window.
Definition: ScreenWindow.cpp:145
QString text(QAccessible::Text t, int child) const
Definition: TerminalDisplayAccessible.cpp:168
int offsetAtPoint(const QPoint &point, QAccessible2::CoordinateType coordType)
Definition: TerminalDisplayAccessible.cpp:131
void addSelection(int startOffset, int endOffset)
Definition: TerminalDisplayAccessible.cpp:103
QString textAtOffset(int offset, QAccessible2::BoundaryType boundaryType, int *startOffset, int *endOffset)
Definition: TerminalDisplayAccessible.cpp:193
void setCursorPosition(int position)
Definition: TerminalDisplayAccessible.cpp:153
QString text(int startIndex, int endIndex, bool preserveLineBreaks, bool trimTrailingSpaces=false) const
Convenience method.
Definition: Screen.cpp:1118
int selectionCount()
Definition: TerminalDisplayAccessible.cpp:79
void removeSelection(int selectionIndex)
Definition: TerminalDisplayAccessible.cpp:139
QString textBeforeOffset(int offset, QAccessible2::BoundaryType boundaryType, int *startOffset, int *endOffset)
Definition: TerminalDisplayAccessible.cpp:203
int cursorPosition()
Definition: TerminalDisplayAccessible.cpp:51
void getSelectionEnd(int &column, int &line)
Retrieves the end of the selection within the window.
Definition: ScreenWindow.cpp:132
void getSelectionStart(int &column, int &line)
Retrieves the start of the selection within the window.
Definition: ScreenWindow.cpp:127
int getCursorX() const
Returns the column which the cursor is positioned at.
Definition: Screen.cpp:830
void scrollToSubstring(int startIndex, int endIndex)
Definition: TerminalDisplayAccessible.cpp:146
Screen * screen() const
Returns the screen which this window looks onto.
Definition: ScreenWindow.cpp:52
void setSelectionStart(int column, int line, bool columnMode)
Sets the start of the selection to the given line and column within the window.
Definition: ScreenWindow.cpp:137
int getCursorY() const
Returns the line which the cursor is positioned on.
Definition: Screen.cpp:835
ScreenWindow * screenWindow() const
Returns the terminal screen section which is displayed in this widget.
Definition: TerminalDisplay.cpp:103
TerminalDisplayAccessible(TerminalDisplay *display)
Definition: TerminalDisplayAccessible.cpp:35
QString textAfterOffset(int offset, QAccessible2::BoundaryType boundaryType, int *startOffset, int *endOffset)
Definition: TerminalDisplayAccessible.cpp:183
Class implementing the QAccessibleInterface for the terminal display.
Definition: TerminalDisplayAccessible.h:41
A widget which displays output from a terminal emulation and sends input keypresses and mouse activit...
Definition: TerminalDisplay.h:63
void setSelection(int selectionIndex, int startOffset, int endOffset)
Definition: TerminalDisplayAccessible.cpp:161
QRect characterRect(int offset, QAccessible2::CoordinateType coordType)
Definition: TerminalDisplayAccessible.cpp:121
int characterCount()
Definition: TerminalDisplayAccessible.cpp:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.