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

#include <qsvghandler_p.h>

Collaboration diagram for QSvgHandler:

Public Member Functions

 QSvgHandler (QIODevice *device, QtSvg::Options options={}, QtSvg::AnimatorType type=QtSvg::AnimatorType::Automatic)
 QSvgHandler (const QByteArray &data, QtSvg::Options options={}, QtSvg::AnimatorType type=QtSvg::AnimatorType::Automatic)
 QSvgHandler (QXmlStreamReader *const data, QtSvg::Options options={}, QtSvg::AnimatorType type=QtSvg::AnimatorType::Automatic)
 ~QSvgHandler ()
QIODevicedevice () const
QSvgDocumentdocument () const
bool ok () const
QString errorString () const
int lineNumber () const
void setDefaultCoordinateSystem (QSvgUtils::LengthType type)
QSvgUtils::LengthType defaultCoordinateSystem () const
void pushColor (const QColor &color)
void pushColorCopy ()
void popColor ()
QColor currentColor () const
void setInStyle (bool b)
bool inStyle () const
QSvgCssHandlercssHandler ()
void setAnimPeriod (int start, int end)
int animationDuration () const
QPen defaultPen () const
QtSvg::Options options () const
QtSvg::AnimatorType animatorType () const
bool trustedSourceMode () const
bool startElement (const QStringView localName, const QXmlStreamAttributes &attributes)
bool endElement (const QStringView localName)
bool characters (const QStringView str)
bool processingInstruction (const QStringView target, const QStringView data)

Detailed Description

Definition at line 41 of file qsvghandler_p.h.

Constructor & Destructor Documentation

◆ QSvgHandler() [1/3]

QSvgHandler::QSvgHandler ( QIODevice * device,
QtSvg::Options options = {},
QtSvg::AnimatorType type = QtSvg::AnimatorType::Automatic )

Definition at line 3497 of file qsvghandler.cpp.

◆ QSvgHandler() [2/3]

QSvgHandler::QSvgHandler ( const QByteArray & data,
QtSvg::Options options = {},
QtSvg::AnimatorType type = QtSvg::AnimatorType::Automatic )

Definition at line 3507 of file qsvghandler.cpp.

◆ QSvgHandler() [3/3]

QSvgHandler::QSvgHandler ( QXmlStreamReader *const data,
QtSvg::Options options = {},
QtSvg::AnimatorType type = QtSvg::AnimatorType::Automatic )

Definition at line 3517 of file qsvghandler.cpp.

◆ ~QSvgHandler()

QSvgHandler::~QSvgHandler ( )

Definition at line 4128 of file qsvghandler.cpp.

Member Function Documentation

◆ animationDuration()

int QSvgHandler::animationDuration ( ) const

Definition at line 4123 of file qsvghandler.cpp.

◆ animatorType()

QtSvg::AnimatorType QSvgHandler::animatorType ( ) const

Definition at line 1079 of file qsvghandler.cpp.

◆ characters()

bool QSvgHandler::characters ( const QStringView str)

Definition at line 3983 of file qsvghandler.cpp.

◆ cssHandler()

QSvgCssHandler & QSvgHandler::cssHandler ( )

Definition at line 4067 of file qsvghandler.cpp.

◆ currentColor()

QColor QSvgHandler::currentColor ( ) const

Definition at line 4047 of file qsvghandler.cpp.

◆ defaultCoordinateSystem()

QSvgUtils::LengthType QSvgHandler::defaultCoordinateSystem ( ) const

Definition at line 4013 of file qsvghandler.cpp.

◆ defaultPen()

QPen QSvgHandler::defaultPen ( ) const
inline

Definition at line 80 of file qsvghandler_p.h.

◆ device()

QIODevice * QSvgHandler::device ( ) const

Definition at line 4003 of file qsvghandler.cpp.

◆ document()

QSvgDocument * QSvgHandler::document ( ) const

Definition at line 4008 of file qsvghandler.cpp.

◆ endElement()

bool QSvgHandler::endElement ( const QStringView localName)

Definition at line 3866 of file qsvghandler.cpp.

◆ errorString()

QString QSvgHandler::errorString ( ) const
inline

Definition at line 59 of file qsvghandler_p.h.

◆ inStyle()

bool QSvgHandler::inStyle ( ) const

Definition at line 4062 of file qsvghandler.cpp.

◆ lineNumber()

int QSvgHandler::lineNumber ( ) const
inline

Definition at line 60 of file qsvghandler_p.h.

◆ ok()

bool QSvgHandler::ok ( ) const
inline

Definition at line 55 of file qsvghandler_p.h.

◆ options()

QtSvg::Options QSvgHandler::options ( ) const

◆ popColor()

void QSvgHandler::popColor ( )

Definition at line 4037 of file qsvghandler.cpp.

◆ processingInstruction()

bool QSvgHandler::processingInstruction ( const QStringView target,
const QStringView data )

Definition at line 4074 of file qsvghandler.cpp.

◆ pushColor()

void QSvgHandler::pushColor ( const QColor & color)

Definition at line 4023 of file qsvghandler.cpp.

◆ pushColorCopy()

void QSvgHandler::pushColorCopy ( )

Definition at line 4029 of file qsvghandler.cpp.

◆ setAnimPeriod()

void QSvgHandler::setAnimPeriod ( int start,
int end )

Definition at line 4117 of file qsvghandler.cpp.

◆ setDefaultCoordinateSystem()

void QSvgHandler::setDefaultCoordinateSystem ( QSvgUtils::LengthType type)

Definition at line 4018 of file qsvghandler.cpp.

◆ setInStyle()

void QSvgHandler::setInStyle ( bool b)

Definition at line 4057 of file qsvghandler.cpp.

◆ startElement()

bool QSvgHandler::startElement ( const QStringView localName,
const QXmlStreamAttributes & attributes )

Definition at line 3670 of file qsvghandler.cpp.

◆ trustedSourceMode()

bool QSvgHandler::trustedSourceMode ( ) const

Definition at line 1084 of file qsvghandler.cpp.


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