add drop target support to welded widget

Desktop / LibreOffice - Caolán McNamara [redhat.com] - 15 March 2019 08:57 EDT

refactor the mega-widget dnd drop target to be reused at mini-widget level

and weld SwInsertBookmarkDlg

Change-Id: I3f36e1cd902ecf166e369d0a05902d3df2b4f791 Reviewed-on: https://gerrit.libreoffice.org/69274

8bddb3c77048 add drop target support to welded widget
include/vcl/weld.hxx | 10 ++
sw/inc/swabstdlg.hxx | 2 +-
sw/source/ui/dialog/swdlgfact.cxx | 8 +-
sw/source/ui/dialog/swdlgfact.hxx | 2 +-
sw/source/ui/misc/bookmark.cxx | 273 ++++++++++++++-----------------
sw/source/uibase/inc/bookmark.hxx | 62 ++++---
sw/source/uibase/inc/condedit.hxx | 35 ++++
sw/source/uibase/shells/textsh1.cxx | 2 +-
sw/source/uibase/utlui/condedit.cxx | 61 +++++++
sw/uiconfig/swriter/ui/insertbookmark.ui | 201 +++++++++++++++++------
vcl/inc/unx/gtk/gtkframe.hxx | 7 -
vcl/inc/unx/gtk/gtkinst.hxx | 18 +-
vcl/source/app/salvtables.cxx | 5 +
vcl/unx/gtk3/gtk3gtkframe.cxx | 65 +++++---
vcl/unx/gtk3/gtk3gtkinst.cxx | 59 ++++++-
15 files changed, 545 insertions(+), 265 deletions(-)

Upstream: cgit.freedesktop.org


  • Share