summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-02-23 22:54:06 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-02-26 08:05:21 +0100
commitc68631373e491936260f2e3b4abc9826d634e410 (patch)
treedbe1218276515ee694d2ebc558d97de10310020b /include
parent36554a53bd5064cf7cc93fcbbcc7a668f58d4d1d (diff)
devtools: add popup menu for properties to inspect objects
With this change it is possible to inspect an object that is listed in the properties (instead of expanding the tree view node). Change-Id: I8b2229af650b46064c82bdd3fe93192d352d32e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111530 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/devtools/ObjectInspectorTreeHandler.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx b/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx
index 9bb27e4a72cc..7008a398df5a 100644
--- a/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx
+++ b/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx
@@ -12,6 +12,8 @@
#include <sfx2/dllapi.h>
#include <vcl/weld.hxx>
+#include <vcl/commandevent.hxx>
+#include <vcl/svapp.hxx>
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/uno/Reference.hxx>
@@ -48,6 +50,7 @@ public:
DECL_LINK(ExpandingHandlerServices, const weld::TreeIter&, bool);
DECL_LINK(ExpandingHandlerProperties, const weld::TreeIter&, bool);
DECL_LINK(ExpandingHandlerMethods, const weld::TreeIter&, bool);
+ DECL_LINK(PopupMenuHandler, const CommandEvent&, bool);
void introspect(css::uno::Reference<css::uno::XInterface> const& xInterface);