summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindow.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2013-02-25 08:54:30 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-27 09:11:18 +0100
commitb56caf5f4e50d867bfef4b9090b1fba130284688 (patch)
tree0f4d63502c6bd0fb219856c57d992a0153a66347 /src/gui/kernel/qwindow.h
parent7b2d98d90642ce7ac4ab0800bd7930f97ba6b10c (diff)
Introduced QWindow::setMask() to expose existing platform functionality.
Task-number: QTBUG-28555 Change-Id: I2c649b6d9e9dc69be246cb7658b3edbe9682b1bf Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src/gui/kernel/qwindow.h')
-rw-r--r--src/gui/kernel/qwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h
index 4b8f0ca3e7..0842e9ceb6 100644
--- a/src/gui/kernel/qwindow.h
+++ b/src/gui/kernel/qwindow.h
@@ -163,6 +163,9 @@ public:
void setOpacity(qreal level);
qreal opacity() const;
+ void setMask(const QRegion &region);
+ QRegion mask() const;
+
void requestActivate();
bool isActive() const;