Qt 6.x
The Qt SDK
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)
 
virtual bool nodeNameEquals (NodePtr node, const QString &nodeName) const
 
virtual QString attributeValue (NodePtr node, const QCss::AttributeSelector &aSelector) const =0
 
virtual bool hasAttributes (NodePtr node) const =0
 
virtual QStringList nodeIds (NodePtr node) const
 
virtual QStringList nodeNames (NodePtr node) const =0
 
virtual bool isNullNode (NodePtr node) const =0
 
virtual NodePtr parentNode (NodePtr node) const =0
 
virtual NodePtr previousSiblingNode (NodePtr node) const =0
 
virtual NodePtr duplicateNode (NodePtr node) const =0
 
virtual void freeNode (NodePtr node) const =0
 

Additional Inherited Members

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

Detailed Description

Definition at line 435 of file qsvghandler.cpp.

Constructor & Destructor Documentation

◆ QSvgStyleSelector()

QSvgStyleSelector::QSvgStyleSelector ( )
inline

◆ ~QSvgStyleSelector()

virtual QSvgStyleSelector::~QSvgStyleSelector ( )
inlinevirtual

Definition at line 442 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 482 of file qsvghandler.cpp.

References QCss::AttributeSelector::name, and 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 560 of file qsvghandler.cpp.

References Q_UNUSED.

◆ hasAttributes()

bool QSvgStyleSelector::hasAttributes ( NodePtr  node) const
inlineoverridevirtual

Implements QCss::StyleSelector.

Definition at line 493 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 518 of file qsvghandler.cpp.

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

◆ nodeIds()

QStringList QSvgStyleSelector::nodeIds ( NodePtr  node) const
inlineoverridevirtual

Reimplemented from QCss::StyleSelector.

Definition at line 500 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 474 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 510 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 446 of file qsvghandler.cpp.

References QSvgStyleSelector_nodeString, and QSvgNode::type().

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 455 of file qsvghandler.cpp.

References QSvgNode::DEFS, QSvgNode::DOC, QSvgNode::G, 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 523 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 537 of file qsvghandler.cpp.

References QCss::StyleSelector::NodePtr::id, nodeToStructure(), QSvgStructureNode::previousSiblingNode(), 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 451 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 467 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: