Konsole
CharacterColor.h
Go to the documentation of this file.
ColorEntry()
Constructs a new color palette entry with an undefined color, and with the bold flags set to false...
Definition: CharacterColor.h:69
void operator=(const ColorEntry &rhs)
Sets the color and boldness of this color to those of rhs.
Definition: CharacterColor.h:74
friend bool operator==(const CharacterColor &a, const CharacterColor &b)
Compares two colors and returns true if they represent the same color value and use the same color sp...
Definition: CharacterColor.h:239
CharacterColor(quint8 colorSpace, int co)
Constructs a new CharacterColor using the specified colorSpace and with color value co...
Definition: CharacterColor.h:170
Always draw text in this color with a normal weight.
Definition: CharacterColor.h:48
CharacterColor()
Constructs a new CharacterColor whose color and color space are undefined.
Definition: CharacterColor.h:153
Always draw text in this color with a bold weight.
Definition: CharacterColor.h:46
A single character in the terminal which consists of a unicode character value, foreground and backgr...
Definition: Character.h:77
friend bool operator!=(const CharacterColor &a, const CharacterColor &b)
Compares two colors and returns true if they represent different color values or use different color ...
Definition: CharacterColor.h:246
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
QColor color(const ColorEntry *palette) const
Returns the color within the specified color palette.
Definition: CharacterColor.h:277
Describes the color of a single character in the terminal.
Definition: CharacterColor.h:147
bool operator!=(const Character &a, const Character &b)
Definition: Character.h:176
friend bool operator==(const ColorEntry &a, const ColorEntry &b)
Compares two color entries and returns true if they represent the same color and font weight...
Definition: CharacterColor.h:100
ColorEntry(QColor c, FontWeight weight=UseCurrentFormat)
Constructs a new color palette entry.
Definition: CharacterColor.h:62
Use the current font weight set by the terminal application.
Definition: CharacterColor.h:53
friend bool operator!=(const ColorEntry &a, const ColorEntry &b)
Compares two color entries and returns true if they represent different color and font weight...
Definition: CharacterColor.h:106
FontWeight fontWeight
Specifies the font weight to use when drawing text with this color.
Definition: CharacterColor.h:86
bool isValid() const
Returns true if this character color entry is valid.
Definition: CharacterColor.h:199
const QColor color256(quint8 u, const ColorEntry *base)
Definition: CharacterColor.h:251
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.