Konsole
ScreenWindow.cpp
Go to the documentation of this file.
int droppedLines() const
Returns the number of lines of output which have been dropped from the history since the last call to...
Definition: Screen.cpp:741
QRect scrollRegion() const
Returns the area of the window which was last scrolled, this is usually the whole window area...
Definition: ScreenWindow.cpp:285
QRect lastScrolledRegion() const
Returns the region of the image which was last scrolled.
Definition: Screen.cpp:761
QString selectedText(bool preserveLineBreaks, bool trimTrailingSpaces=false) const
Convenience method.
Definition: Screen.cpp:1110
int currentResultLine() const
Definition: ScreenWindow.cpp:216
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
void notifyOutputChanged()
Notifies the window that the contents of the associated terminal screen have changed.
Definition: ScreenWindow.cpp:295
QVector< LineProperty > getLineProperties()
Returns the line attributes associated with the lines of characters which are currently visible throu...
Definition: ScreenWindow.cpp:112
int currentLine() const
Returns the index of the line which is currently at the top of this window.
Definition: ScreenWindow.cpp:211
void getImage(Character *dest, int size, int startLine, int endLine) const
Returns the current screen image.
Definition: Screen.cpp:450
bool trackOutput() const
Returns whether the window automatically moves to the bottom of the screen as new output is added...
Definition: ScreenWindow.cpp:270
int columnCount() const
Returns the total number of columns in the screen.
Definition: ScreenWindow.cpp:196
static void fillWithDefaultChar(Character *dest, int count)
Fills the buffer dest with count instances of the default (ie.
Definition: Screen.cpp:1383
void scrollBy(RelativeScrollMode mode, int amount, bool fullPage)
Scrolls the window relative to its current position on the screen.
Definition: ScreenWindow.cpp:231
ScreenWindow(QObject *parent=0)
Constructs a new screen window with the given parent.
Definition: ScreenWindow.cpp:28
void setSelectionByLineRange(int start, int end)
Sets the selection as the range specified by line start and line end in the whole history...
Definition: ScreenWindow.cpp:153
QPoint cursorPosition() const
Returns the position of the cursor within the window.
Definition: ScreenWindow.cpp:201
QString selectedText(bool preserveLineBreaks, bool trimTrailingSpaces=false) const
Returns the text which is currently selected.
Definition: ScreenWindow.cpp:122
int scrollCount() const
Returns the number of lines which the region of the window specified by scrollRegion() has been scrol...
Definition: ScreenWindow.cpp:275
A single character in the terminal which consists of a unicode character value, foreground and backgr...
Definition: Character.h:77
void outputChanged()
Emitted when the contents of the associated terminal screen (see screen()) changes.
int scrolledLines() const
Returns the number of lines that the image has been scrolled up or down by, since the last call to re...
Definition: Screen.cpp:737
void scrollTo(int line)
Scrolls the window so that line is at the top of the window.
Definition: ScreenWindow.cpp:248
int windowColumns() const
Returns the number of columns in the window.
Definition: ScreenWindow.cpp:186
void getSelectionEnd(int &column, int &line)
Retrieves the end of the selection within the window.
Definition: ScreenWindow.cpp:132
bool isSelected(int column, int line)
Returns true if the character at line , column is part of the selection.
Definition: ScreenWindow.cpp:164
void getSelectionStart(int &column, int &line)
Retrieves the start of the selection within the window.
Definition: ScreenWindow.cpp:127
void getSelectionStart(int &column, int &line) const
Retrieves the start of the selection or the cursor position if there is no selection.
Definition: Screen.cpp:1036
Character * getImage()
Returns the image of characters which are currently visible through this window onto the screen...
Definition: ScreenWindow.cpp:57
void setCurrentResultLine(int line)
What line the next search will start from.
Definition: ScreenWindow.cpp:221
bool isSelected(const int column, const int line) const
Returns true if the character at (column, line) is part of the current selection. ...
Definition: Screen.cpp:1098
void getSelectionEnd(int &column, int &line) const
Retrieves the end of the selection or the cursor position if there is no selection.
Definition: Screen.cpp:1046
void resetScrollCount()
Resets the count of scrolled lines returned by scrollCount()
Definition: ScreenWindow.cpp:280
int getCursorX() const
Returns the column which the cursor is positioned at.
Definition: Screen.cpp:830
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
void setSelectionEnd(const int column, const int line)
Sets the end of the current selection.
Definition: Screen.cpp:1067
void selectionChanged()
Emitted when the selection is changed.
void currentResultLineChanged()
void setWindowLines(int lines)
Sets the number of lines in the window.
Definition: ScreenWindow.cpp:176
void scrolled(int line)
Emitted when the screen window is scrolled to a different position.
RelativeScrollMode
Describes the units which scrollBy() moves the window by.
Definition: ScreenWindow.h:193
void setSelectionStart(const int column, const int line, const bool blockSelectionMode)
Sets the start of the selection.
Definition: Screen.cpp:1056
int getHistLines() const
Return the number of lines in the history buffer.
Definition: Screen.cpp:1348
void setScreen(Screen *screen)
Sets the screen which this window looks onto.
Definition: ScreenWindow.cpp:45
int lineCount() const
Returns the total number of lines in the screen.
Definition: ScreenWindow.cpp:191
void setTrackOutput(bool trackOutput)
Specifies whether the window should automatically move to the bottom of the screen when new output is...
Definition: ScreenWindow.cpp:265
Scroll the window down by a given number of pages, where one page is windowLines() lines...
Definition: ScreenWindow.h:200
QVector< LineProperty > getLineProperties(int startLine, int endLine) const
Returns the additional attributes associated with lines in the image.
Definition: Screen.cpp:485
Scroll the window down by a given number of lines.
Definition: ScreenWindow.h:195
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.