/src/libreoffice/sfx2/source/devtools/ObjectInspectorWidgets.cxx
Line | Count | Source |
1 | | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
2 | | /* |
3 | | * This file is part of the LibreOffice project. |
4 | | * |
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/. |
8 | | * |
9 | | */ |
10 | | |
11 | | #include <sfx2/devtools/ObjectInspectorWidgets.hxx> |
12 | | |
13 | | ObjectInspectorWidgets::ObjectInspectorWidgets(const std::unique_ptr<weld::Builder>& rxBuilder) |
14 | 0 | : mpClassNameLabel(rxBuilder->weld_label(u"class_name_value_id"_ustr)) |
15 | 0 | , mpInterfacesTreeView(rxBuilder->weld_tree_view(u"interfaces_treeview_id"_ustr)) |
16 | 0 | , mpServicesTreeView(rxBuilder->weld_tree_view(u"services_treeview_id"_ustr)) |
17 | 0 | , mpPropertiesTreeView(rxBuilder->weld_tree_view(u"properties_treeview_id"_ustr)) |
18 | 0 | , mpMethodsTreeView(rxBuilder->weld_tree_view(u"methods_treeview_id"_ustr)) |
19 | 0 | , mpToolbar(rxBuilder->weld_toolbar(u"object_inspector_toolbar"_ustr)) |
20 | 0 | , mpNotebook(rxBuilder->weld_notebook(u"object_inspector_notebookbar"_ustr)) |
21 | 0 | , mpTextView(rxBuilder->weld_text_view(u"object_inspector_text_view"_ustr)) |
22 | 0 | , mpPaned(rxBuilder->weld_paned(u"object_inspector_paned"_ustr)) |
23 | 0 | { |
24 | 0 | } |
25 | | |
26 | | ObjectInspectorWidgets::~ObjectInspectorWidgets() |
27 | 0 | { |
28 | | // dispose welded objects |
29 | 0 | mpClassNameLabel.reset(); |
30 | 0 | mpInterfacesTreeView.reset(); |
31 | 0 | mpServicesTreeView.reset(); |
32 | 0 | mpPropertiesTreeView.reset(); |
33 | 0 | mpMethodsTreeView.reset(); |
34 | 0 | mpToolbar.reset(); |
35 | 0 | mpNotebook.reset(); |
36 | 0 | mpTextView.reset(); |
37 | 0 | mpPaned.reset(); |
38 | 0 | } |
39 | | |
40 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |