tdf#130857 qt weld: Support Callout dialog
This means that native Qt widgets are used for this 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 Draw
* make sure the "Text" toolbar is enabled in "View" -> "Toolbars" -> "Text"
* in that "Text" toolbar, select the "Callouts" shape and insert it into the document
* right-click on the newly inserted shape to open the context menu
* activate the "Position and Size" menu entry
Closing the dialog currently triggers an assert,
but this is unrelated to this change and e.g.
also seen when using the gen vcl plugin and will
be addressed separately in an upcoming commit:
soffice.bin: /home/michi/development/git/libreoffice/include/vcl/vclptr.hxx:134: VclPtr<SfxAbstractTabDialog>::~VclPtr() [reference_type = SfxAbstractTabDialog]: Assertion `(!m_rInnerRef.get() || m_rInnerRef->isDisposed() || m_rInnerRef->getRefCount() > 1) && "someone forgot to call dispose()"' failed.
Change-Id: I7ba1020dc045d95098ee45b1551f3e641141130b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211878
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
This commit is contained in:
@@ -70,6 +70,7 @@ constexpr auto SUPPORTED_UI_FILES = frozen::make_unordered_set<std::u16string_vi
|
||||
u"cui/ui/borderbackgrounddialog.ui",
|
||||
u"cui/ui/breaknumberoption.ui",
|
||||
u"cui/ui/bulletandposition.ui",
|
||||
u"cui/ui/calloutdialog.ui",
|
||||
u"cui/ui/certdialog.ui",
|
||||
u"cui/ui/comment.ui",
|
||||
u"cui/ui/databaselinkdialog.ui",
|
||||
@@ -437,6 +438,7 @@ constexpr auto SUPPORTED_WITH_QT_PARENT = frozen::make_unordered_set<std::u16str
|
||||
u"cui/ui/areatabpage.ui",
|
||||
u"cui/ui/asiantypography.ui",
|
||||
u"cui/ui/borderpage.ui",
|
||||
u"cui/ui/calloutpage.ui",
|
||||
u"cui/ui/cellalignment.ui",
|
||||
u"cui/ui/charnamepage.ui",
|
||||
u"cui/ui/colorpage.ui",
|
||||
|
||||
Reference in New Issue
Block a user