/jurt/source/

vatico21 lorenzo04lovato@gmail.com 2024-11-13T17:12:58+00:00 4f08a15f3be9b39d0f1e83e6cffa47b62c183b69 Change-Id: I98f15800abf65bf3c69b473e8eb68b01838b2ed0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176556 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Change-Id: I98f15800abf65bf3c69b473e8eb68b01838b2ed0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176556
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
tdf#130857 qt weld: Add QtInstanceCheckButton 2024-10-02T20:11:19+00:00 Michael Weghorn m.weghorn@posteo.de 2024-10-02T15:36:21+00:00 cc7f535f1615f65ce276eb9e9d27b8a6b11aaa3a Add a QtInstanceCheckButton as the native Qt implementation for a weld::CheckButton. This uses a QCheckBox. Handle the "GtkCheckButton" object type from .ui files in QtBuilder. This will e.g. be needed for the "Insert" -> "Axes..." dialog seen in Calc after a chart has been inserted and double-clicked -- once further remaining aspects needed to be able to support that dialog has been implemented and it will be enabled in QtInstanceBuilder::IsUIFileSupported. The handling for the "inconsistent" state is mostly based on the the VCL implementation, see SalInstanceCheckButton::set_inconsistent etc. QtInstanceCheckButton::QtInstanceCheckButton::set_label_wrap remains unimplemented for now and triggers an assert, can be implemented when adding support for a dialog that actually makes use of it. Change-Id: I1e43ba25a23312534ee7cc0e650cd6e7aae20000 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174398 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Add a QtInstanceCheckButton as the native Qt
implementation for a weld::CheckButton.
This uses a QCheckBox.

Handle the "GtkCheckButton" object type from .ui
files in QtBuilder.

This will e.g. be needed for the "Insert" -> "Axes..."
dialog seen in Calc after a chart has been inserted
and double-clicked -- once further
remaining aspects needed to be able to support that dialog
has been implemented and it will be enabled
in QtInstanceBuilder::IsUIFileSupported.

The handling for the "inconsistent" state
is mostly based on the the VCL implementation,
see SalInstanceCheckButton::set_inconsistent etc.

QtInstanceCheckButton::QtInstanceCheckButton::set_label_wrap
remains unimplemented for now and triggers an assert,
can be implemented when adding support for a dialog
that actually makes use of it.

Change-Id: I1e43ba25a23312534ee7cc0e650cd6e7aae20000
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174398
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>