extensions/uiconfig/spropctrlr/ui/timefield.ui | 8 ++++---- vcl/qt5/QtInstanceBuilder.cxx | 1 + 2 files changed, 5 insertions(+), 4 deletions(-)
New commits: commit 66c9194a387789f24a19a7a2fcd4424fa37fb8cd Author: Michael Weghorn <[email protected]> AuthorDate: Thu Feb 26 00:10:38 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Sat Feb 28 00:54:39 2026 +0100 spropctrlr: Resave timefield.ui with glade 3.40 This UI file is used by the dialog that can be triggered like this: * start Writer * "Form" -> "More Fields" -> "Time Field" * click and drag mouse in the document to insert the form control * double-click on the inserted form control to open the properties dialog Change-Id: Ibe403f4ae2ccdfa534da0d8962fb4557d5b710ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200365 Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Jenkins diff --git a/extensions/uiconfig/spropctrlr/ui/timefield.ui b/extensions/uiconfig/spropctrlr/ui/timefield.ui index ce8e0b8d01f4..c0ea019e3b90 100644 --- a/extensions/uiconfig/spropctrlr/ui/timefield.ui +++ b/extensions/uiconfig/spropctrlr/ui/timefield.ui @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.22.1 --> +<!-- Generated with glade 3.40.0 --> <interface domain="pcr"> <requires lib="gtk+" version="3.24"/> <object class="GtkAdjustment" id="adjustment1"> <property name="upper">86400000</property> - <property name="step_increment">1000</property> - <property name="page_increment">60000</property> + <property name="step-increment">1000</property> + <property name="page-increment">60000</property> </object> <object class="GtkSpinButton" id="timefield"> <property name="visible">True</property> - <property name="can_focus">True</property> + <property name="can-focus">True</property> <property name="hexpand">True</property> <property name="truncate-multiline">True</property> <property name="adjustment">adjustment1</property> commit 0cb2066b8a090b8850add074cb56fedd12a870dc Author: Michael Weghorn <[email protected]> AuthorDate: Thu Feb 26 00:06:17 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Sat Feb 28 00:54:31 2026 +0100 tdf#130857 qt weld: Support "Properties: Date Field" dlg 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 * "Form" -> "More Fields" -> "Date Field" * click and drag mouse in the document to insert the form control * double-click on the inserted form control to open the properties dialog Previously, the top-level dialog was declared as supported but this UI file used in the dialog was not, resulting in an assert getting triggered when trying to start the dialog: soffice.bin: /home/michi/development/git/libreoffice/vcl/qt6/../qt5/QtInstanceContainer.cxx:27: auto QtInstanceContainer::move(weld::Widget *, weld::Container *)::(anonymous class)::operator()() const: Assertion `pQtInstanceWidget' failed. Change-Id: I32963c506b3ac05aca9be73ba03ec1cac9a393b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200364 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/vcl/qt5/QtInstanceBuilder.cxx b/vcl/qt5/QtInstanceBuilder.cxx index 6e5a63fb9548..ecde68fd6434 100644 --- a/vcl/qt5/QtInstanceBuilder.cxx +++ b/vcl/qt5/QtInstanceBuilder.cxx @@ -356,6 +356,7 @@ constexpr auto SUPPORTED_WITH_QT_PARENT = frozen::make_unordered_set<std::u16str u"modules/spropctrlr/ui/browserpage.ui", u"modules/spropctrlr/ui/colorlistbox.ui", u"modules/spropctrlr/ui/combobox.ui", + u"modules/spropctrlr/ui/datefield.ui", u"modules/spropctrlr/ui/formproperties.ui", u"modules/spropctrlr/ui/listbox.ui", u"modules/spropctrlr/ui/multiline.ui",
