* Returns the color group string for a given QPalette::ColorGroup */
| 215 | * Returns the color group string for a given QPalette::ColorGroup |
| 216 | */ |
| 217 | static 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 | /** |
no outgoing calls
no test coverage detected