14#include <ksvg/ksvg_export.h>
64 Q_PROPERTY(
EnabledBorders enabledBorders READ enabledBorders WRITE setEnabledBorders)
76 AllBorders = TopBorder | BottomBorder | LeftBorder | RightBorder,
78 Q_DECLARE_FLAGS(EnabledBorders, EnabledBorder)
79 Q_FLAG(EnabledBorders)
89 Q_ENUM(LocationPrefix)
115 Q_INVOKABLE
void setImagePath(
const QString &path)
override;
124 void setEnabledBorders(
const EnabledBorders borders);
130 EnabledBorders enabledBorders()
const;
136 Q_INVOKABLE
void resizeFrame(
const QSizeF &size);
141 Q_INVOKABLE
QSizeF frameSize()
const;
169 Q_INVOKABLE
void getMargins(qreal &left, qreal &top, qreal &right, qreal &bottom)
const;
194 Q_INVOKABLE
void getFixedMargins(qreal &left, qreal &top, qreal &right, qreal &bottom)
const;
214 Q_INVOKABLE
void getInset(qreal &left, qreal &top, qreal &right, qreal &bottom)
const;
220 Q_INVOKABLE
QRectF contentsRect()
const;
252 Q_INVOKABLE
void setElementPrefix(
const QString &prefix);
260 Q_INVOKABLE
bool hasElementPrefix(
const QString &prefix)
const;
289 Q_INVOKABLE
QRegion mask()
const;
304 Q_INVOKABLE
void setCacheAllRenderedFrames(
bool cache);
310 Q_INVOKABLE
bool cacheAllRenderedFrames()
const;
323 Q_INVOKABLE
void clearCache();
334 Q_INVOKABLE
QPixmap framePixmap();
374 bool isRepaintBlocked()
const;
393 void setRepaintBlocked(
bool blocked);
401 Q_INVOKABLE
int minimumDrawingHeight();
409 Q_INVOKABLE
int minimumDrawingWidth();
412 FrameSvgPrivate *
const d;
413 friend class FrameData;
416Q_DECLARE_OPERATORS_FOR_FLAGS(FrameSvg::EnabledBorders)
Provides an SVG with borders.
@ BottomMargin
The bottom margin.
@ RightMargin
The right margin.
@ LeftMargin
The left margin.
EnabledBorder
This flag enum specifies which borders should be drawn.
@ LeftEdge
Along the left side of the screen.
@ RightEdge
Along the right side of the screen.
@ BottomEdge
Along the bottom of the screen.
@ TopEdge
Along the top of the screen.
A theme aware image-centric SVG class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:51 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.