vcl/qt5/QtInstanceBuilder.cxx | 1 + vcl/qt5/QtInstanceFrame.cxx | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-)
New commits: commit c7ec83c9a8f59e43afb61b63140d8f85289a9ff9 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Fri Jul 18 18:26:45 2025 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Sat Jul 19 06:26:45 2025 +0200 tdf#130857 qt weld: Convert accelerators for frame/group box Convert the accelerators between the Qt and VCL version as needed. Otherwise, the text for the first GtkFrame/QGroupBox in the "Go to Sheet" dialog newly supported since Change-Id: I8fe3383f5857d25ee08db84be681ecb39dea4d3c Author: Michael Weghorn <m.wegh...@posteo.de> Date: Fri Jul 18 18:20:33 2025 +0200 tdf#130857 qt weld: Support Calc "Go to Sheet" dialog is shown as literal "~Type a Sheet Name". Change-Id: I8da60c15eb1ea1748c7a96a66b5b2cdfed3d3602 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188050 Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> Tested-by: Jenkins diff --git a/vcl/qt5/QtInstanceFrame.cxx b/vcl/qt5/QtInstanceFrame.cxx index 3943805db558..1fc7114ca7eb 100644 --- a/vcl/qt5/QtInstanceFrame.cxx +++ b/vcl/qt5/QtInstanceFrame.cxx @@ -21,7 +21,8 @@ QtInstanceFrame::QtInstanceFrame(QGroupBox* pGroupBox) void QtInstanceFrame::set_label(const OUString& rText) { SolarMutexGuard g; - GetQtInstance().RunInMainThread([&] { m_pGroupBox->setTitle(toQString(rText)); }); + GetQtInstance().RunInMainThread( + [&] { m_pGroupBox->setTitle(vclToQtStringWithAccelerator(rText)); }); } OUString QtInstanceFrame::get_label() const @@ -29,7 +30,8 @@ OUString QtInstanceFrame::get_label() const SolarMutexGuard g; OUString sLabel; - GetQtInstance().RunInMainThread([&] { sLabel = toOUString(m_pGroupBox->title()); }); + GetQtInstance().RunInMainThread( + [&] { sLabel = qtToVclStringWithAccelerator(m_pGroupBox->title()); }); return sLabel; } commit dad98d3959e511c549d9192205c5928358808856 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Fri Jul 18 18:20:33 2025 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Sat Jul 19 06:26:40 2025 +0200 tdf#130857 qt weld: Support Calc "Go to Sheet" dialog This means that native Qt widgets are used for that dialog now when using the qt5 or qt6 VCL plugin and starting LO with environment variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 set. To trigger the dialog: * start Calc * insert a few more sheets * "Sheet" -> "Navigate" -> "Go to Sheet" Change-Id: I8fe3383f5857d25ee08db84be681ecb39dea4d3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188049 Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> Tested-by: Jenkins diff --git a/vcl/qt5/QtInstanceBuilder.cxx b/vcl/qt5/QtInstanceBuilder.cxx index 6dfd49fc7ced..1c6a9de644fb 100644 --- a/vcl/qt5/QtInstanceBuilder.cxx +++ b/vcl/qt5/QtInstanceBuilder.cxx @@ -106,6 +106,7 @@ bool QtInstanceBuilder::IsUIFileSupported(const OUString& rUIFile, const weld::W u"filter/ui/xsltfilterdialog.ui"_ustr, u"modules/BasicIDE/ui/gotolinedialog.ui"_ustr, u"modules/BasicIDE/ui/newlibdialog.ui"_ustr, + u"modules/scalc/ui/gotosheetdialog.ui"_ustr, u"modules/scalc/ui/groupbydate.ui"_ustr, u"modules/scalc/ui/inputstringdialog.ui"_ustr, u"modules/scalc/ui/insertcells.ui"_ustr,