summaryrefslogtreecommitdiffstats
path: root/src/gui/effects/qgraphicseffect_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/effects/qgraphicseffect_p.h')
-rw-r--r--src/gui/effects/qgraphicseffect_p.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/effects/qgraphicseffect_p.h b/src/gui/effects/qgraphicseffect_p.h
index 35f2d40..f5d0e80 100644
--- a/src/gui/effects/qgraphicseffect_p.h
+++ b/src/gui/effects/qgraphicseffect_p.h
@@ -160,6 +160,16 @@ public:
QPixmapDropShadowFilter *filter;
};
+class QGraphicsOpacityEffectPrivate : public QGraphicsEffectPrivate
+{
+ Q_DECLARE_PUBLIC(QGraphicsOpacityEffect)
+public:
+ QGraphicsOpacityEffectPrivate() : opacity(0.7) {}
+ ~QGraphicsOpacityEffectPrivate() {}
+
+ qreal opacity;
+};
+
QT_END_NAMESPACE
#endif // QGRAPHICSEFFECT_P_H