diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-12-21 01:22:04 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-12-21 09:32:40 +0100 |
commit | 71d90c236d57580e3e81adcd09ea5abe5be8a8d2 (patch) | |
tree | 6cc028862e892f7bc834f2cacf50dfe6d11c0eb0 /vcl/inc | |
parent | d4317567357228f75eb10f22decc55ac2be26dd2 (diff) |
tdf#130857 qt weld: Implement scroll bar policy {g,s}etters
Change-Id: I0ee4cececc40f21a6ef4eeb034c44727578d309c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178976
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/qt5/QtInstanceScrolledWindow.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/qt5/QtInstanceScrolledWindow.hxx b/vcl/inc/qt5/QtInstanceScrolledWindow.hxx index 548e7fbf4033..7a612372ae08 100644 --- a/vcl/inc/qt5/QtInstanceScrolledWindow.hxx +++ b/vcl/inc/qt5/QtInstanceScrolledWindow.hxx @@ -59,6 +59,10 @@ public: virtual void customize_scrollbars(const Color& rBackgroundColor, const Color& rShadowColor, const Color& rFaceColor) override; + +private: + static Qt::ScrollBarPolicy toQtPolicy(VclPolicyType eVclPolicy); + static VclPolicyType toVclPolicy(Qt::ScrollBarPolicy eQtPolicy); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |