vcl/qt5/QtInstanceBuilder.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1948a1d1dca1a1f512012144b71fad2f08950931
Author:     Michael Weghorn <[email protected]>
AuthorDate: Fri Feb 27 00:21:27 2026 +0100
Commit:     Michael Weghorn <[email protected]>
CommitDate: Sat Feb 28 00:56:02 2026 +0100

    tdf#130857 qt weld: Support sc "Protect 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.
    
    The dialog using the UI file can be triggered like this:
    
    * start Calc
    * right-click on the sheet name ("Sheet 1") at the
      bottom tab bar to open the context menu
    * activate the "Protect Sheet..." menu entry
    
    Change-Id: Icdcf09a9428f880c6ecf2a09b70003c7e7d67dae
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200550
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <[email protected]>

diff --git a/vcl/qt5/QtInstanceBuilder.cxx b/vcl/qt5/QtInstanceBuilder.cxx
index 700d298267d2..df53511b8b97 100644
--- a/vcl/qt5/QtInstanceBuilder.cxx
+++ b/vcl/qt5/QtInstanceBuilder.cxx
@@ -167,6 +167,7 @@ constexpr auto SUPPORTED_UI_FILES = 
frozen::make_unordered_set<std::u16string_vi
     u"modules/scalc/ui/optimalcolwidthdialog.ui",
     u"modules/scalc/ui/optimalrowheightdialog.ui",
     u"modules/scalc/ui/pastespecial.ui",
+    u"modules/scalc/ui/protectsheetdlg.ui",
     u"modules/scalc/ui/rowheightdialog.ui",
     u"modules/scalc/ui/scenariodialog.ui",
     u"modules/scalc/ui/selectrange.ui",

Reply via email to