Wt  4.11.0
Loading...
Searching...
No Matches
Classes | Enumerations
Style classes

Collection of classes for markup of widgets. More...

Classes

class  Wt::WBorder
 A value class that defines the CSS border style of a widget. More...
 
class  Wt::WColor
 A value class that defines a color. More...
 
class  Wt::WCssDecorationStyle
 A style class for a single widget or style sheet rule. More...
 
class  Wt::WCssRule
 Abstract rule in a CSS style sheet. More...
 
class  Wt::WCssTemplateRule
 A CSS rule based on a template widget. More...
 
class  Wt::WCssTextRule
 A CSS rule specified directly using CSS declarations. More...
 
class  Wt::WCssStyleSheet
 A CSS style sheet. More...
 
class  Wt::WFont
 A value class that describes a font. More...
 
class  Wt::WLinkedCssStyleSheet
 An external CSS style sheet. More...
 

Enumerations

enum class  Wt::StandardColor {
  Wt::StandardColor::White , Wt::StandardColor::Black , Wt::StandardColor::Red , Wt::StandardColor::DarkRed ,
  Wt::StandardColor::Green , Wt::StandardColor::DarkGreen , Wt::StandardColor::Blue , Wt::StandardColor::DarkBlue ,
  Wt::StandardColor::Cyan , Wt::StandardColor::DarkCyan , Wt::StandardColor::Magenta , Wt::StandardColor::DarkMagenta ,
  Wt::StandardColor::Yellow , Wt::StandardColor::DarkYellow , Wt::StandardColor::Gray , Wt::StandardColor::DarkGray ,
  Wt::StandardColor::LightGray , Wt::StandardColor::Transparent
}
 Enumeration for predefined colors. More...
 

Detailed Description

Collection of classes for markup of widgets.

The recommended way to provide style information for your Wt application is using CSS stylesheets. You may add rules to the inline style sheet using WCssStyleSheet::addRule(), or by linking one or more external stylesheets using WApplication::useStyleSheet().

Alternatively, you may also provide style information directly, using WCssDecorationStyle, which you can manipulate for each widget using WWidget::decorationStyle().

Enumeration Type Documentation

◆ StandardColor

Enumeration for predefined colors.

Enumerator
White 

Color white.

Black 

Color black.

Red 

Color red.

DarkRed 

Color dark red.

Green 

Color green.

DarkGreen 

Color dark green.

Blue 

Color blue.

DarkBlue 

Color dark blue.

Cyan 

Color cyan.

DarkCyan 

Color dark cyan.

Magenta 

Color magenta.

DarkMagenta 

Color dark magenta.

Yellow 

Color yellow.

DarkYellow 

Color dark yellow.

Gray 

Color medium gray.

DarkGray 

Color dark gray.

LightGray 

Color light gray.

Transparent 

Color transparent.