Konsole
ScreenWindow.h
Go to the documentation of this file.
QRect scrollRegion() const
Returns the area of the window which was last scrolled, this is usually the whole window area...
Definition: ScreenWindow.cpp:286
int currentResultLine() const
Definition: ScreenWindow.cpp:217
void setSelectionEnd(int column, int line)
Sets the end of the selection to the given line and column within the window.
Definition: ScreenWindow.cpp:146
void notifyOutputChanged()
Notifies the window that the contents of the associated terminal screen have changed.
Definition: ScreenWindow.cpp:296
QVector< LineProperty > getLineProperties()
Returns the line attributes associated with the lines of characters which are currently visible throu...
Definition: ScreenWindow.cpp:113
int currentLine() const
Returns the index of the line which is currently at the top of this window.
Definition: ScreenWindow.cpp:212
bool trackOutput() const
Returns whether the window automatically moves to the bottom of the screen as new output is added...
Definition: ScreenWindow.cpp:271
int columnCount() const
Returns the total number of columns in the screen.
Definition: ScreenWindow.cpp:197
void scrollBy(RelativeScrollMode mode, int amount, bool fullPage)
Scrolls the window relative to its current position on the screen.
Definition: ScreenWindow.cpp:232
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:154
QPoint cursorPosition() const
Returns the position of the cursor within the window.
Definition: ScreenWindow.cpp:202
QString selectedText(bool preserveLineBreaks, bool trimTrailingSpaces=false) const
Returns the text which is currently selected.
Definition: ScreenWindow.cpp:123
int scrollCount() const
Returns the number of lines which the region of the window specified by scrollRegion() has been scrol...
Definition: ScreenWindow.cpp:276
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.
Provides a window onto a section of a terminal screen.
Definition: ScreenWindow.h:52
void scrollTo(int line)
Scrolls the window so that line is at the top of the window.
Definition: ScreenWindow.cpp:249
int windowColumns() const
Returns the number of columns in the window.
Definition: ScreenWindow.cpp:187
void getSelectionEnd(int &column, int &line)
Retrieves the end of the selection within the window.
Definition: ScreenWindow.cpp:133
bool isSelected(int column, int line)
Returns true if the character at line , column is part of the selection.
Definition: ScreenWindow.cpp:165
void getSelectionStart(int &column, int &line)
Retrieves the start of the selection within the window.
Definition: ScreenWindow.cpp:128
Character * getImage()
Returns the image of characters which are currently visible through this window onto the screen...
Definition: ScreenWindow.cpp:58
void setCurrentResultLine(int line)
What line the next search will start from.
Definition: ScreenWindow.cpp:222
void resetScrollCount()
Resets the count of scrolled lines returned by scrollCount()
Definition: ScreenWindow.cpp:281
Screen * screen() const
Returns the screen which this window looks onto.
Definition: ScreenWindow.cpp:53
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:138
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:177
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 setScreen(Screen *screen)
Sets the screen which this window looks onto.
Definition: ScreenWindow.cpp:46
QObject * parent() const
int lineCount() const
Returns the total number of lines in the screen.
Definition: ScreenWindow.cpp:192
void setTrackOutput(bool trackOutput)
Specifies whether the window should automatically move to the bottom of the screen when new output is...
Definition: ScreenWindow.cpp:266
Scroll the window down by a given number of pages, where one page is windowLines() lines...
Definition: ScreenWindow.h:200
ScreenWindow(Screen *screen, QObject *parent=0)
Constructs a new screen window with the given parent.
Definition: ScreenWindow.cpp:28
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-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.