Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qsvgstyleselector_p.h
Go to the documentation of this file.
1
// Copyright (C) 2025 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
6
#
ifndef
QSVGSTYLESELECTOR_P_H
7
#
define
QSVGSTYLESELECTOR_P_H
8
9
//
10
// W A R N I N G
11
// -------------
12
//
13
// This file is not part of the Qt API. It exists purely as an
14
// implementation detail. This header file may change from version to
15
// version without notice, or even be removed.
16
//
17
// We mean it.
18
//
19
20
#
include
<
QtSvg
/
qtsvgglobal
.
h
>
21
#
include
<
QtGui
/
private
/
qcssparser_p
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QSvgNode;
26
class
QSvgStructureNode;
27
class
QSvgStyleSelector
:
public
QCss
::
StyleSelector
28
{
29
public
:
30
QSvgStyleSelector
();
31
virtual
~
QSvgStyleSelector
();
32
33
QSvgNode *
svgNode
(NodePtr node)
const
;
34
QSvgStructureNode *
nodeToStructure
(QSvgNode *n)
const
;
35
36
QSvgStructureNode *
svgStructure
(NodePtr node)
const
;
37
38
bool
nodeNameEquals
(NodePtr node,
const
QString& nodeName)
const
override
;
39
QString
attributeValue
(NodePtr node,
const
QCss::AttributeSelector &asel)
const
override
;
40
bool
hasAttributes
(NodePtr node)
const
override
;
41
42
QStringList
nodeIds
(NodePtr node)
const
override
;
43
44
QStringList
nodeNames
(NodePtr node)
const
override
;
45
46
bool
isNullNode
(NodePtr node)
const
override
;
47
48
NodePtr
parentNode
(NodePtr node)
const
override
;
49
NodePtr
previousSiblingNode
(NodePtr node)
const
override
;
50
NodePtr
duplicateNode
(NodePtr node)
const
override
;
51
void
freeNode
(NodePtr node)
const
override
;
52
};
53
54
QT_END_NAMESPACE
55
56
#
endif
//QSVGSTYLESELECTOR_P_H
QSvgStyleSelector
Definition
qsvgstyleselector_p.h:28
QSvgStyleSelector::nodeNames
QStringList nodeNames(NodePtr node) const override
Definition
qsvgstyleselector.cpp:82
QSvgStyleSelector::svgStructure
QSvgStructureNode * svgStructure(NodePtr node) const
Definition
qsvgstyleselector.cpp:38
QSvgStyleSelector::hasAttributes
bool hasAttributes(NodePtr node) const override
Definition
qsvgstyleselector.cpp:65
QSvgStyleSelector::attributeValue
QString attributeValue(NodePtr node, const QCss::AttributeSelector &asel) const override
Definition
qsvgstyleselector.cpp:53
QSvgStyleSelector::isNullNode
bool isNullNode(NodePtr node) const override
Definition
qsvgstyleselector.cpp:90
QSvgStyleSelector::nodeToStructure
QSvgStructureNode * nodeToStructure(QSvgNode *n) const
Definition
qsvgstyleselector.cpp:26
QSvgStyleSelector::freeNode
void freeNode(NodePtr node) const override
Definition
qsvgstyleselector.cpp:135
QSvgStyleSelector::duplicateNode
NodePtr duplicateNode(NodePtr node) const override
Definition
qsvgstyleselector.cpp:127
QSvgStyleSelector::svgNode
QSvgNode * svgNode(NodePtr node) const
Definition
qsvgstyleselector.cpp:21
QSvgStyleSelector::parentNode
NodePtr parentNode(NodePtr node) const override
Definition
qsvgstyleselector.cpp:95
QSvgStyleSelector::~QSvgStyleSelector
virtual ~QSvgStyleSelector()
Definition
qsvgstyleselector.cpp:17
QSvgStyleSelector::QSvgStyleSelector
QSvgStyleSelector()
Definition
qsvgstyleselector.cpp:12
QSvgStyleSelector::nodeIds
QStringList nodeIds(NodePtr node) const override
Definition
qsvgstyleselector.cpp:72
QSvgStyleSelector::previousSiblingNode
NodePtr previousSiblingNode(NodePtr node) const override
Definition
qsvgstyleselector.cpp:110
QSvgStyleSelector::nodeNameEquals
bool nodeNameEquals(NodePtr node, const QString &nodeName) const override
Definition
qsvgstyleselector.cpp:45
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtsvg
src
svg
css
qsvgstyleselector_p.h
Generated on
for Qt by
1.18.0