include/sfx2/devtools/DevelopmentToolDockingWindow.hxx | 4 include/sfx2/devtools/ObjectInspectorTreeHandler.hxx | 5 include/sfx2/devtools/ObjectInspectorWidgets.hxx | 6 sfx2/source/devtools/ObjectInspectorTreeHandler.cxx | 24 sfx2/uiconfig/ui/developmenttool.ui | 657 ++++++++--------- 5 files changed, 383 insertions(+), 313 deletions(-)
New commits: commit 2b9cf977810193b642761328ec15ec78ce245016 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon Mar 15 16:16:05 2021 +0900 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Tue Mar 16 03:41:39 2021 +0100 devtools: add a text view to show the value of selected property Sometimes the property value in textual form can take a lot of space, which can't be shown completely in the tree view. To solve this problem, this change adds a text view at the bottom of the tree view, that shows the complete value of currently selected property. The text view can be expanded if necessary, but to not require constant changing of the pane, the position of the text view is always reset to 90% of the total height. Change-Id: I209ee29c7b60ecaa15227cc4966f19a063a7dc0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112548 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx b/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx index 656e46fedada..1c4826f975f6 100644 --- a/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx +++ b/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx @@ -62,9 +62,9 @@ public: virtual ~DevelopmentToolDockingWindow() override; - virtual void dispose() override; + void dispose() override; - virtual void ToggleFloatingMode() override; + void ToggleFloatingMode() override; // Inspect the input object in the object inspector void introspect(css::uno::Reference<css::uno::XInterface> const& xInterface); diff --git a/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx b/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx index 2cfb572eb3a2..4fd340887855 100644 --- a/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx +++ b/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx @@ -42,6 +42,9 @@ private: // just the current context css::uno::Reference<css::uno::XComponentContext> mxContext; + // should the paned size be reset to default on resize + bool mbPanedResetSize; + static void clearObjectInspectorChildren(std::unique_ptr<weld::TreeView>& pTreeView, weld::TreeIter const& rParent); static void handleExpanding(std::unique_ptr<weld::TreeView>& pTreeView, @@ -85,6 +88,8 @@ public: DECL_LINK(NotebookEnterPage, const OString&, void); DECL_LINK(NotebookLeavePage, const OString&, bool); + DECL_LINK(PanedSizeChange, const Size&, void); + void introspect(css::uno::Reference<css::uno::XInterface> const& xInterface); void dispose(); diff --git a/include/sfx2/devtools/ObjectInspectorWidgets.hxx b/include/sfx2/devtools/ObjectInspectorWidgets.hxx index 6d7bf8cf9e9f..6481d786a222 100644 --- a/include/sfx2/devtools/ObjectInspectorWidgets.hxx +++ b/include/sfx2/devtools/ObjectInspectorWidgets.hxx @@ -22,6 +22,8 @@ struct ObjectInspectorWidgets , mpMethodsTreeView(rxBuilder->weld_tree_view("methods_treeview_id")) , mpToolbar(rxBuilder->weld_toolbar("object_inspector_toolbar")) , mpNotebook(rxBuilder->weld_notebook("object_inspector_notebookbar")) + , mpTextView(rxBuilder->weld_text_view("object_inspector_text_view")) + , mpPaned(rxBuilder->weld_paned("object_inspector_paned")) { } @@ -35,6 +37,8 @@ struct ObjectInspectorWidgets mpMethodsTreeView.reset(); mpToolbar.reset(); mpNotebook.reset(); + mpTextView.reset(); + mpPaned.reset(); } std::unique_ptr<weld::Label> mpClassNameLabel; @@ -44,6 +48,8 @@ struct ObjectInspectorWidgets std::unique_ptr<weld::TreeView> mpMethodsTreeView; std::unique_ptr<weld::Toolbar> mpToolbar; std::unique_ptr<weld::Notebook> mpNotebook; + std::unique_ptr<weld::TextView> mpTextView; + std::unique_ptr<weld::Paned> mpPaned; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx index b7f1391ff17f..d5a9c9b990cf 100644 --- a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx +++ b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx @@ -780,6 +780,7 @@ ObjectInspectorTreeHandler::ObjectInspectorTreeHandler( std::unique_ptr<ObjectInspectorWidgets>& pObjectInspectorWidgets) : mpObjectInspectorWidgets(pObjectInspectorWidgets) , mxContext(comphelper::getProcessComponentContext()) + , mbPanedResetSize(true) { mpObjectInspectorWidgets->mpInterfacesTreeView->connect_expanding( LINK(this, ObjectInspectorTreeHandler, ExpandingHandlerInterfaces)); @@ -812,10 +813,15 @@ ObjectInspectorTreeHandler::ObjectInspectorTreeHandler( mpObjectInspectorWidgets->mpToolbar->set_item_sensitive("inspect", false); mpObjectInspectorWidgets->mpToolbar->set_item_sensitive("back", false); + mpObjectInspectorWidgets->mpTextView->hide(); + mpObjectInspectorWidgets->mpNotebook->connect_leave_page( LINK(this, ObjectInspectorTreeHandler, NotebookLeavePage)); mpObjectInspectorWidgets->mpNotebook->connect_enter_page( LINK(this, ObjectInspectorTreeHandler, NotebookEnterPage)); + + mpObjectInspectorWidgets->mpPaned->connect_size_allocate( + LINK(this, ObjectInspectorTreeHandler, PanedSizeChange)); } void ObjectInspectorTreeHandler::handleExpanding(std::unique_ptr<weld::TreeView>& pTreeView, @@ -860,7 +866,7 @@ IMPL_LINK(ObjectInspectorTreeHandler, ExpandingHandlerMethods, weld::TreeIter co IMPL_LINK(ObjectInspectorTreeHandler, SelectionChanged, weld::TreeView&, rTreeView, void) { bool bHaveNodeWithObject = false; - + mpObjectInspectorWidgets->mpTextView->set_text(""); if (mpObjectInspectorWidgets->mpPropertiesTreeView.get() == &rTreeView) { auto* pNode = getSelectedNode(rTreeView); @@ -869,6 +875,7 @@ IMPL_LINK(ObjectInspectorTreeHandler, SelectionChanged, weld::TreeView&, rTreeVi uno::Any aAny = pBasicValueNode->getAny(); uno::Reference<uno::XInterface> xInterface(aAny, uno::UNO_QUERY); bHaveNodeWithObject = xInterface.is(); + mpObjectInspectorWidgets->mpTextView->set_text(AnyToString(aAny, mxContext)); } } @@ -929,6 +936,8 @@ IMPL_LINK(ObjectInspectorTreeHandler, ToolbarButtonClicked, const OString&, rSel IMPL_LINK(ObjectInspectorTreeHandler, NotebookEnterPage, const OString&, rPageId, void) { + mpObjectInspectorWidgets->mpTextView->hide(); + uno::Any aAny = maInspectionStack.back(); if (aAny.hasValue()) { @@ -949,10 +958,12 @@ IMPL_LINK(ObjectInspectorTreeHandler, NotebookEnterPage, const OString&, rPageId } else if (rPageId == "object_inspector_properties_tab") { + mbPanedResetSize = true; mpObjectInspectorWidgets->mpPropertiesTreeView->freeze(); clearAll(mpObjectInspectorWidgets->mpPropertiesTreeView); appendProperties(xInterface); mpObjectInspectorWidgets->mpPropertiesTreeView->thaw(); + mpObjectInspectorWidgets->mpTextView->show(); } else if (rPageId == "object_inspector_methods_tab") { @@ -993,6 +1004,17 @@ IMPL_LINK(ObjectInspectorTreeHandler, NotebookLeavePage, const OString&, rPageId return true; } +IMPL_LINK(ObjectInspectorTreeHandler, PanedSizeChange, const Size&, rSize, void) +{ + if (mbPanedResetSize) + { + // Set position at 90% of the height + tools::Long nHeight = rSize.Height(); + mpObjectInspectorWidgets->mpPaned->set_position(nHeight * 0.9); + mbPanedResetSize = false; + } +} + void ObjectInspectorTreeHandler::clearObjectInspectorChildren( std::unique_ptr<weld::TreeView>& pTreeView, weld::TreeIter const& rParent) { diff --git a/sfx2/uiconfig/ui/developmenttool.ui b/sfx2/uiconfig/ui/developmenttool.ui index 40223847ddd4..94f96dcdd334 100644 --- a/sfx2/uiconfig/ui/developmenttool.ui +++ b/sfx2/uiconfig/ui/developmenttool.ui @@ -2,6 +2,7 @@ <!-- Generated with glade 3.38.2 --> <interface domain="svx"> <requires lib="gtk+" version="3.20"/> + <object class="GtkTextBuffer"/> <object class="GtkTreeStore" id="liststore1"> <columns> <!-- column-name text --> @@ -146,316 +147,6 @@ <property name="margin-bottom">6</property> <property name="hexpand">True</property> <property name="vexpand">True</property> - <child> - <object class="GtkNotebook" id="object_inspector_notebookbar"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - <child> - <object class="GtkScrolledWindow"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - <property name="shadow-type">in</property> - <child> - <object class="GtkTreeView" id="interfaces_treeview_id"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">True</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - <property name="model">object_inspector_interfaces_liststore</property> - <property name="search-column">0</property> - <property name="enable-tree-lines">True</property> - <child internal-child="selection"> - <object class="GtkTreeSelection"/> - </child> - <child> - <object class="GtkTreeViewColumn" id="interfaces_treeviewcolumn1"> - <property name="resizable">True</property> - <property name="title" translatable="yes" context="developmenttool|name">Name</property> - <property name="clickable">True</property> - <property name="sort-indicator">True</property> - <property name="sort-column-id">0</property> - <child> - <object class="GtkCellRendererText" id="obj_insp_cellrenderertext4"/> - <attributes> - <attribute name="text">0</attribute> - </attributes> - </child> - </object> - </child> - </object> - </child> - </object> - </child> - <child type="tab"> - <object class="GtkLabel" id="object_inspector_interfaces_tab"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="label" translatable="yes" context="developmenttool|interfaces">Interfaces</property> - </object> - <packing> - <property name="tab-fill">False</property> - </packing> - </child> - <child> - <object class="GtkScrolledWindow"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - <property name="shadow-type">in</property> - <child> - <object class="GtkTreeView" id="services_treeview_id"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">True</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - <property name="model">object_inspector_services_liststore</property> - <property name="search-column">0</property> - <property name="enable-tree-lines">True</property> - <child internal-child="selection"> - <object class="GtkTreeSelection"/> - </child> - <child> - <object class="GtkTreeViewColumn" id="services_treeviewcolumn1"> - <property name="resizable">True</property> - <property name="title" translatable="yes" context="developmenttool|name">Name</property> - <property name="clickable">True</property> - <property name="sort-indicator">True</property> - <property name="sort-column-id">0</property> - <child> - <object class="GtkCellRendererText" id="obj_insp_cellrenderertext7"/> - <attributes> - <attribute name="text">0</attribute> - </attributes> - </child> - </object> - </child> - </object> - </child> - </object> - <packing> - <property name="position">1</property> - </packing> - </child> - <child type="tab"> - <object class="GtkLabel" id="object_inspector_services_tab"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="label" translatable="yes" context="developmenttool|services">Services</property> - </object> - <packing> - <property name="position">1</property> - <property name="tab-fill">False</property> - </packing> - </child> - <child> - <object class="GtkScrolledWindow"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - <property name="shadow-type">in</property> - <child> - <object class="GtkTreeView" id="properties_treeview_id"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">True</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - <property name="model">object_inspector_properties_liststore</property> - <property name="search-column">0</property> - <property name="enable-tree-lines">True</property> - <child internal-child="selection"> - <object class="GtkTreeSelection"/> - </child> - <child> - <object class="GtkTreeViewColumn" id="properties_treeviewcolumn1"> - <property name="resizable">True</property> - <property name="title" translatable="yes" context="developmenttool|object">Object</property> - <property name="clickable">True</property> - <property name="sort-indicator">True</property> - <property name="sort-column-id">0</property> - <child> - <object class="GtkCellRendererText" id="obj_insp_cellrenderertext1"/> - <attributes> - <attribute name="text">0</attribute> - </attributes> - </child> - </object> - </child> - <child> - <object class="GtkTreeViewColumn" id="properties_treeviewcolumn2"> - <property name="resizable">True</property> - <property name="title" translatable="yes" context="developmenttool|value">Value</property> - <property name="clickable">True</property> - <property name="sort-indicator">True</property> - <property name="sort-column-id">1</property> - <child> - <object class="GtkCellRendererText" id="obj_insp_cellrenderertext2"/> - <attributes> - <attribute name="text">1</attribute> - </attributes> - </child> - </object> - </child> - <child> - <object class="GtkTreeViewColumn" id="properties_treeviewcolumn3"> - <property name="resizable">True</property> - <property name="title" translatable="yes" context="developmenttool|type">Type</property> - <property name="clickable">True</property> - <property name="sort-indicator">True</property> - <property name="sort-column-id">2</property> - <child> - <object class="GtkCellRendererText" id="obj_insp_cellrenderertext3"/> - <attributes> - <attribute name="text">2</attribute> - </attributes> - </child> - </object> - </child> - <child> - <object class="GtkTreeViewColumn" id="properties_treeviewcolumn4"> - <property name="resizable">True</property> - <property name="title" translatable="yes" context="developmenttool|info">Info</property> - <property name="clickable">True</property> - <property name="sort-indicator">True</property> - <property name="sort-column-id">3</property> - <child> - <object class="GtkCellRendererText" id="obj_insp_cellrenderertext5"/> - <attributes> - <attribute name="text">3</attribute> - </attributes> - </child> - </object> - </child> - </object> - </child> - </object> - <packing> - <property name="position">2</property> - </packing> - </child> - <child type="tab"> - <object class="GtkLabel" id="object_inspector_properties_tab"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="label" translatable="yes" context="developmenttool|properties">Properties</property> - </object> - <packing> - <property name="position">2</property> - <property name="tab-fill">False</property> - </packing> - </child> - <child> - <object class="GtkScrolledWindow"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - <property name="shadow-type">in</property> - <child> - <object class="GtkTreeView" id="methods_treeview_id"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">True</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - <property name="model">object_inspector_methods_liststore</property> - <property name="search-column">0</property> - <property name="enable-tree-lines">True</property> - <child internal-child="selection"> - <object class="GtkTreeSelection"/> - </child> - <child> - <object class="GtkTreeViewColumn" id="methods_treeviewcolumn1"> - <property name="resizable">True</property> - <property name="title" translatable="yes" context="developmenttool|method">Method</property> - <property name="clickable">True</property> - <property name="sort-indicator">True</property> - <property name="sort-column-id">0</property> - <child> - <object class="GtkCellRendererText" id="obj_insp_cellrenderertext10"/> - <attributes> - <attribute name="text">0</attribute> - </attributes> - </child> - </object> - </child> - <child> - <object class="GtkTreeViewColumn" id="methods_treeviewcolumn2"> - <property name="resizable">True</property> - <property name="title" translatable="yes" context="developmenttool|returntype">Return Type</property> - <property name="clickable">True</property> - <property name="sort-indicator">True</property> - <property name="sort-column-id">1</property> - <child> - <object class="GtkCellRendererText" id="obj_insp_cellrenderertext11"/> - <attributes> - <attribute name="text">1</attribute> - </attributes> - </child> - </object> - </child> - <child> - <object class="GtkTreeViewColumn" id="methods_treeviewcolumn3"> - <property name="resizable">True</property> - <property name="title" translatable="yes" context="developmenttool|parameters">Parameters</property> - <property name="clickable">True</property> - <property name="sort-indicator">True</property> - <property name="sort-column-id">2</property> - <child> - <object class="GtkCellRendererText" id="obj_insp_cellrenderertext12"/> - <attributes> - <attribute name="text">2</attribute> - </attributes> - </child> - </object> - </child> - <child> - <object class="GtkTreeViewColumn" id="methods_treeviewcolumn4"> - <property name="resizable">True</property> - <property name="title" translatable="yes" context="developmenttool|implementation_class">Implementation Class</property> - <property name="clickable">True</property> - <property name="sort-indicator">True</property> - <property name="sort-column-id">3</property> - <child> - <object class="GtkCellRendererText" id="obj_insp_cellrenderertext13"/> - <attributes> - <attribute name="text">3</attribute> - </attributes> - </child> - </object> - </child> - </object> - </child> - </object> - <packing> - <property name="position">3</property> - </packing> - </child> - <child type="tab"> - <object class="GtkLabel" id="object_inspector_methods_tab"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="label" translatable="yes" context="developmenttool|methods">Methods</property> - </object> - <packing> - <property name="position">3</property> - <property name="tab-fill">False</property> - </packing> - </child> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">1</property> - </packing> - </child> <child> <object class="GtkBox"> <property name="visible">True</property> @@ -558,6 +249,352 @@ <property name="top-attach">0</property> </packing> </child> + <child> + <object class="GtkPaned" id="object_inspector_paned"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkNotebook" id="object_inspector_notebookbar"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <child> + <object class="GtkScrolledWindow"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow-type">in</property> + <child> + <object class="GtkTreeView" id="interfaces_treeview_id"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="model">object_inspector_interfaces_liststore</property> + <property name="search-column">0</property> + <property name="enable-tree-lines">True</property> + <child internal-child="selection"> + <object class="GtkTreeSelection"/> + </child> + <child> + <object class="GtkTreeViewColumn" id="interfaces_treeviewcolumn1"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|name">Name</property> + <property name="clickable">True</property> + <property name="sort-indicator">True</property> + <property name="sort-column-id">0</property> + <child> + <object class="GtkCellRendererText" id="obj_insp_cellrenderertext4"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + <child type="tab"> + <object class="GtkLabel" id="object_inspector_interfaces_tab"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="developmenttool|interfaces">Interfaces</property> + </object> + <packing> + <property name="tab-fill">False</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow-type">in</property> + <child> + <object class="GtkTreeView" id="services_treeview_id"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="model">object_inspector_services_liststore</property> + <property name="search-column">0</property> + <property name="enable-tree-lines">True</property> + <child internal-child="selection"> + <object class="GtkTreeSelection"/> + </child> + <child> + <object class="GtkTreeViewColumn" id="services_treeviewcolumn1"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|name">Name</property> + <property name="clickable">True</property> + <property name="sort-indicator">True</property> + <property name="sort-column-id">0</property> + <child> + <object class="GtkCellRendererText" id="obj_insp_cellrenderertext7"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="position">1</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="object_inspector_services_tab"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="developmenttool|services">Services</property> + </object> + <packing> + <property name="position">1</property> + <property name="tab-fill">False</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow-type">in</property> + <child> + <object class="GtkTreeView" id="properties_treeview_id"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="model">object_inspector_properties_liststore</property> + <property name="search-column">0</property> + <property name="enable-tree-lines">True</property> + <child internal-child="selection"> + <object class="GtkTreeSelection"/> + </child> + <child> + <object class="GtkTreeViewColumn" id="properties_treeviewcolumn1"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|object">Object</property> + <property name="clickable">True</property> + <property name="sort-indicator">True</property> + <property name="sort-column-id">0</property> + <child> + <object class="GtkCellRendererText" id="obj_insp_cellrenderertext1"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + </child> + <child> + <object class="GtkTreeViewColumn" id="properties_treeviewcolumn2"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|value">Value</property> + <property name="clickable">True</property> + <property name="sort-indicator">True</property> + <property name="sort-column-id">1</property> + <child> + <object class="GtkCellRendererText" id="obj_insp_cellrenderertext2"/> + <attributes> + <attribute name="text">1</attribute> + </attributes> + </child> + </object> + </child> + <child> + <object class="GtkTreeViewColumn" id="properties_treeviewcolumn3"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|type">Type</property> + <property name="clickable">True</property> + <property name="sort-indicator">True</property> + <property name="sort-column-id">2</property> + <child> + <object class="GtkCellRendererText" id="obj_insp_cellrenderertext3"/> + <attributes> + <attribute name="text">2</attribute> + </attributes> + </child> + </object> + </child> + <child> + <object class="GtkTreeViewColumn" id="properties_treeviewcolumn4"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|info">Info</property> + <property name="clickable">True</property> + <property name="sort-indicator">True</property> + <property name="sort-column-id">3</property> + <child> + <object class="GtkCellRendererText" id="obj_insp_cellrenderertext5"/> + <attributes> + <attribute name="text">3</attribute> + </attributes> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="position">2</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="object_inspector_properties_tab"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="developmenttool|properties">Properties</property> + </object> + <packing> + <property name="position">2</property> + <property name="tab-fill">False</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow-type">in</property> + <child> + <object class="GtkTreeView" id="methods_treeview_id"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="model">object_inspector_methods_liststore</property> + <property name="search-column">0</property> + <property name="enable-tree-lines">True</property> + <child internal-child="selection"> + <object class="GtkTreeSelection"/> + </child> + <child> + <object class="GtkTreeViewColumn" id="methods_treeviewcolumn1"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|method">Method</property> + <property name="clickable">True</property> + <property name="sort-indicator">True</property> + <property name="sort-column-id">0</property> + <child> + <object class="GtkCellRendererText" id="obj_insp_cellrenderertext10"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + </child> + <child> + <object class="GtkTreeViewColumn" id="methods_treeviewcolumn2"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|returntype">Return Type</property> + <property name="clickable">True</property> + <property name="sort-indicator">True</property> + <property name="sort-column-id">1</property> + <child> + <object class="GtkCellRendererText" id="obj_insp_cellrenderertext11"/> + <attributes> + <attribute name="text">1</attribute> + </attributes> + </child> + </object> + </child> + <child> + <object class="GtkTreeViewColumn" id="methods_treeviewcolumn3"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|parameters">Parameters</property> + <property name="clickable">True</property> + <property name="sort-indicator">True</property> + <property name="sort-column-id">2</property> + <child> + <object class="GtkCellRendererText" id="obj_insp_cellrenderertext12"/> + <attributes> + <attribute name="text">2</attribute> + </attributes> + </child> + </object> + </child> + <child> + <object class="GtkTreeViewColumn" id="methods_treeviewcolumn4"> + <property name="resizable">True</property> + <property name="title" translatable="yes" context="developmenttool|implementation_class">Implementation Class</property> + <property name="clickable">True</property> + <property name="sort-indicator">True</property> + <property name="sort-column-id">3</property> + <child> + <object class="GtkCellRendererText" id="obj_insp_cellrenderertext13"/> + <attributes> + <attribute name="text">3</attribute> + </attributes> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="position">3</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="object_inspector_methods_tab"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="developmenttool|methods">Methods</property> + </object> + <packing> + <property name="position">3</property> + <property name="tab-fill">False</property> + </packing> + </child> + </object> + <packing> + <property name="resize">False</property> + <property name="shrink">True</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="shadow-type">in</property> + <child> + <object class="GtkTextView" id="object_inspector_text_view"> + <property name="height-request">100</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="editable">False</property> + <property name="wrap-mode">word</property> + <property name="cursor-visible">False</property> + <property name="accepts-tab">False</property> + <property name="monospace">True</property> + </object> + </child> + </object> + <packing> + <property name="resize">True</property> + <property name="shrink">True</property> + </packing> + </child> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">1</property> + </packing> + </child> </object> <packing> <property name="resize">True</property> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits