diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2025-01-18 17:17:25 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2025-01-19 21:34:34 +0100 |
commit | a6cd97bd9c513a6131be1e7f46c44e2d135f8dc7 (patch) | |
tree | 217307392e7a655c029d2b4f3aff72a466011f36 /vcl/inc | |
parent | 2b13469b6da26f6b7494c506685a8fcbc29220ce (diff) |
tdf#130857 qt weld: Extract helper method to set menu button props
Change-Id: I5f23f3e5734cee99ed54c9082fe9cbb3d9b54f0d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180460
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/qt5/QtBuilder.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/qt5/QtBuilder.hxx b/vcl/inc/qt5/QtBuilder.hxx index bb5ba7ad6278..254fb379023b 100644 --- a/vcl/inc/qt5/QtBuilder.hxx +++ b/vcl/inc/qt5/QtBuilder.hxx @@ -20,6 +20,7 @@ #include <QtWidgets/QMessageBox> #include <QtWidgets/QPushButton> #include <QtWidgets/QSlider> +#include <QtWidgets/QToolButton> #include <rtl/ustring.hxx> #include <unotools/resmgr.hxx> @@ -98,6 +99,7 @@ private: static void setProperties(QObject* obj, stringmap& rProps); void setButtonProperties(QPushButton& rButton, stringmap& rProps); static void setLabelProperties(QLabel& rLabel, stringmap& rProps); + void setMenuButtonProperties(QToolButton& rButton, stringmap& rProps); void setScaleProperties(QSlider& rSlider, stringmap& rProps); void setSpinButtonProperties(QDoubleSpinBox& rSpinBox, stringmap& rProps); static QWidget* windowForObject(QObject* pObject); |