diff options
author | Ivan Vizir <define-true-false@yandex.com> | 2013-10-02 22:46:47 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-07 12:02:15 +0200 |
commit | 118a4f143b9125f02a11d2c579cced4e37fb9d70 (patch) | |
tree | 712991e30f97508b6a39572b89a60539f0de3dd9 /src/imports/winextras/qquickdwmfeatures_p.h | |
parent | a8699963b98fe2d1dcc33658ac006100b69444b1 (diff) |
Fix and change the way QQuickDwmFeatures works.
Made it update each DWM property separately but not all at once every time
a property changes.
Added manual test for DwmFeatures QML item.
Added blurBehindEnabled property.
Change-Id: Icfa6fb922be0ac4554c232ba4b41b71d0e7585ca
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/imports/winextras/qquickdwmfeatures_p.h')
-rw-r--r-- | src/imports/winextras/qquickdwmfeatures_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/winextras/qquickdwmfeatures_p.h b/src/imports/winextras/qquickdwmfeatures_p.h index 5c8db12..0d61f64 100644 --- a/src/imports/winextras/qquickdwmfeatures_p.h +++ b/src/imports/winextras/qquickdwmfeatures_p.h @@ -63,6 +63,7 @@ class QQuickDwmFeatures : public QQuickItem Q_PROPERTY(int rightGlassMargin READ rightGlassMargin WRITE setRightGlassMargin NOTIFY rightGlassMarginChanged) Q_PROPERTY(int bottomGlassMargin READ bottomGlassMargin WRITE setBottomGlassMargin NOTIFY bottomGlassMarginChanged) Q_PROPERTY(int leftGlassMargin READ leftGlassMargin WRITE setLeftGlassMargin NOTIFY leftGlassMarginChanged) + Q_PROPERTY(bool blurBehindEnabled READ isBlurBehindEnabled WRITE setBlurBehindEnabled NOTIFY blurBehindEnabledChanged) Q_PROPERTY(bool excludedFromPeek READ isExcludedFromPeek WRITE setExcludedFromPeek NOTIFY excludedFromPeekChanged) Q_PROPERTY(bool peekDisallowed READ isPeekDisallowed WRITE setPeekDisallowed NOTIFY peekDisallowedChanged) Q_PROPERTY(QQuickWin::WindowFlip3DPolicy flip3DPolicy READ flip3DPolicy WRITE setFlip3DPolicy NOTIFY flip3DPolicyChanged) @@ -85,6 +86,8 @@ public: int rightGlassMargin() const; int bottomGlassMargin() const; int leftGlassMargin() const; + bool isBlurBehindEnabled() const; + void setBlurBehindEnabled(bool enabled); bool isExcludedFromPeek() const; void setExcludedFromPeek(bool exclude); @@ -106,6 +109,7 @@ Q_SIGNALS: void rightGlassMarginChanged(); void bottomGlassMarginChanged(); void leftGlassMarginChanged(); + void blurBehindEnabledChanged(); void excludedFromPeekChanged(); void peekDisallowedChanged(); void flip3DPolicyChanged(); |