50
51
/** Specifies the weight to use when drawing text with this color. */
53
54
/** Always draw text in this color with a bold weight. */
55
56
/** Always draw text in this color with a normal weight. */
59
60
* This is the default behavior.
65
66
* Constructs a new color palette entry.
67
68
* @param c The color value for this entry.
68
69
* @param tr Specifies that the color should be transparent when used as a background color.
71
72
ColorEntry(QColor c, bool tr, FontWeight weight = UseCurrentFormat)
72
73
: color(c), transparent(tr), fontWeight(weight) {}