MauiKit Terminal
Emulation.h
474 std::unique_ptr<Screen> _primaryScreen; // 0 = primary screen ( used by most programs, including the shell
virtual void sendMouseEvent(int buttons, int column, int line, int eventType)
Converts information about a mouse event into an xterm-compatible escape sequence and emits the chara...
Definition Emulation.cpp:220
void imageSizeChanged(int lineCount, int columnCount)
Emitted when the program running in the terminal changes the screen size.
bool programUsesMouse() const
Returns true if the active terminal program wants mouse input events.
Definition Emulation.cpp:78
void programUsesMouseChanged(bool usesMouse)
This is emitted when the program running in the shell indicates whether or not it is interested in mo...
virtual void sendText(const QString &text)=0
Interprets a sequence of characters and sends the result to the terminal.
void imageResizeRequest(const QSize &sizz)
Emitted after receiving the escape sequence which asks to change the terminal emulator's size.
void receiveData(const char *buffer, int len)
Processes an incoming stream of characters.
Definition Emulation.cpp:230
KeyboardCursorShape
This enum describes the available shapes for the keyboard cursor.
Definition Emulation.h:128
@ UnderlineCursor
A single flat line which occupies the space at the bottom of the cursor character's area.
@ BlockCursor
A rectangular block which covers the entire area of the cursor character.
@ IBeamCursor
An cursor shaped like the capital letter 'I', similar to the IBeam cursor used in Qt/KDE text editors...
void profileChangeCommandReceived(const QString &text)
Emitted when the terminal program requests to change various properties of the terminal display.
void changeTabTextColorRequest(int color)
Requests that the color of the text used to represent the tabs associated with this emulation be chan...
void stateSet(int state)
Emitted when the activity state of the emulation is set.
virtual void clearEntireScreen()=0
Copies the current image into the history and clears the screen.
ScreenWindow * createWindow()
Creates a new window onto the output from this emulation.
Definition Emulation.cpp:98
int lineCount() const
Returns the total number of lines, including those stored in the history.
Definition Emulation.cpp:317
const HistoryType & history() const
Returns the history store used by this emulation.
Definition Emulation.cpp:138
void outputChanged()
Emitted when the contents of the screen image change.
void flowControlKeyPressed(bool suspendKeyPressed)
Emitted when a flow control key combination ( Ctrl+S or Ctrl+Q ) is pressed.
const QTextCodec * codec() const
Returns the codec used to decode incoming characters.
Definition Emulation.h:200
QSize imageSize() const
Returns the size of the screen image which the emulation produces.
Definition Emulation.cpp:372
virtual void setImageSize(int lines, int columns)
Change the size of the emulation's image.
Definition Emulation.cpp:352
void titleChanged(int title, const QString &newTitle)
Emitted when the program running in the terminal wishes to update the session's title.
virtual void sendKeyEvent(QKeyEvent *, bool fromPaste)
Interprets a key press event and emits the sendData() signal with the resulting character stream.
Definition Emulation.cpp:204
void setKeyBindings(const QString &name)
Sets the key bindings used to key events ( received through sendKeyEvent() ) into character streams t...
Definition Emulation.cpp:164
void setHistory(const HistoryType &)
Sets the history store used by this emulation.
Definition Emulation.cpp:131
QString keyBindings() const
Returns the name of the emulation's current key bindings.
Definition Emulation.cpp:172
void cursorChanged(KeyboardCursorShape cursorShape, bool blinkingCursorEnabled)
Emitted when the cursor shape or its blinking state is changed via DECSCUSR sequences.
virtual void writeToStream(TerminalCharacterDecoder *decoder, int startLine, int endLine)
Copies the output history from startLine to endLine into stream, using decoder to convert the termina...
Definition Emulation.cpp:307
void imageSizeInitialized()
Emitted when the setImageSize() is called on this emulation for the first time.
void sendData(const char *data, int len)
Emitted when a buffer of data is ready to send to the standard input of the terminal.
void useUtf8Request(bool)
Requests that the pty used by the terminal process be set to UTF 8 mode.
void setCodec(const QTextCodec *)
Sets the codec used to decode incoming characters.
Definition Emulation.cpp:143
virtual void sendString(const char *string, int length=-1)=0
Sends a string of characters to the foreground terminal process.
Definition Emulation.cpp:215
A convertor which maps between key sequences pressed by the user and the character strings which shou...
Definition KeyboardTranslator.h:53
Command
This enum describes commands which are associated with particular key sequences.
Definition KeyboardTranslator.h:94
Provides a window onto a section of a terminal screen.
Definition ScreenWindow.h:52
Base class for terminal character decoders.
Definition TerminalCharacterDecoder.h:45
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.