Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / include / sfx2 / devtools / ObjectInspectorWidgets.hxx
blob9c719d2aabefd474bb25989146f48e9dcd72c06f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 */
11 #pragma once
13 #include <vcl/weld.hxx>
15 struct ObjectInspectorWidgets
17 ObjectInspectorWidgets(const std::unique_ptr<weld::Builder>& rxBuilder)
18 : mpClassNameLabel(rxBuilder->weld_label("class_name_value_id"))
19 , mpInterfacesTreeView(rxBuilder->weld_tree_view("interfaces_treeview_id"))
20 , mpServicesTreeView(rxBuilder->weld_tree_view("services_treeview_id"))
21 , mpPropertiesTreeView(rxBuilder->weld_tree_view("properties_treeview_id"))
22 , mpMethodsTreeView(rxBuilder->weld_tree_view("methods_treeview_id"))
23 , mpToolbar(rxBuilder->weld_toolbar("object_inspector_toolbar"))
24 , mpNotebook(rxBuilder->weld_notebook("object_inspector_notebookbar"))
25 , mpTextView(rxBuilder->weld_text_view("object_inspector_text_view"))
26 , mpPaned(rxBuilder->weld_paned("object_inspector_paned"))
30 ~ObjectInspectorWidgets()
32 // dispose welded objects
33 mpClassNameLabel.reset();
34 mpInterfacesTreeView.reset();
35 mpServicesTreeView.reset();
36 mpPropertiesTreeView.reset();
37 mpMethodsTreeView.reset();
38 mpToolbar.reset();
39 mpNotebook.reset();
40 mpTextView.reset();
41 mpPaned.reset();
44 std::unique_ptr<weld::Label> mpClassNameLabel;
45 std::unique_ptr<weld::TreeView> mpInterfacesTreeView;
46 std::unique_ptr<weld::TreeView> mpServicesTreeView;
47 std::unique_ptr<weld::TreeView> mpPropertiesTreeView;
48 std::unique_ptr<weld::TreeView> mpMethodsTreeView;
49 std::unique_ptr<weld::Toolbar> mpToolbar;
50 std::unique_ptr<weld::Notebook> mpNotebook;
51 std::unique_ptr<weld::TextView> mpTextView;
52 std::unique_ptr<weld::Paned> mpPaned;
55 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */