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

Method GetIconColor

Modules/QtWidgets/src/QmitkStyleManager.cpp:68–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68QString QmitkStyleManager::GetIconColor()
69{
70 const auto styleSheet = qApp->styleSheet();
71 const auto fallback = QStringLiteral("#000000");
72
73 return !styleSheet.isEmpty()
74 ? ParseColor(styleSheet, QStringLiteral("iconColor"), fallback)
75 : fallback;
76}
77
78QString QmitkStyleManager::GetIconAccentColor()
79{

Callers

nothing calls this directly

Calls 1

ParseColorFunction · 0.70

Tested by

no test coverage detected