sw/uiconfig/swriter/ui/stringinput.ui | 67 ++++++++++++++++------------------ vcl/qt5/QtInstanceBuilder.cxx | 1 2 files changed, 33 insertions(+), 35 deletions(-)
New commits: commit e704dac524edab8bae1e3f95cb2e07931df73ee8 Author: Michael Weghorn <[email protected]> AuthorDate: Sun Nov 23 02:38:04 2025 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Mon Nov 24 22:50:39 2025 +0100 sw: Resave stringinput.ui with glade 3.40 One way to trigger the dialog: * start Writer * insert table using "Table" -> "Insert Table" and confirm with OK * select all table cells * "Table" -> "AutoFormat Styles" * in the AutoFormat dialog, press the "Add" button Change-Id: I1feae0d04bd38adcc52d1a4f3792b839d4feec40 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194381 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/sw/uiconfig/swriter/ui/stringinput.ui b/sw/uiconfig/swriter/ui/stringinput.ui index d1eab503bbca..1e7981f96f64 100644 --- a/sw/uiconfig/swriter/ui/stringinput.ui +++ b/sw/uiconfig/swriter/ui/stringinput.ui @@ -1,31 +1,31 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.36.0 --> +<!-- Generated with glade 3.40.0 --> <interface domain="sw"> <requires lib="gtk+" version="3.24"/> <object class="GtkDialog" id="StringInputDialog"> - <property name="can_focus">False</property> - <property name="border_width">6</property> + <property name="can-focus">False</property> + <property name="border-width">6</property> <property name="modal">True</property> - <property name="default_width">0</property> - <property name="default_height">0</property> - <property name="type_hint">dialog</property> + <property name="default-width">0</property> + <property name="default-height">0</property> + <property name="type-hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="orientation">vertical</property> <property name="spacing">12</property> <child internal-child="action_area"> <object class="GtkButtonBox" id="dialog-action_area1"> - <property name="can_focus">False</property> - <property name="layout_style">end</property> + <property name="can-focus">False</property> + <property name="layout-style">end</property> <child> <object class="GtkButton" id="ok"> <property name="label" translatable="yes" context="stock">_OK</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="has_default">True</property> - <property name="receives_default">True</property> + <property name="can-focus">True</property> + <property name="can-default">True</property> + <property name="has-default">True</property> + <property name="receives-default">True</property> <property name="use-underline">True</property> </object> <packing> @@ -38,8 +38,8 @@ <object class="GtkButton" id="cancel"> <property name="label" translatable="yes" context="stock">_Cancel</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> <property name="use-underline">True</property> </object> <packing> @@ -52,44 +52,44 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="pack_type">end</property> + <property name="pack-type">end</property> <property name="position">0</property> </packing> </child> <child> - <!-- n-columns=1 n-rows=1 --> + <!-- n-columns=1 n-rows=2 --> <object class="GtkGrid" id="grid5"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="margin-start">5</property> <property name="margin-end">5</property> - <property name="margin_top">5</property> - <property name="margin_bottom">5</property> - <property name="row_spacing">6</property> - <property name="column_homogeneous">True</property> + <property name="margin-top">5</property> + <property name="margin-bottom">5</property> + <property name="row-spacing">6</property> + <property name="column-homogeneous">True</property> <child> <object class="GtkLabel" id="name"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="label" translatable="yes" context="stringinput|name">Name</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">edit</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">edit</property> <property name="xalign">0</property> <attributes> <attribute name="weight" value="bold"/> </attributes> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">0</property> + <property name="left-attach">0</property> + <property name="top-attach">0</property> </packing> </child> <child> <object class="GtkEntry" id="edit"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="activates_default">True</property> - <property name="width_chars">30</property> + <property name="can-focus">True</property> + <property name="activates-default">True</property> + <property name="width-chars">30</property> <property name="truncate-multiline">True</property> <child internal-child="accessible"> <object class="AtkObject" id="edit-atkobject"> @@ -98,8 +98,8 @@ </child> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">1</property> + <property name="left-attach">0</property> + <property name="top-attach">1</property> </packing> </child> </object> @@ -115,8 +115,5 @@ <action-widget response="-5">ok</action-widget> <action-widget response="-6">cancel</action-widget> </action-widgets> - <child type="titlebar"> - <placeholder/> - </child> </object> </interface> commit bb1c34956e56467b9b8dcff11420a34214d416aa Author: Michael Weghorn <[email protected]> AuthorDate: Sun Nov 23 02:27:56 2025 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Mon Nov 24 22:50:29 2025 +0100 tdf#130857 qt weld: Support sw "Insert Citation" 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 be triggered like this: * start Writer * "Insert" -> "Table of Contents and Index" -> "Citation" Change-Id: I96c7bcce088edc0c5ec044298aadfe2fa90935b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194380 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/vcl/qt5/QtInstanceBuilder.cxx b/vcl/qt5/QtInstanceBuilder.cxx index 117c545d4f6f..9cc9ae0d206e 100644 --- a/vcl/qt5/QtInstanceBuilder.cxx +++ b/vcl/qt5/QtInstanceBuilder.cxx @@ -167,6 +167,7 @@ bool QtInstanceBuilder::IsUIFileSupported(const OUString& rUIFile, const weld::W u"modules/smath/ui/spacingdialog.ui"_ustr, u"modules/spropctrlr/ui/taborder.ui"_ustr, u"modules/swriter/ui/authenticationsettingsdialog.ui"_ustr, + u"modules/swriter/ui/bibliographyentry.ui"_ustr, u"modules/swriter/ui/captiondialog.ui"_ustr, u"modules/swriter/ui/captionoptions.ui"_ustr, u"modules/swriter/ui/columndialog.ui"_ustr,
