diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-02-03 21:33:29 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-02-10 14:16:20 +0100 |
commit | 570df33b75298b7c7c3e7afd233d36d0cdf7e0a3 (patch) | |
tree | c4998b9d544a6eb925af1db1fb07731b2efcbeae /include | |
parent | e71350e037dcd49f24c939395ab6436051382c83 (diff) |
devtools: handle object inspector with attached objects
This changes the object inspector tree view to create child nodes
on demand (when expanded) and attach specialized node objects to
the node, which are responsible to get the specific introspection
information for the current inspected UNO object.
Change-Id: Ib8431cc2a2c6d6d3ac7fd9db5bc61c9071d5e8f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110462
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/devtools/DevelopmentToolDockingWindow.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/svx/devtools/DevelopmentToolDockingWindow.hxx b/include/svx/devtools/DevelopmentToolDockingWindow.hxx index 8e24c2d0cd8d..1f10c0c2a672 100644 --- a/include/svx/devtools/DevelopmentToolDockingWindow.hxx +++ b/include/svx/devtools/DevelopmentToolDockingWindow.hxx @@ -40,9 +40,13 @@ private: DECL_LINK(LeftSideSelected, weld::TreeView&, void); DECL_LINK(SelectionToggled, weld::ToggleButton&, void); + DECL_LINK(ObjectInspectorExpandingHandler, const weld::TreeIter&, bool); + void inspectDocument(); void updateSelection(); + void clearObjectInspectorChildren(weld::TreeIter const& rParent); + public: DevelopmentToolDockingWindow(SfxBindings* pBindings, SfxChildWindow* pChildWindow, vcl::Window* pParent); |