Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
QmitkDataNodeHideAllAction.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkDataNodeHideAllAction_h
14 #define QmitkDataNodeHideAllAction_h
15 
17 
19 
20 // qt
21 #include <QAction>
22 
23 namespace HideAllAction
24 {
25  MITK_QT_APP void Run(const QList<mitk::DataNode::Pointer>& selectedNodes,
26  mitk::BaseRenderer* baseRenderer = nullptr);
27 }
28 
30 {
31  Q_OBJECT
32 
33 public:
34 
36  QmitkDataNodeHideAllAction(QWidget* parent, berry::IWorkbenchPartSite* workbenchPartSite);
37 
38 private Q_SLOTS:
39 
40  void OnActionTriggered(bool);
41 
42 protected:
43 
44  void InitializeAction() override;
45 
46 };
47 
48 #endif
void InitializeAction() override
QmitkDataNodeHideAllAction(QWidget *parent, berry::IWorkbenchPartSite::Pointer workbenchPartSite)
QmitkDataNodeHideAllAction(QWidget *parent, berry::IWorkbenchPartSite *workbenchPartSite)
Implements transparent reference counting.
MITK_QT_APP void Run(const QList< mitk::DataNode::Pointer > &selectedNodes, mitk::BaseRenderer *baseRenderer=nullptr)