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

Function doAlternate

plugins/quickopen/expandingtree/expandingwidgetmodel.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39static QColor doAlternate(const QColor& color)
40{
41 QColor background = QApplication::palette().window().color();
42 return KColorUtils::mix(color, background, 0.15);
43}
44
45uint ExpandingWidgetModel::matchColor(const QModelIndex& index) const
46{

Callers 2

matchColorMethod · 0.85
dataMethod · 0.85

Calls 1

windowMethod · 0.80

Tested by

no test coverage detected