Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QCss::Value Struct Reference

#include <qcssparser_p.h>

+ Collaboration diagram for QCss::Value:

Public Types

enum  Type {
  Unknown , Number , Percentage , Length ,
  String , Identifier , KnownIdentifier , Uri ,
  Color , Function , TermOperatorSlash , TermOperatorComma
}
 

Public Member Functions

 Value ()
 
Q_GUI_EXPORT QString toString () const
 

Public Attributes

Type type
 
QVariant variant
 

Detailed Description

Definition at line 341 of file qcssparser_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
Unknown 
Number 
Percentage 
Length 
String 
Identifier 
KnownIdentifier 
Uri 
Color 
Function 
TermOperatorSlash 
TermOperatorComma 

Definition at line 343 of file qcssparser_p.h.

Constructor & Destructor Documentation

◆ Value()

QCss::Value::Value ( )
inline

Definition at line 357 of file qcssparser_p.h.

Member Function Documentation

◆ toString()

QString Value::toString ( ) const

Definition at line 238 of file qcssparser.cpp.

References indexOfId, KnownIdentifier, QVariant::toInt(), QVariant::toString(), and variant.

+ Here is the call graph for this function:

Member Data Documentation

◆ type

Type QCss::Value::type

Definition at line 358 of file qcssparser_p.h.

◆ variant

QVariant QCss::Value::variant

Definition at line 359 of file qcssparser_p.h.

Referenced by parseBrushValue(), and toString().


The documentation for this struct was generated from the following files: