KSvg
split-plasma-svgs.cpp
38void writeElementTranslation(QXmlStreamReader &reader, QXmlStreamWriter &writer, qreal dx, qreal dy)
86 if (id.isEmpty() || id.startsWith("hint-"_L1) || (qualifiedName == "g"_L1 && id == "layer1"_L1)) {
191 commandLineParser.addPositionalArgument("inputs"_L1, "Input files (separated by spaces)"_L1, "inputs..."_L1);
192 commandLineParser.addPositionalArgument("output"_L1, "Output folder (optional, must exist). The default output folder is the current working directory."_L1, "[output]"_L1);
298 qWarning().nospace() << "The following files written for " << inputArg << " are not valid SVGs:";
static void setApplicationData(const KAboutData &aboutData)
LGPL_V2
virtual void setImagePath(const QString &svgFilePath)
This method sets the SVG file to render.
Definition svg.cpp:1039
Q_INVOKABLE bool isValid() const
This method checks whether this object is backed by a valid SVG file.
Definition svg.cpp:1010
KDOCTOOLS_EXPORT QString transform(const QString &file, const QString &stylesheet, const QList< const char * > ¶ms=QList< const char * >())
bool isEmpty() const const
void addPositionalArgument(const QString &name, const QString &description, const QString &syntax)
QStringList positionalArguments() const const
void process(const QCoreApplication &app)
QString absoluteFilePath(const QString &fileName) const const
QString absolutePath() const const
QString currentPath()
bool mkpath(const QString &dirPath) const const
bool exists() const const
ReadOnly
bool isEmpty() const const
T & last()
qsizetype size() const const
const_iterator cbegin() const const
const_iterator cend() const const
iterator insert(const Key &key, const T &value)
bool isEmpty() const const
size_type size() const const
qreal height() const const
bool isEmpty() const const
qreal width() const const
qreal x() const const
qreal y() const const
QString & append(QChar ch)
QString arg(Args &&... args) const const
bool isEmpty() const const
QString number(double n, char format, int precision)
QString & prepend(QChar ch)
bool contains(QLatin1StringView str, Qt::CaseSensitivity cs) const const
QString join(QChar separator) const const
QRectF boundsOnElement(const QString &id) const const
bool isValid() const const
bool load(QXmlStreamReader *contents)
QTransform transformForElement(const QString &id) const const
bool atEnd() const const
QXmlStreamAttributes attributes() const const
QString errorString() const const
bool hasError() const const
bool isEndElement() const const
bool isStartElement() const const
void setNamespaceProcessing(bool)
QStringView qualifiedName() const const
TokenType readNext()
bool readNextStartElement()
QStringView text() const const
void setAutoFormatting(bool enable)
void writeAttribute(QAnyStringView namespaceUri, QAnyStringView name, QAnyStringView value)
void writeCharacters(QAnyStringView text)
void writeCurrentToken(const QXmlStreamReader &reader)
void writeDefaultNamespace(QAnyStringView namespaceUri)
void writeEndDocument()
void writeEndElement()
void writeNamespace(QAnyStringView namespaceUri, QAnyStringView prefix)
void writeStartDocument()
void writeStartElement(QAnyStringView namespaceUri, QAnyStringView name)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.