[graphics/drawy/gsoc2026] src: Merge remote-tracking branch 'origin/master' into gsoc2026

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit cbe255f22deb2364e94995ac78697e2491279ab0 by Laurent Montel.
Committed on 21/07/2026 at 06:43.
Pushed by mlaurent into branch 'gsoc2026'.

Merge remote-tracking branch 'origin/master' into gsoc2026

M  +2    -0    src/gui/CMakeLists.txt
M  +2    -0    src/widgets/CMakeLists.txt
M  +1    -0    src/widgets/autotests/CMakeLists.txt
M  +9    -0    src/widgets/context/uicontext.cpp
M  +3    -0    src/widgets/context/uicontext.hpp

https://invent.kde.org/graphics/drawy/-/commit/cbe255f22deb2364e94995ac78697e2491279ab0

diff --cc src/gui/CMakeLists.txt
index c13c7b43,6cd11cf3..20008227
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@@ -144,10 -144,10 +144,12 @@@ target_sources
          customelements/customelementsmanager.cpp
          customelements/customelement.hpp
          customelements/customelement.cpp
 +        common/utils/spellcheckhighlighter.cpp
 +        common/utils/spellcheckhighlighter.hpp
          customelements/customelementsutils.hpp
          customelements/customelementsutils.cpp
+         customelements/customelementsmodel.hpp
+         customelements/customelementsmodel.cpp
  )
  
  ecm_qt_declare_logging_category(libdrawygui HEADER drawy_gui_debug.h IDENTIFIER DRAWY_GUI_LOG
diff --cc src/widgets/context/uicontext.cpp
index 266446bd,75f88ff4..1d4453a4
--- a/src/widgets/context/uicontext.cpp
+++ b/src/widgets/context/uicontext.cpp
@@@ -15,8 -14,7 +15,9 @@@
  #include "components/toolbar.hpp"
  #include "components/topleftwidgets.hpp"
  #include "components/topwidgets.hpp"
 +#include "coordinatetransformer.hpp"
+ #include "customelements/customelementsmanager.hpp"
 +#include "data-structures/cachegrid.hpp"
  #include "data-structures/quadtree.hpp"
  #include "drawy_debug.h"
  #include "drawyglobalconfig.h"
diff --cc src/widgets/context/uicontext.hpp
index c0327441,07481fde..0e534d58
--- a/src/widgets/context/uicontext.hpp
+++ b/src/widgets/context/uicontext.hpp
@@@ -17,7 -17,7 +17,8 @@@ class TopWidgets
  class TopLeftWidgets;
  class BottomLeftWidgets;
  class PluginFormManager;
 +class TextItem;
+ class CustomElementsManager;
  
  class UIContext : public QObject
  {
@@@ -37,9 -37,9 +38,10 @@@ public
      [[nodiscard]] KeybindManager *keybindManager() const;
      [[nodiscard]] ActionManager *actionManager() const;
      [[nodiscard]] PropertyManager *propertyManager() const;
+     [[nodiscard]] CustomElementsManager *customElementsManager() const;
  
      void showContextMenu() const;
 +    [[nodiscard]] bool showSpellCheckMenu(const std::shared_ptr<TextItem> &textItem, const QPoint &globalPos) const;
      void reset();
  
      void toolChanged(Tool &);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.