Helper functions to colors from state
Functions
| getBgQColorFromState | Returns a background QColor from the given State. |
| getFgQColorFromState | Returns a foreground QColor from the given State. |
| getQColorFromState | Returns a tuple<background color (QColor), foreground color (QColor)> from the given State. |
| getStateColorMap | Returns the map used for color states. |
Returns a tuple<background color (QColor), foreground color (QColor)> from the given State.
| Parameters: | state (State) – the state |
|---|---|
| Returns: | a tuple of background a foreground color for the given state |
| Return type: | tuple<QColor, QColor> |