MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / colorGroupString

Function colorGroupString

src/theme/QtAdvancedStylesheet.cpp:217–229  ·  view source on GitHub ↗

* Returns the color group string for a given QPalette::ColorGroup */

Source from the content-addressed store, hash-verified

215 * Returns the color group string for a given QPalette::ColorGroup
216 */
217static QString colorGroupString(QPalette::ColorGroup ColorGroup)
218{
219 switch (ColorGroup)
220 {
221 case QPalette::Active: return "active";
222 case QPalette::Disabled: return "disabled";
223 case QPalette::Inactive: return "inactive";
224 default:
225 return QString();
226 }
227
228 return QString();
229}
230
231
232/**

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected