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
QSvgStyleSelector Class Reference
+ 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 458 of file qsvghandler.cpp.

Constructor & Destructor Documentation

◆ QSvgStyleSelector()

QSvgStyleSelector::QSvgStyleSelector ( )
inline

◆ ~QSvgStyleSelector()

virtual QSvgStyleSelector::~QSvgStyleSelector ( )
inlinevirtual

Definition at line 465 of file qsvghandler.cpp.

Member Function Documentation

◆ attributeValue()

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

Implements QCss::StyleSelector.

Definition at line 505 of file qsvghandler.cpp.

References svgNode().

+ Here is the call graph for this function:

◆ duplicateNode()

NodePtr QSvgStyleSelector::duplicateNode ( NodePtr node) const
inlineoverridevirtual

◆ freeNode()

void QSvgStyleSelector::freeNode ( NodePtr node) const
inlineoverridevirtual

Implements QCss::StyleSelector.

Definition at line 583 of file qsvghandler.cpp.

References Q_UNUSED.

◆ hasAttributes()

bool QSvgStyleSelector::hasAttributes ( NodePtr node) const
inlineoverridevirtual

Implements QCss::StyleSelector.

Definition at line 516 of file qsvghandler.cpp.

References svgNode().

+ Here is the call graph for this function:

◆ isNullNode()

bool QSvgStyleSelector::isNullNode ( NodePtr node) const
inlineoverridevirtual

Implements QCss::StyleSelector.

Definition at line 541 of file qsvghandler.cpp.

References QCss::StyleSelector::NodePtr::ptr.

◆ nodeIds()

QStringList QSvgStyleSelector::nodeIds ( NodePtr node) const
inlineoverridevirtual

Reimplemented from QCss::StyleSelector.

Definition at line 523 of file qsvghandler.cpp.

References svgNode().

+ Here is the call graph for this function:

◆ nodeNameEquals()

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

Reimplemented from QCss::StyleSelector.

Definition at line 497 of file qsvghandler.cpp.

References Qt::CaseInsensitive, QString::compare(), nodeToName(), and svgNode().

+ Here is the call graph for this function:

◆ nodeNames()

QStringList QSvgStyleSelector::nodeNames ( NodePtr node) const
inlineoverridevirtual

Implements QCss::StyleSelector.

Definition at line 533 of file qsvghandler.cpp.

References nodeToName(), and svgNode().

+ Here is the call graph for this function:

◆ nodeToName()

QString QSvgStyleSelector::nodeToName ( QSvgNode * node) const
inline

Definition at line 469 of file qsvghandler.cpp.

References QSvgNode::typeName().

Referenced by nodeNameEquals(), and nodeNames().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ nodeToStructure()

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

Definition at line 478 of file qsvghandler.cpp.

References QSvgNode::Defs, QSvgNode::Doc, QSvgNode::Group, and QSvgNode::Switch.

Referenced by previousSiblingNode(), and svgStructure().

+ Here is the caller graph for this function:

◆ parentNode()

NodePtr QSvgStyleSelector::parentNode ( NodePtr node) const
inlineoverridevirtual

Implements QCss::StyleSelector.

Definition at line 546 of file qsvghandler.cpp.

References QCss::StyleSelector::NodePtr::id, QSvgNode::parent(), QCss::StyleSelector::NodePtr::ptr, and svgNode().

+ Here is the call graph for this function:

◆ previousSiblingNode()

NodePtr QSvgStyleSelector::previousSiblingNode ( NodePtr node) const
inlineoverridevirtual

Implements QCss::StyleSelector.

Definition at line 560 of file qsvghandler.cpp.

References QCss::StyleSelector::NodePtr::id, nodeToStructure(), QCss::StyleSelector::NodePtr::ptr, and svgNode().

+ Here is the call graph for this function:

◆ svgNode()

QSvgNode * QSvgStyleSelector::svgNode ( NodePtr node) const
inline

Definition at line 474 of file qsvghandler.cpp.

References QCss::StyleSelector::NodePtr::ptr.

Referenced by attributeValue(), hasAttributes(), nodeIds(), nodeNameEquals(), nodeNames(), parentNode(), previousSiblingNode(), and svgStructure().

+ Here is the caller graph for this function:

◆ svgStructure()

QSvgStructureNode * QSvgStyleSelector::svgStructure ( NodePtr node) const
inline

Definition at line 490 of file qsvghandler.cpp.

References nodeToStructure(), and svgNode().

+ Here is the call graph for this function:

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