vcl/qt5/QtInstanceBuilder.cxx | 5 +++++ vcl/qt5/QtInstanceNotebook.cxx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-)
New commits: commit 1ed617974cb1d47c7568e9d74e818fdbd60f2c6d Author: Michael Weghorn <[email protected]> AuthorDate: Tue Feb 3 01:00:53 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Tue Feb 3 10:54:06 2026 +0100 tdf#130857 qt weld: Handle accelerator in QtInstanceNotebook::insert_page Convert the vcl accelerator to the Qt equivalent in QtInstanceNotebook::insert_page. Without this, e.g. the "Internet" tab page in the "Insert" -> "Hyperlink" dialog would show up with a literal "~Internet" label instead of as "Internet" with the "I" underlined when using the qt6 VCL plugin with SAL_VCL_QT_USE_WELDED_WIDGETS=1. Now, it shows up as expected and Alt+I results in a switch to that tab page. Change-Id: Ib7fd10f2feabd1a0eb2c0def7e4dbc3117bc9627 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198578 Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Jenkins diff --git a/vcl/qt5/QtInstanceNotebook.cxx b/vcl/qt5/QtInstanceNotebook.cxx index 398d17895438..a208286f05a5 100644 --- a/vcl/qt5/QtInstanceNotebook.cxx +++ b/vcl/qt5/QtInstanceNotebook.cxx @@ -112,7 +112,7 @@ void QtInstanceNotebook::insert_page(const OUString& rIdent, const OUString& rLa QWidget* pPage = new QWidget; pPage->setLayout(new QVBoxLayout); pPage->setProperty(PROPERTY_TAB_PAGE_ID, toQString(rIdent)); - nPos = m_pTabWidget->insertTab(nPos, pPage, toQString(rLabel)); + nPos = m_pTabWidget->insertTab(nPos, pPage, vclToQtStringWithAccelerator(rLabel)); if (pIconName && !pIconName->isEmpty()) m_pTabWidget->setTabIcon(nPos, loadQPixmapIcon(*pIconName)); }); commit 615f83e40a22070a7761dc241b4601b275a1c739 Author: Michael Weghorn <[email protected]> AuthorDate: Tue Feb 3 00:53:37 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Tue Feb 3 10:53:56 2026 +0100 tdf#130857 qt weld: Support hyperlink 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. The dialog can e.g. be triggered like this: * start Writer * "Insert" -> "Hyperlink" This dialog was just converted into a more standard SfxTabDialog in commit 1c6eb5324d97dbd9df539a06f9b5128052bbd2a9 AuthorDate: Sun Dec 7 18:46:28 2025 +0000 CommitDate: Mon Feb 2 17:35:21 2026 +0100 tdf#147630 Transform Hyperlink dialog into a standard SfxTabDialog Change-Id: Ibe2ca47a3eb76a623f3e63bc1fbeae52f2ee036c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198577 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/vcl/qt5/QtInstanceBuilder.cxx b/vcl/qt5/QtInstanceBuilder.cxx index 75b7d643ccda..0ecd19403950 100644 --- a/vcl/qt5/QtInstanceBuilder.cxx +++ b/vcl/qt5/QtInstanceBuilder.cxx @@ -71,6 +71,7 @@ constexpr auto SUPPORTED_UI_FILES = frozen::make_unordered_set<std::u16string_vi u"cui/ui/fontfragment.ui", u"cui/ui/gallerytitledialog.ui", u"cui/ui/graphictestdlg.ui", + u"cui/ui/hyperlinkdlg.ui", u"cui/ui/hyperlinkmarkdialog.ui", u"cui/ui/imageviewer.ui", u"cui/ui/insertoleobject.ui", @@ -270,6 +271,10 @@ constexpr auto SUPPORTED_WITH_QT_PARENT = frozen::make_unordered_set<std::u16str u"cui/ui/cellalignment.ui", u"cui/ui/eventassignpage.ui", u"cui/ui/graphictestentry.ui", + u"cui/ui/hyperlinkdocpage.ui", + u"cui/ui/hyperlinkinternetpage.ui", + u"cui/ui/hyperlinkmailpage.ui", + u"cui/ui/hyperlinknewdocpage.ui", u"cui/ui/lineendstabpage.ui", u"cui/ui/linetabpage.ui", u"cui/ui/linestyletabpage.ui",
