Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfx_css.h File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

#include <stdint.h>
#include <type_traits>
#include "core/fxcrt/css/properties.inc"
#include "core/fxcrt/css/property_values.inc"
+ Include dependency graph for cfx_css.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CFX_CSSLength
 
class  CFX_CSSRect
 

Macros

#define CSS_PROP____(a, b, c, d)
 
#define CSS_PROP_VALUE____(a, b, c)
 

Typedefs

using CFX_CSSValueTypeMask = std::underlying_type<CFX_CSSVALUETYPE>::type
 

Enumerations

enum  CFX_CSSVALUETYPE {
  CFX_CSSVALUETYPE_Primitive = 1 << 0 , CFX_CSSVALUETYPE_List = 1 << 1 , CFX_CSSVALUETYPE_Shorthand = 1 << 2 , CFX_CSSVALUETYPE_MaybeNumber = 1 << 4 ,
  CFX_CSSVALUETYPE_MaybeEnum = 1 << 5 , CFX_CSSVALUETYPE_MaybeString = 1 << 7 , CFX_CSSVALUETYPE_MaybeColor = 1 << 8
}
 
enum class  CFX_CSSProperty : uint8_t { CSS_PROP____ }
 
enum class  CFX_CSSPropertyValue : uint8_t
 
enum class  CFX_CSSLengthUnit : uint8_t {
  Auto , None , Normal , Point ,
  Percent
}
 
enum class  CFX_CSSDisplay : uint8_t {
  None , ListItem , Block , Inline ,
  InlineBlock , InlineTable
}
 
enum class  CFX_CSSFontStyle : uint8_t { Normal , Italic }
 
enum class  CFX_CSSTextAlign : uint8_t {
  Left , Right , Center , Justify ,
  JustifyAll
}
 
enum class  CFX_CSSVerticalAlign : uint8_t {
  Baseline , Sub , Super , Top ,
  TextTop , Middle , Bottom , TextBottom ,
  Number
}
 
enum class  CFX_CSSFontVariant : uint8_t { Normal , SmallCaps }
 
enum class  CFX_CSSTEXTDECORATION : uint8_t {
  kNone = 0 , kUnderline = 1 << 0 , kOverline = 1 << 1 , kLineThrough = 1 << 2 ,
  kBlink = 1 << 3 , kDouble = 1 << 4
}
 

Macro Definition Documentation

◆ CSS_PROP____

#define CSS_PROP____ ( a,
b,
c,
d )
Value:
a,
GLboolean GLboolean GLboolean GLboolean a
[7]

Definition at line 27 of file cfx_css.h.

◆ CSS_PROP_VALUE____

#define CSS_PROP_VALUE____ ( a,
b,
c )
Value:
a,

Definition at line 34 of file cfx_css.h.

Typedef Documentation

◆ CFX_CSSValueTypeMask

using CFX_CSSValueTypeMask = std::underlying_type<CFX_CSSVALUETYPE>::type

Definition at line 24 of file cfx_css.h.

Enumeration Type Documentation

◆ CFX_CSSDisplay

enum class CFX_CSSDisplay : uint8_t
strong
Enumerator
None 
ListItem 
Block 
Inline 
InlineBlock 
InlineTable 

Definition at line 48 of file cfx_css.h.

◆ CFX_CSSFontStyle

enum class CFX_CSSFontStyle : uint8_t
strong
Enumerator
Normal 
Italic 

Definition at line 57 of file cfx_css.h.

◆ CFX_CSSFontVariant

enum class CFX_CSSFontVariant : uint8_t
strong
Enumerator
Normal 
SmallCaps 

Definition at line 82 of file cfx_css.h.

◆ CFX_CSSLengthUnit

enum class CFX_CSSLengthUnit : uint8_t
strong
Enumerator
Auto 
None 
Normal 
Point 
Percent 

Definition at line 40 of file cfx_css.h.

◆ CFX_CSSProperty

enum class CFX_CSSProperty : uint8_t
strong
Enumerator
CSS_PROP____ 

Definition at line 28 of file cfx_css.h.

◆ CFX_CSSPropertyValue

enum class CFX_CSSPropertyValue : uint8_t
strong

Definition at line 35 of file cfx_css.h.

◆ CFX_CSSTextAlign

enum class CFX_CSSTextAlign : uint8_t
strong
Enumerator
Left 
Right 
Center 
Justify 
JustifyAll 

Definition at line 62 of file cfx_css.h.

◆ CFX_CSSTEXTDECORATION

enum class CFX_CSSTEXTDECORATION : uint8_t
strong
Enumerator
kNone 
kUnderline 
kOverline 
kLineThrough 
kBlink 
kDouble 

Definition at line 87 of file cfx_css.h.

◆ CFX_CSSVALUETYPE

Enumerator
CFX_CSSVALUETYPE_Primitive 
CFX_CSSVALUETYPE_List 
CFX_CSSVALUETYPE_Shorthand 
CFX_CSSVALUETYPE_MaybeNumber 
CFX_CSSVALUETYPE_MaybeEnum 
CFX_CSSVALUETYPE_MaybeString 
CFX_CSSVALUETYPE_MaybeColor 

Definition at line 14 of file cfx_css.h.

◆ CFX_CSSVerticalAlign

enum class CFX_CSSVerticalAlign : uint8_t
strong
Enumerator
Baseline 
Sub 
Super 
Top 
TextTop 
Middle 
Bottom 
TextBottom 
Number 

Definition at line 70 of file cfx_css.h.