MauiKit Terminal
CharacterColor.h
60 };
Describes the color of a single character in the terminal.
Definition CharacterColor.h:141
void setIntensive()
Set the value of this color from a normal system color to the corresponding intensive system color if...
Definition CharacterColor.h:288
constexpr CharacterColor()
Constructs a new CharacterColor whoose color and color space are undefined.
Definition CharacterColor.h:146
constexpr QColor color(std::span< const ColorEntry > palette) const
Returns the color within the specified color palette.
Definition CharacterColor.h:268
constexpr 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:236
constexpr bool isValid() const
Returns true if this character color entry is valid.
Definition CharacterColor.h:194
constexpr CharacterColor(quint8 colorSpace, int co)
Constructs a new CharacterColor using the specified colorSpace and with color value co.
Definition CharacterColor.h:164
constexpr 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:241
A single character in the terminal which consists of a unicode character value, foreground and backgr...
Definition Character.h:63
FontWeight
Specifies the weight to use when drawing text with this color.
Definition CharacterColor.h:50
@ UseCurrentFormat
Use the current font weight set by the terminal application.
Definition CharacterColor.h:59
FontWeight fontWeight
Specifies the font weight to use when drawing text with this color.
Definition CharacterColor.h:98
ColorEntry()
Constructs a new color palette entry with an undefined color, and with the transparent and bold flags...
Definition CharacterColor.h:80
constexpr ColorEntry(QColor c, bool tr, FontWeight weight=UseCurrentFormat)
Constructs a new color palette entry.
Definition CharacterColor.h:69
bool transparent
If true character backgrounds using this color should be transparent.
Definition CharacterColor.h:93
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.