Konsole
Character.h
Go to the documentation of this file.
Character(quint16 _c= ' ', CharacterColor _f=CharacterColor(COLOR_SPACE_DEFAULT, DEFAULT_FORE_COLOR), CharacterColor _b=CharacterColor(COLOR_SPACE_DEFAULT, DEFAULT_BACK_COLOR), quint8 _r=DEFAULT_RENDITION, bool _real=true)
Constructs a new character.
Definition: Character.h:91
friend bool operator==(const Character &a, const Character &b)
Compares two characters and returns true if they have the same unicode character value, rendition and colors.
Definition: Character.h:171
A single character in the terminal which consists of a unicode character value, foreground and backgr...
Definition: Character.h:77
bool isRealCharacter
Indicate whether this character really exists, or exists simply as place holder.
Definition: Character.h:128
bool equalsFormat(const Character &other) const
returns true if the format (color, rendition flag) of the compared characters is equal ...
Definition: Character.h:181
bool isSupportedLineChar(quint16 codePoint)
Unicode character in the range of U+2500 ~ U+257F are known as line characters, or box-drawing charac...
Definition: Character.h:56
FontWeight
Specifies the weight to use when drawing text with this color.
Definition: CharacterColor.h:44
bool operator==(const Character &a, const Character &b)
Definition: Character.h:171
friend bool operator!=(const Character &a, const Character &b)
Compares two characters and returns true if they have different unicode character values...
Definition: Character.h:176
CharacterColor backgroundColor
The color used to draw this character's background.
Definition: Character.h:117
Describes the color of a single character in the terminal.
Definition: CharacterColor.h:148
ColorEntry::FontWeight fontWeight(const ColorEntry *base) const
Returns true if this character should always be drawn in bold when it is drawn with the specified pal...
Definition: Character.h:188
bool operator!=(const Character &a, const Character &b)
Definition: Character.h:176
Use the current font weight set by the terminal application.
Definition: CharacterColor.h:53
Q_DECLARE_TYPEINFO(Konsole::Character, Q_MOVABLE_TYPE)
quint8 rendition
A combination of RENDITION flags which specify options for drawing the character. ...
Definition: Character.h:111
CharacterColor foregroundColor
The foreground color used to draw this character.
Definition: Character.h:114
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:23 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:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.