KanoopGuiQt 1.3.0
Qt GUI utility library
Loading...
Searching...
No Matches
StyleSheetStrings Class Reference

Utility class for converting stylesheet enums to their CSS string equivalents. More...

#include <stylesheettypes.h>

Static Public Member Functions

static QString getPropertyString (StyleSheetProperty property)
 Return the CSS property name for a StyleSheetProperty value.
 
static QString getPseudoStateString (StyleSheetPseudoState pseudoState)
 Return the CSS pseudo-state name for a StyleSheetPseudoState value.
 

Detailed Description

Utility class for converting stylesheet enums to their CSS string equivalents.

Definition at line 170 of file stylesheettypes.h.

Member Function Documentation

◆ getPropertyString()

static QString StyleSheetStrings::getPropertyString ( StyleSheetProperty  property)
inlinestatic

Return the CSS property name for a StyleSheetProperty value.

Parameters
propertyProperty enum value
Returns
CSS property name string (e.g., "background-color")

Definition at line 178 of file stylesheettypes.h.

◆ getPseudoStateString()

static QString StyleSheetStrings::getPseudoStateString ( StyleSheetPseudoState  pseudoState)
inlinestatic

Return the CSS pseudo-state name for a StyleSheetPseudoState value.

Parameters
pseudoStatePseudo-state enum value
Returns
CSS pseudo-state string (e.g., "hover")

Definition at line 185 of file stylesheettypes.h.


The documentation for this class was generated from the following file: