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 25 of file qsvgstyleselector_p.h.

Constructor & Destructor Documentation

◆ QSvgStyleSelector()

QT_BEGIN_NAMESPACE QSvgStyleSelector::QSvgStyleSelector ( )

Definition at line 10 of file qsvgstyleselector.cpp.

◆ ~QSvgStyleSelector()

QSvgStyleSelector::~QSvgStyleSelector ( )
virtual

Definition at line 15 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 57 of file qsvgstyleselector.cpp.

◆ duplicateNode()

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

Implements QCss::StyleSelector.

Definition at line 131 of file qsvgstyleselector.cpp.

◆ freeNode()

void QSvgStyleSelector::freeNode ( NodePtr node) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 139 of file qsvgstyleselector.cpp.

◆ hasAttributes()

bool QSvgStyleSelector::hasAttributes ( NodePtr node) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 69 of file qsvgstyleselector.cpp.

◆ isNullNode()

bool QSvgStyleSelector::isNullNode ( NodePtr node) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 94 of file qsvgstyleselector.cpp.

◆ nodeIds()

QStringList QSvgStyleSelector::nodeIds ( NodePtr node) const
overridevirtual

Reimplemented from QCss::StyleSelector.

Definition at line 76 of file qsvgstyleselector.cpp.

◆ nodeNameEquals()

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

Reimplemented from QCss::StyleSelector.

Definition at line 48 of file qsvgstyleselector.cpp.

◆ nodeNames()

QStringList QSvgStyleSelector::nodeNames ( NodePtr node) const
overridevirtual

Implements QCss::StyleSelector.

Definition at line 86 of file qsvgstyleselector.cpp.

◆ nodeToName()

QString QSvgStyleSelector::nodeToName ( QSvgNode * node) const

Definition at line 19 of file qsvgstyleselector.cpp.

◆ nodeToStructure()

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

Definition at line 29 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 99 of file qsvgstyleselector.cpp.

◆ previousSiblingNode()

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

Implements QCss::StyleSelector.

Definition at line 114 of file qsvgstyleselector.cpp.

References nodeToStructure().

Here is the call graph for this function:

◆ svgNode()

QSvgNode * QSvgStyleSelector::svgNode ( NodePtr node) const

Definition at line 24 of file qsvgstyleselector.cpp.

◆ svgStructure()

QSvgStructureNode * QSvgStyleSelector::svgStructure ( NodePtr node) const

Definition at line 41 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: