MCPcopy Create free account
hub / github.com/MITK/MITK / GetIconAccentColor

Method GetIconAccentColor

Modules/QtWidgets/src/QmitkStyleManager.cpp:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78QString QmitkStyleManager::GetIconAccentColor()
79{
80 const auto styleSheet = qApp->styleSheet();
81 const auto fallback = QStringLiteral("#ffffff");
82
83 return !styleSheet.isEmpty()
84 ? ParseColor(styleSheet, QStringLiteral("iconAccentColor"), fallback)
85 : fallback;
86}

Callers

nothing calls this directly

Calls 1

ParseColorFunction · 0.70

Tested by

no test coverage detected