8#include <kdecoration3/kdecoration3_export.h>
16class DecorationShadowPrivate;
77 Q_PROPERTY(
QImage shadow READ shadow WRITE setShadow NOTIFY shadowChanged)
78 Q_PROPERTY(
QRectF innerShadowRect READ innerShadowRect WRITE setInnerShadowRect NOTIFY innerShadowRectChanged)
79 Q_PROPERTY(
QRectF topLeftGeometry READ topLeftGeometry NOTIFY innerShadowRectChanged)
80 Q_PROPERTY(
QRectF topGeometry READ topGeometry NOTIFY innerShadowRectChanged)
81 Q_PROPERTY(
QRectF topRightGeometry READ topRightGeometry NOTIFY innerShadowRectChanged)
82 Q_PROPERTY(
QRectF rightGeometry READ rightGeometry NOTIFY innerShadowRectChanged)
83 Q_PROPERTY(
QRectF bottomRightGeometry READ bottomRightGeometry NOTIFY innerShadowRectChanged)
84 Q_PROPERTY(
QRectF bottomGeometry READ bottomGeometry NOTIFY innerShadowRectChanged)
85 Q_PROPERTY(
QRectF bottomLeftGeometry READ bottomLeftGeometry NOTIFY innerShadowRectChanged)
86 Q_PROPERTY(
QRectF leftGeometry READ leftGeometry NOTIFY innerShadowRectChanged)
87 Q_PROPERTY(qreal paddingTop READ paddingTop NOTIFY paddingChanged)
88 Q_PROPERTY(qreal paddingRight READ paddingRight NOTIFY paddingChanged)
89 Q_PROPERTY(qreal paddingBottom READ paddingBottom NOTIFY paddingChanged)
90 Q_PROPERTY(qreal paddingLeft READ paddingLeft NOTIFY paddingChanged)
91 Q_PROPERTY(
QMarginsF padding READ padding WRITE setPadding NOTIFY paddingChanged)
97 QRectF innerShadowRect()
const;
98 QRectF topLeftGeometry()
const;
99 QRectF topGeometry()
const;
100 QRectF topRightGeometry()
const;
101 QRectF rightGeometry()
const;
102 QRectF bottomRightGeometry()
const;
103 QRectF bottomGeometry()
const;
104 QRectF bottomLeftGeometry()
const;
105 QRectF leftGeometry()
const;
106 qreal paddingTop()
const;
107 qreal paddingRight()
const;
108 qreal paddingBottom()
const;
109 qreal paddingLeft()
const;
112 void setShadow(
const QImage &image);
113 void setInnerShadowRect(
const QRectF &rect);
114 void setPadding(
const QMarginsF &margins);
117 void shadowChanged(
const QImage &);
118 void innerShadowRectChanged();
119 void paddingChanged();
123 std::unique_ptr<Private> d;
A wrapper to define the shadow around the Decoration.
Framework for creating window decorations.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:51:03 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.