diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-01-19 20:47:01 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-01-20 15:26:27 +0000 |
commit | 6c0ee76c646778d6a45018acc8d561c5a5d931f8 (patch) | |
tree | 4dce1aa95b24b88c810c8277f4eddd8d17a12f3f /src/quicktemplates2/qquickscrollbar_p_p.h | |
parent | fa388f4a5986ae243d9d50ea26b320cb76619377 (diff) |
Add ScrollBar::policy
[ChangeLog][Controls][ScrollBar] Added a policy-property, which holds
whether the scroll bar is shown always/never/as needed (default).
Change-Id: Ibe25edaef04a7926bc12c59913efa7a3d43a5ccf
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickscrollbar_p_p.h')
-rw-r--r-- | src/quicktemplates2/qquickscrollbar_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickscrollbar_p_p.h b/src/quicktemplates2/qquickscrollbar_p_p.h index 20d66716..a4526245 100644 --- a/src/quicktemplates2/qquickscrollbar_p_p.h +++ b/src/quicktemplates2/qquickscrollbar_p_p.h @@ -88,6 +88,7 @@ public: bool interactive; Qt::Orientation orientation; QQuickScrollBar::SnapMode snapMode; + QQuickScrollBar::Policy policy; }; class QQuickScrollBarAttachedPrivate : public QObjectPrivate, public QQuickItemChangeListener |