vcl/qt5/QtInstanceBuilder.cxx |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit 2974d7c2f64eb44278ed5b7aa485f2be3172e62c
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Fri Jul 18 10:12:02 2025 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Fri Jul 18 12:14:10 2025 +0200

    tdf#130857 qt weld: Support "Position and Size" 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:
    
    * create new Impress presentation
    * select the title frame
    * right-click to open context menu
    * select the "Position and Size..." context entry
    
    Change-Id: Id118fccdc8212b33ca6bb5c88f347d0920be0115
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188035
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/vcl/qt5/QtInstanceBuilder.cxx b/vcl/qt5/QtInstanceBuilder.cxx
index 241975ace387..6dfd49fc7ced 100644
--- a/vcl/qt5/QtInstanceBuilder.cxx
+++ b/vcl/qt5/QtInstanceBuilder.cxx
@@ -79,6 +79,7 @@ bool QtInstanceBuilder::IsUIFileSupported(const OUString& 
rUIFile, const weld::W
         u"cui/ui/optnewdictionarydialog.ui"_ustr,
         u"cui/ui/password.ui"_ustr,
         u"cui/ui/pastespecial.ui"_ustr,
+        u"cui/ui/positionsizedialog.ui"_ustr,
         u"cui/ui/querydeletedictionarydialog.ui"_ustr,
         u"cui/ui/qrcodegen.ui"_ustr,
         u"cui/ui/querydialog.ui"_ustr,
@@ -170,9 +171,10 @@ bool QtInstanceBuilder::IsUIFileSupported(const OUString& 
rUIFile, const weld::W
 
     // These UI files are only supported inside native Qt dialogs/widgets
     static std::unordered_set<OUString> aSupportedWithQtParent = {
-        u"cui/ui/appearance.ui"_ustr,      u"cui/ui/textattrtabpage.ui"_ustr,
-        u"cui/ui/textanimtabpage.ui"_ustr, 
u"cui/ui/textcolumnstabpage.ui"_ustr,
-        u"svt/ui/datewindow.ui"_ustr,
+        u"cui/ui/appearance.ui"_ustr,         u"cui/ui/possizetabpage.ui"_ustr,
+        u"cui/ui/rotationtabpage.ui"_ustr,    
u"cui/ui/slantcornertabpage.ui"_ustr,
+        u"cui/ui/textattrtabpage.ui"_ustr,    
u"cui/ui/textanimtabpage.ui"_ustr,
+        u"cui/ui/textcolumnstabpage.ui"_ustr, u"svt/ui/datewindow.ui"_ustr,
     };
 
     if (aSupportedUIFiles.contains(rUIFile))

Reply via email to