MCPcopy Create free account
hub / github.com/KDE/kdevelop / backgroundColor

Function backgroundColor

kdevplatform/language/duchain/navigation/useswidget.cpp:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36namespace {
37QString backgroundColor(bool isHighlighted)
38{
39 if (isHighlighted) {
40 return QColor(251, 150, 242).name();
41 } else {
42 return QColor(251, 250, 150).name();
43 }
44}
45}
46
47const int tooltipContextSize = 2; //How many lines around the use are shown in the tooltip

Callers 2

setHighlightedMethod · 0.70

Calls 2

QColorClass · 0.85
nameMethod · 0.45

Tested by

no test coverage detected