Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qSlicerSubjectHierarchyExpandToDepthPlugin.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Copyright (c) EBATINCA, S.L., Las Palmas de Gran Canaria, Spain.
6 All Rights Reserved.
7
8 See COPYRIGHT.txt
9 or http://www.slicer.org/copyright/copyright.txt for details.
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 This file was originally developed by Csaba Pinter, EBATINCA, S.L.
18
19==============================================================================*/
20
21#ifndef __qSlicerSubjectHierarchyExpandToDepthPlugin_h
22#define __qSlicerSubjectHierarchyExpandToDepthPlugin_h
23
24// SubjectHierarchy Plugins includes
26
27#include "qSlicerSubjectHierarchyModuleWidgetsExport.h"
28
29class qSlicerSubjectHierarchyExpandToDepthPluginPrivate;
30
31class Q_SLICER_MODULE_SUBJECTHIERARCHY_WIDGETS_EXPORT qSlicerSubjectHierarchyExpandToDepthPlugin : public qSlicerSubjectHierarchyAbstractPlugin
32{
33public:
34 Q_OBJECT
35
36public:
40
41public:
46
49 void showContextMenuActionsForItem(vtkIdType itemID) override;
50
51public slots:
54
55protected:
56 QScopedPointer<qSlicerSubjectHierarchyExpandToDepthPluginPrivate> d_ptr;
57
58private:
61};
62
63#endif
qSlicerSubjectHierarchyAbstractPlugin(QObject *parent=nullptr)
QList< QAction * > sceneContextMenuActions() const override
QScopedPointer< qSlicerSubjectHierarchyExpandToDepthPluginPrivate > d_ptr
qSlicerSubjectHierarchyExpandToDepthPlugin(QObject *parent=nullptr)
void showContextMenuActionsForItem(vtkIdType itemID) override
virtual void expandToDepthFromContextMenu()
Expand tree to depth specified by the clicked context menu action.