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
QSvgStyleSelector Class Reference

#include <qsvgstyleselector_p.h>

Inheritance diagram for QSvgStyleSelector:
Collaboration diagram for QSvgStyleSelector:

Public Member Functions

 QSvgStyleSelector ()
virtual ~QSvgStyleSelector ()
QString nodeToName (QSvgNode *node) const
QSvgNodesvgNode (NodePtr node) const
QSvgStructureNodenodeToStructure (QSvgNode *n) const
QSvgStructureNodesvgStructure (NodePtr node) const
bool nodeNameEquals (NodePtr node, const QString &nodeName) const override
QString attributeValue (NodePtr node, const QCss::AttributeSelector &asel) const override
bool hasAttributes (NodePtr node) const override
QStringList nodeIds (NodePtr node) const override
QStringList nodeNames (NodePtr node) const override
bool isNullNode (NodePtr node) const override
NodePtr parentNode (NodePtr node) const override
NodePtr previousSiblingNode (NodePtr node) const override
NodePtr duplicateNode (NodePtr node) const override
void freeNode (NodePtr node) const override
Public Member Functions inherited from QCss::StyleSelector
 StyleSelector ()
virtual ~StyleSelector ()
QList< StyleRulestyleRulesForNode (NodePtr node)
QList< DeclarationdeclarationsForNode (NodePtr node, const char *extraPseudo=nullptr)

Additional Inherited Members

Public Attributes inherited from QCss::StyleSelector
QList< StyleSheetstyleSheets
QString medium
Qt::CaseSensitivity nameCaseSensitivity

Detailed Description

Definition at line 27 of file qsvgstyleselector_p.h.

Constructor & Destructor Documentation

◆ QSvgStyleSelector()

QT_BEGIN_NAMESPACE QSvgStyleSelector::QSvgStyleSelector ( )

Definition at line 12 of file qsvgstyleselector.cpp.

◆ ~QSvgStyleSelector()

QSvgStyleSelector::~QSvgStyleSelector ( )
virtual

Definition at line 17 of file qsvgstyleselector.cpp.

Member Function Documentation

◆ attributeValue()

QString QSvgStyleSelector::attributeValue ( NodePtr node,
const QCss::AttributeSelector & asel ) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 59 of file qsvgstyleselector.cpp.

◆ duplicateNode()

QCss::StyleSelector::NodePtr QSvgStyleSelector::duplicateNode ( NodePtr node) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 133 of file qsvgstyleselector.cpp.

◆ freeNode()

void QSvgStyleSelector::freeNode ( NodePtr node) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 141 of file qsvgstyleselector.cpp.

◆ hasAttributes()

bool QSvgStyleSelector::hasAttributes ( NodePtr node) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 71 of file qsvgstyleselector.cpp.

◆ isNullNode()

bool QSvgStyleSelector::isNullNode ( NodePtr node) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 96 of file qsvgstyleselector.cpp.

◆ nodeIds()

QStringList QSvgStyleSelector::nodeIds ( NodePtr node) const
overridevirtual

Reimplemented from QCss::StyleSelector.

Definition at line 78 of file qsvgstyleselector.cpp.

◆ nodeNameEquals()

bool QSvgStyleSelector::nodeNameEquals ( NodePtr node,
const QString & nodeName ) const
overridevirtual

Reimplemented from QCss::StyleSelector.

Definition at line 50 of file qsvgstyleselector.cpp.

◆ nodeNames()

QStringList QSvgStyleSelector::nodeNames ( NodePtr node) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 88 of file qsvgstyleselector.cpp.

◆ nodeToName()

QString QSvgStyleSelector::nodeToName ( QSvgNode * node) const

Definition at line 21 of file qsvgstyleselector.cpp.

◆ nodeToStructure()

QSvgStructureNode * QSvgStyleSelector::nodeToStructure ( QSvgNode * n) const

Definition at line 31 of file qsvgstyleselector.cpp.

Referenced by previousSiblingNode(), and svgStructure().

Here is the caller graph for this function:

◆ parentNode()

QCss::StyleSelector::NodePtr QSvgStyleSelector::parentNode ( NodePtr node) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 101 of file qsvgstyleselector.cpp.

◆ previousSiblingNode()

QCss::StyleSelector::NodePtr QSvgStyleSelector::previousSiblingNode ( NodePtr node) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 116 of file qsvgstyleselector.cpp.

References nodeToStructure().

Here is the call graph for this function:

◆ svgNode()

QSvgNode * QSvgStyleSelector::svgNode ( NodePtr node) const

Definition at line 26 of file qsvgstyleselector.cpp.

◆ svgStructure()

QSvgStructureNode * QSvgStyleSelector::svgStructure ( NodePtr node) const

Definition at line 43 of file qsvgstyleselector.cpp.

References nodeToStructure().

Here is the call graph for this function:

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