8#include <kdecoration2/kdecoration2_export.h>
16class DecorationShadowPrivate;
77 Q_PROPERTY(
QImage shadow READ shadow WRITE setShadow NOTIFY shadowChanged)
78 Q_PROPERTY(
QRect innerShadowRect READ innerShadowRect WRITE setInnerShadowRect NOTIFY innerShadowRectChanged)
79 Q_PROPERTY(
QRect topLeftGeometry READ topLeftGeometry NOTIFY innerShadowRectChanged)
80 Q_PROPERTY(
QRect topGeometry READ topGeometry NOTIFY innerShadowRectChanged)
81 Q_PROPERTY(
QRect topRightGeometry READ topRightGeometry NOTIFY innerShadowRectChanged)
82 Q_PROPERTY(
QRect rightGeometry READ rightGeometry NOTIFY innerShadowRectChanged)
83 Q_PROPERTY(
QRect bottomRightGeometry READ bottomRightGeometry NOTIFY innerShadowRectChanged)
84 Q_PROPERTY(
QRect bottomGeometry READ bottomGeometry NOTIFY innerShadowRectChanged)
85 Q_PROPERTY(
QRect bottomLeftGeometry READ bottomLeftGeometry NOTIFY innerShadowRectChanged)
86 Q_PROPERTY(
QRect leftGeometry READ leftGeometry NOTIFY innerShadowRectChanged)
87 Q_PROPERTY(
int paddingTop READ paddingTop NOTIFY paddingChanged)
88 Q_PROPERTY(
int paddingRight READ paddingRight NOTIFY paddingChanged)
89 Q_PROPERTY(
int paddingBottom READ paddingBottom NOTIFY paddingChanged)
90 Q_PROPERTY(
int paddingLeft READ paddingLeft NOTIFY paddingChanged)
91 Q_PROPERTY(
QMargins padding READ padding WRITE setPadding NOTIFY paddingChanged)
97 QRect innerShadowRect()
const;
98 QRect topLeftGeometry()
const;
99 QRect topGeometry()
const;
100 QRect topRightGeometry()
const;
101 QRect rightGeometry()
const;
102 QRect bottomRightGeometry()
const;
103 QRect bottomGeometry()
const;
104 QRect bottomLeftGeometry()
const;
105 QRect leftGeometry()
const;
106 int paddingTop()
const;
107 int paddingRight()
const;
108 int paddingBottom()
const;
109 int paddingLeft()
const;
112 void setShadow(
const QImage &image);
113 void setInnerShadowRect(
const QRect &rect);
114 void setPadding(
const QMargins &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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:18 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.